AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
DBCluster.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/ActivityStreamMode.h>
13#include <aws/rds/model/ActivityStreamStatus.h>
14#include <aws/rds/model/CertificateDetails.h>
15#include <aws/rds/model/ClusterPendingModifiedValues.h>
16#include <aws/rds/model/ClusterScalabilityType.h>
17#include <aws/rds/model/DBClusterMember.h>
18#include <aws/rds/model/DBClusterOptionGroupStatus.h>
19#include <aws/rds/model/DBClusterRole.h>
20#include <aws/rds/model/DBClusterStatusInfo.h>
21#include <aws/rds/model/DatabaseInsightsMode.h>
22#include <aws/rds/model/DomainMembership.h>
23#include <aws/rds/model/LimitlessDatabase.h>
24#include <aws/rds/model/LocalWriteForwardingStatus.h>
25#include <aws/rds/model/MasterUserSecret.h>
26#include <aws/rds/model/RdsCustomClusterConfiguration.h>
27#include <aws/rds/model/ScalingConfigurationInfo.h>
28#include <aws/rds/model/ServerlessV2ScalingConfigurationInfo.h>
29#include <aws/rds/model/StorageEncryptionType.h>
30#include <aws/rds/model/Tag.h>
31#include <aws/rds/model/UpgradeRolloutOrder.h>
32#include <aws/rds/model/VpcSecurityGroupMembership.h>
33#include <aws/rds/model/WriteForwardingStatus.h>
34
35#include <utility>
36
37namespace Aws {
38namespace Utils {
39namespace Xml {
40class XmlNode;
41} // namespace Xml
42} // namespace Utils
43namespace RDS {
44namespace Model {
45
71class DBCluster {
72 public:
73 AWS_RDS_API DBCluster() = default;
74 AWS_RDS_API DBCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
75 AWS_RDS_API DBCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
76
77 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
78 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
79
81
86 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
87 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
88 inline void SetAllocatedStorage(int value) {
89 m_allocatedStorageHasBeenSet = true;
90 m_allocatedStorage = value;
91 }
92 inline DBCluster& WithAllocatedStorage(int value) {
94 return *this;
95 }
97
99
103 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
104 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
105 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
106 void SetAvailabilityZones(AvailabilityZonesT&& value) {
107 m_availabilityZonesHasBeenSet = true;
108 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
109 }
110 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
111 DBCluster& WithAvailabilityZones(AvailabilityZonesT&& value) {
112 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
113 return *this;
114 }
115 template <typename AvailabilityZonesT = Aws::String>
116 DBCluster& AddAvailabilityZones(AvailabilityZonesT&& value) {
117 m_availabilityZonesHasBeenSet = true;
118 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
119 return *this;
120 }
122
124
127 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
128 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
129 inline void SetBackupRetentionPeriod(int value) {
130 m_backupRetentionPeriodHasBeenSet = true;
131 m_backupRetentionPeriod = value;
132 }
135 return *this;
136 }
138
140
144 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
145 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
146 template <typename CharacterSetNameT = Aws::String>
147 void SetCharacterSetName(CharacterSetNameT&& value) {
148 m_characterSetNameHasBeenSet = true;
149 m_characterSetName = std::forward<CharacterSetNameT>(value);
150 }
151 template <typename CharacterSetNameT = Aws::String>
152 DBCluster& WithCharacterSetName(CharacterSetNameT&& value) {
153 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
154 return *this;
155 }
157
159
164 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
165 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
166 template <typename DatabaseNameT = Aws::String>
167 void SetDatabaseName(DatabaseNameT&& value) {
168 m_databaseNameHasBeenSet = true;
169 m_databaseName = std::forward<DatabaseNameT>(value);
170 }
171 template <typename DatabaseNameT = Aws::String>
172 DBCluster& WithDatabaseName(DatabaseNameT&& value) {
173 SetDatabaseName(std::forward<DatabaseNameT>(value));
174 return *this;
175 }
177
179
183 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
184 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
185 template <typename DBClusterIdentifierT = Aws::String>
186 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
187 m_dBClusterIdentifierHasBeenSet = true;
188 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
189 }
190 template <typename DBClusterIdentifierT = Aws::String>
191 DBCluster& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
192 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetDBClusterParameterGroup() const { return m_dBClusterParameterGroup; }
202 inline bool DBClusterParameterGroupHasBeenSet() const { return m_dBClusterParameterGroupHasBeenSet; }
203 template <typename DBClusterParameterGroupT = Aws::String>
204 void SetDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
205 m_dBClusterParameterGroupHasBeenSet = true;
206 m_dBClusterParameterGroup = std::forward<DBClusterParameterGroupT>(value);
207 }
208 template <typename DBClusterParameterGroupT = Aws::String>
209 DBCluster& WithDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
210 SetDBClusterParameterGroup(std::forward<DBClusterParameterGroupT>(value));
211 return *this;
212 }
214
216
220 inline const Aws::String& GetDBSubnetGroup() const { return m_dBSubnetGroup; }
221 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
222 template <typename DBSubnetGroupT = Aws::String>
223 void SetDBSubnetGroup(DBSubnetGroupT&& value) {
224 m_dBSubnetGroupHasBeenSet = true;
225 m_dBSubnetGroup = std::forward<DBSubnetGroupT>(value);
226 }
227 template <typename DBSubnetGroupT = Aws::String>
228 DBCluster& WithDBSubnetGroup(DBSubnetGroupT&& value) {
229 SetDBSubnetGroup(std::forward<DBSubnetGroupT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetStatus() const { return m_status; }
239 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
240 template <typename StatusT = Aws::String>
241 void SetStatus(StatusT&& value) {
242 m_statusHasBeenSet = true;
243 m_status = std::forward<StatusT>(value);
244 }
245 template <typename StatusT = Aws::String>
246 DBCluster& WithStatus(StatusT&& value) {
247 SetStatus(std::forward<StatusT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::String& GetPercentProgress() const { return m_percentProgress; }
257 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
258 template <typename PercentProgressT = Aws::String>
259 void SetPercentProgress(PercentProgressT&& value) {
260 m_percentProgressHasBeenSet = true;
261 m_percentProgress = std::forward<PercentProgressT>(value);
262 }
263 template <typename PercentProgressT = Aws::String>
264 DBCluster& WithPercentProgress(PercentProgressT&& value) {
265 SetPercentProgress(std::forward<PercentProgressT>(value));
266 return *this;
267 }
269
271
275 inline const Aws::Utils::DateTime& GetEarliestRestorableTime() const { return m_earliestRestorableTime; }
276 inline bool EarliestRestorableTimeHasBeenSet() const { return m_earliestRestorableTimeHasBeenSet; }
277 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
278 void SetEarliestRestorableTime(EarliestRestorableTimeT&& value) {
279 m_earliestRestorableTimeHasBeenSet = true;
280 m_earliestRestorableTime = std::forward<EarliestRestorableTimeT>(value);
281 }
282 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
283 DBCluster& WithEarliestRestorableTime(EarliestRestorableTimeT&& value) {
284 SetEarliestRestorableTime(std::forward<EarliestRestorableTimeT>(value));
285 return *this;
286 }
288
290
293 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
294 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
295 template <typename EndpointT = Aws::String>
296 void SetEndpoint(EndpointT&& value) {
297 m_endpointHasBeenSet = true;
298 m_endpoint = std::forward<EndpointT>(value);
299 }
300 template <typename EndpointT = Aws::String>
301 DBCluster& WithEndpoint(EndpointT&& value) {
302 SetEndpoint(std::forward<EndpointT>(value));
303 return *this;
304 }
306
308
319 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
320 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
321 template <typename ReaderEndpointT = Aws::String>
322 void SetReaderEndpoint(ReaderEndpointT&& value) {
323 m_readerEndpointHasBeenSet = true;
324 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
325 }
326 template <typename ReaderEndpointT = Aws::String>
327 DBCluster& WithReaderEndpoint(ReaderEndpointT&& value) {
328 SetReaderEndpoint(std::forward<ReaderEndpointT>(value));
329 return *this;
330 }
332
334
337 inline const Aws::Vector<Aws::String>& GetCustomEndpoints() const { return m_customEndpoints; }
338 inline bool CustomEndpointsHasBeenSet() const { return m_customEndpointsHasBeenSet; }
339 template <typename CustomEndpointsT = Aws::Vector<Aws::String>>
340 void SetCustomEndpoints(CustomEndpointsT&& value) {
341 m_customEndpointsHasBeenSet = true;
342 m_customEndpoints = std::forward<CustomEndpointsT>(value);
343 }
344 template <typename CustomEndpointsT = Aws::Vector<Aws::String>>
345 DBCluster& WithCustomEndpoints(CustomEndpointsT&& value) {
346 SetCustomEndpoints(std::forward<CustomEndpointsT>(value));
347 return *this;
348 }
349 template <typename CustomEndpointsT = Aws::String>
350 DBCluster& AddCustomEndpoints(CustomEndpointsT&& value) {
351 m_customEndpointsHasBeenSet = true;
352 m_customEndpoints.emplace_back(std::forward<CustomEndpointsT>(value));
353 return *this;
354 }
356
358
362 inline bool GetMultiAZ() const { return m_multiAZ; }
363 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
364 inline void SetMultiAZ(bool value) {
365 m_multiAZHasBeenSet = true;
366 m_multiAZ = value;
367 }
368 inline DBCluster& WithMultiAZ(bool value) {
369 SetMultiAZ(value);
370 return *this;
371 }
373
375
378 inline const Aws::String& GetEngine() const { return m_engine; }
379 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
380 template <typename EngineT = Aws::String>
381 void SetEngine(EngineT&& value) {
382 m_engineHasBeenSet = true;
383 m_engine = std::forward<EngineT>(value);
384 }
385 template <typename EngineT = Aws::String>
386 DBCluster& WithEngine(EngineT&& value) {
387 SetEngine(std::forward<EngineT>(value));
388 return *this;
389 }
391
393
396 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
397 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
398 template <typename EngineVersionT = Aws::String>
399 void SetEngineVersion(EngineVersionT&& value) {
400 m_engineVersionHasBeenSet = true;
401 m_engineVersion = std::forward<EngineVersionT>(value);
402 }
403 template <typename EngineVersionT = Aws::String>
404 DBCluster& WithEngineVersion(EngineVersionT&& value) {
405 SetEngineVersion(std::forward<EngineVersionT>(value));
406 return *this;
407 }
409
411
415 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const { return m_latestRestorableTime; }
416 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
417 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
418 void SetLatestRestorableTime(LatestRestorableTimeT&& value) {
419 m_latestRestorableTimeHasBeenSet = true;
420 m_latestRestorableTime = std::forward<LatestRestorableTimeT>(value);
421 }
422 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
423 DBCluster& WithLatestRestorableTime(LatestRestorableTimeT&& value) {
424 SetLatestRestorableTime(std::forward<LatestRestorableTimeT>(value));
425 return *this;
426 }
428
430
433 inline int GetPort() const { return m_port; }
434 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
435 inline void SetPort(int value) {
436 m_portHasBeenSet = true;
437 m_port = value;
438 }
439 inline DBCluster& WithPort(int value) {
440 SetPort(value);
441 return *this;
442 }
444
446
449 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
450 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
451 template <typename MasterUsernameT = Aws::String>
452 void SetMasterUsername(MasterUsernameT&& value) {
453 m_masterUsernameHasBeenSet = true;
454 m_masterUsername = std::forward<MasterUsernameT>(value);
455 }
456 template <typename MasterUsernameT = Aws::String>
457 DBCluster& WithMasterUsername(MasterUsernameT&& value) {
458 SetMasterUsername(std::forward<MasterUsernameT>(value));
459 return *this;
460 }
462
464
468 return m_dBClusterOptionGroupMemberships;
469 }
470 inline bool DBClusterOptionGroupMembershipsHasBeenSet() const { return m_dBClusterOptionGroupMembershipsHasBeenSet; }
471 template <typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
472 void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
473 m_dBClusterOptionGroupMembershipsHasBeenSet = true;
474 m_dBClusterOptionGroupMemberships = std::forward<DBClusterOptionGroupMembershipsT>(value);
475 }
476 template <typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
477 DBCluster& WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
478 SetDBClusterOptionGroupMemberships(std::forward<DBClusterOptionGroupMembershipsT>(value));
479 return *this;
480 }
481 template <typename DBClusterOptionGroupMembershipsT = DBClusterOptionGroupStatus>
482 DBCluster& AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
483 m_dBClusterOptionGroupMembershipsHasBeenSet = true;
484 m_dBClusterOptionGroupMemberships.emplace_back(std::forward<DBClusterOptionGroupMembershipsT>(value));
485 return *this;
486 }
488
490
495 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
496 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
497 template <typename PreferredBackupWindowT = Aws::String>
498 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
499 m_preferredBackupWindowHasBeenSet = true;
500 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
501 }
502 template <typename PreferredBackupWindowT = Aws::String>
503 DBCluster& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
504 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
505 return *this;
506 }
508
510
514 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
515 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
516 template <typename PreferredMaintenanceWindowT = Aws::String>
517 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
518 m_preferredMaintenanceWindowHasBeenSet = true;
519 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
520 }
521 template <typename PreferredMaintenanceWindowT = Aws::String>
522 DBCluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
523 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
524 return *this;
525 }
527
529
536 inline UpgradeRolloutOrder GetUpgradeRolloutOrder() const { return m_upgradeRolloutOrder; }
537 inline bool UpgradeRolloutOrderHasBeenSet() const { return m_upgradeRolloutOrderHasBeenSet; }
539 m_upgradeRolloutOrderHasBeenSet = true;
540 m_upgradeRolloutOrder = value;
541 }
544 return *this;
545 }
547
549
553 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
554 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
555 template <typename ReplicationSourceIdentifierT = Aws::String>
556 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
557 m_replicationSourceIdentifierHasBeenSet = true;
558 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
559 }
560 template <typename ReplicationSourceIdentifierT = Aws::String>
561 DBCluster& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
562 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
563 return *this;
564 }
566
568
572 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
573 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
574 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
575 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
576 m_readReplicaIdentifiersHasBeenSet = true;
577 m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value);
578 }
579 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
580 DBCluster& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
581 SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value));
582 return *this;
583 }
584 template <typename ReadReplicaIdentifiersT = Aws::String>
585 DBCluster& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
586 m_readReplicaIdentifiersHasBeenSet = true;
587 m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value));
588 return *this;
589 }
591
593
596 inline const Aws::Vector<DBClusterStatusInfo>& GetStatusInfos() const { return m_statusInfos; }
597 inline bool StatusInfosHasBeenSet() const { return m_statusInfosHasBeenSet; }
598 template <typename StatusInfosT = Aws::Vector<DBClusterStatusInfo>>
599 void SetStatusInfos(StatusInfosT&& value) {
600 m_statusInfosHasBeenSet = true;
601 m_statusInfos = std::forward<StatusInfosT>(value);
602 }
603 template <typename StatusInfosT = Aws::Vector<DBClusterStatusInfo>>
604 DBCluster& WithStatusInfos(StatusInfosT&& value) {
605 SetStatusInfos(std::forward<StatusInfosT>(value));
606 return *this;
607 }
608 template <typename StatusInfosT = DBClusterStatusInfo>
609 DBCluster& AddStatusInfos(StatusInfosT&& value) {
610 m_statusInfosHasBeenSet = true;
611 m_statusInfos.emplace_back(std::forward<StatusInfosT>(value));
612 return *this;
613 }
615
617
620 inline const Aws::Vector<DBClusterMember>& GetDBClusterMembers() const { return m_dBClusterMembers; }
621 inline bool DBClusterMembersHasBeenSet() const { return m_dBClusterMembersHasBeenSet; }
622 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
623 void SetDBClusterMembers(DBClusterMembersT&& value) {
624 m_dBClusterMembersHasBeenSet = true;
625 m_dBClusterMembers = std::forward<DBClusterMembersT>(value);
626 }
627 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
628 DBCluster& WithDBClusterMembers(DBClusterMembersT&& value) {
629 SetDBClusterMembers(std::forward<DBClusterMembersT>(value));
630 return *this;
631 }
632 template <typename DBClusterMembersT = DBClusterMember>
633 DBCluster& AddDBClusterMembers(DBClusterMembersT&& value) {
634 m_dBClusterMembersHasBeenSet = true;
635 m_dBClusterMembers.emplace_back(std::forward<DBClusterMembersT>(value));
636 return *this;
637 }
639
641
644 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
645 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
646 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
647 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
648 m_vpcSecurityGroupsHasBeenSet = true;
649 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
650 }
651 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
652 DBCluster& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
653 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
654 return *this;
655 }
656 template <typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
657 DBCluster& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
658 m_vpcSecurityGroupsHasBeenSet = true;
659 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
660 return *this;
661 }
663
665
668 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
669 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
670 template <typename HostedZoneIdT = Aws::String>
671 void SetHostedZoneId(HostedZoneIdT&& value) {
672 m_hostedZoneIdHasBeenSet = true;
673 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
674 }
675 template <typename HostedZoneIdT = Aws::String>
676 DBCluster& WithHostedZoneId(HostedZoneIdT&& value) {
677 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
678 return *this;
679 }
681
683
686 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
687 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
688 inline void SetStorageEncrypted(bool value) {
689 m_storageEncryptedHasBeenSet = true;
690 m_storageEncrypted = value;
691 }
692 inline DBCluster& WithStorageEncrypted(bool value) {
693 SetStorageEncrypted(value);
694 return *this;
695 }
697
699
707 inline StorageEncryptionType GetStorageEncryptionType() const { return m_storageEncryptionType; }
708 inline bool StorageEncryptionTypeHasBeenSet() const { return m_storageEncryptionTypeHasBeenSet; }
710 m_storageEncryptionTypeHasBeenSet = true;
711 m_storageEncryptionType = value;
712 }
715 return *this;
716 }
718
720
725 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
726 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
727 template <typename KmsKeyIdT = Aws::String>
728 void SetKmsKeyId(KmsKeyIdT&& value) {
729 m_kmsKeyIdHasBeenSet = true;
730 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
731 }
732 template <typename KmsKeyIdT = Aws::String>
733 DBCluster& WithKmsKeyId(KmsKeyIdT&& value) {
734 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
735 return *this;
736 }
738
740
745 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
746 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
747 template <typename DbClusterResourceIdT = Aws::String>
748 void SetDbClusterResourceId(DbClusterResourceIdT&& value) {
749 m_dbClusterResourceIdHasBeenSet = true;
750 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
751 }
752 template <typename DbClusterResourceIdT = Aws::String>
753 DBCluster& WithDbClusterResourceId(DbClusterResourceIdT&& value) {
754 SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value));
755 return *this;
756 }
758
760
763 inline const Aws::String& GetDBClusterArn() const { return m_dBClusterArn; }
764 inline bool DBClusterArnHasBeenSet() const { return m_dBClusterArnHasBeenSet; }
765 template <typename DBClusterArnT = Aws::String>
766 void SetDBClusterArn(DBClusterArnT&& value) {
767 m_dBClusterArnHasBeenSet = true;
768 m_dBClusterArn = std::forward<DBClusterArnT>(value);
769 }
770 template <typename DBClusterArnT = Aws::String>
771 DBCluster& WithDBClusterArn(DBClusterArnT&& value) {
772 SetDBClusterArn(std::forward<DBClusterArnT>(value));
773 return *this;
774 }
776
778
784 inline const Aws::Vector<DBClusterRole>& GetAssociatedRoles() const { return m_associatedRoles; }
785 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
786 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
787 void SetAssociatedRoles(AssociatedRolesT&& value) {
788 m_associatedRolesHasBeenSet = true;
789 m_associatedRoles = std::forward<AssociatedRolesT>(value);
790 }
791 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
792 DBCluster& WithAssociatedRoles(AssociatedRolesT&& value) {
793 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
794 return *this;
795 }
796 template <typename AssociatedRolesT = DBClusterRole>
797 DBCluster& AddAssociatedRoles(AssociatedRolesT&& value) {
798 m_associatedRolesHasBeenSet = true;
799 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
800 return *this;
801 }
803
805
809 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
810 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
811 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
812 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
813 m_iAMDatabaseAuthenticationEnabled = value;
814 }
817 return *this;
818 }
820
822
832 inline const Aws::String& GetCloneGroupId() const { return m_cloneGroupId; }
833 inline bool CloneGroupIdHasBeenSet() const { return m_cloneGroupIdHasBeenSet; }
834 template <typename CloneGroupIdT = Aws::String>
835 void SetCloneGroupId(CloneGroupIdT&& value) {
836 m_cloneGroupIdHasBeenSet = true;
837 m_cloneGroupId = std::forward<CloneGroupIdT>(value);
838 }
839 template <typename CloneGroupIdT = Aws::String>
840 DBCluster& WithCloneGroupId(CloneGroupIdT&& value) {
841 SetCloneGroupId(std::forward<CloneGroupIdT>(value));
842 return *this;
843 }
845
847
851 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
852 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
853 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
854 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
855 m_clusterCreateTimeHasBeenSet = true;
856 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
857 }
858 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
859 DBCluster& WithClusterCreateTime(ClusterCreateTimeT&& value) {
860 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
861 return *this;
862 }
864
866
869 inline const Aws::Utils::DateTime& GetEarliestBacktrackTime() const { return m_earliestBacktrackTime; }
870 inline bool EarliestBacktrackTimeHasBeenSet() const { return m_earliestBacktrackTimeHasBeenSet; }
871 template <typename EarliestBacktrackTimeT = Aws::Utils::DateTime>
872 void SetEarliestBacktrackTime(EarliestBacktrackTimeT&& value) {
873 m_earliestBacktrackTimeHasBeenSet = true;
874 m_earliestBacktrackTime = std::forward<EarliestBacktrackTimeT>(value);
875 }
876 template <typename EarliestBacktrackTimeT = Aws::Utils::DateTime>
877 DBCluster& WithEarliestBacktrackTime(EarliestBacktrackTimeT&& value) {
878 SetEarliestBacktrackTime(std::forward<EarliestBacktrackTimeT>(value));
879 return *this;
880 }
882
884
889 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
890 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
891 inline void SetBacktrackWindow(long long value) {
892 m_backtrackWindowHasBeenSet = true;
893 m_backtrackWindow = value;
894 }
895 inline DBCluster& WithBacktrackWindow(long long value) {
896 SetBacktrackWindow(value);
897 return *this;
898 }
900
902
905 inline long long GetBacktrackConsumedChangeRecords() const { return m_backtrackConsumedChangeRecords; }
906 inline bool BacktrackConsumedChangeRecordsHasBeenSet() const { return m_backtrackConsumedChangeRecordsHasBeenSet; }
907 inline void SetBacktrackConsumedChangeRecords(long long value) {
908 m_backtrackConsumedChangeRecordsHasBeenSet = true;
909 m_backtrackConsumedChangeRecords = value;
910 }
913 return *this;
914 }
916
918
925 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const { return m_enabledCloudwatchLogsExports; }
926 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
927 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
928 void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
929 m_enabledCloudwatchLogsExportsHasBeenSet = true;
930 m_enabledCloudwatchLogsExports = std::forward<EnabledCloudwatchLogsExportsT>(value);
931 }
932 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
933 DBCluster& WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
934 SetEnabledCloudwatchLogsExports(std::forward<EnabledCloudwatchLogsExportsT>(value));
935 return *this;
936 }
937 template <typename EnabledCloudwatchLogsExportsT = Aws::String>
938 DBCluster& AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
939 m_enabledCloudwatchLogsExportsHasBeenSet = true;
940 m_enabledCloudwatchLogsExports.emplace_back(std::forward<EnabledCloudwatchLogsExportsT>(value));
941 return *this;
942 }
944
946
953 inline int GetCapacity() const { return m_capacity; }
954 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
955 inline void SetCapacity(int value) {
956 m_capacityHasBeenSet = true;
957 m_capacity = value;
958 }
959 inline DBCluster& WithCapacity(int value) {
960 SetCapacity(value);
961 return *this;
962 }
964
966
971 inline const ClusterPendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
972 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
973 template <typename PendingModifiedValuesT = ClusterPendingModifiedValues>
974 void SetPendingModifiedValues(PendingModifiedValuesT&& value) {
975 m_pendingModifiedValuesHasBeenSet = true;
976 m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value);
977 }
978 template <typename PendingModifiedValuesT = ClusterPendingModifiedValues>
979 DBCluster& WithPendingModifiedValues(PendingModifiedValuesT&& value) {
980 SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value));
981 return *this;
982 }
984
986
992 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
993 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
994 template <typename EngineModeT = Aws::String>
995 void SetEngineMode(EngineModeT&& value) {
996 m_engineModeHasBeenSet = true;
997 m_engineMode = std::forward<EngineModeT>(value);
998 }
999 template <typename EngineModeT = Aws::String>
1000 DBCluster& WithEngineMode(EngineModeT&& value) {
1001 SetEngineMode(std::forward<EngineModeT>(value));
1002 return *this;
1003 }
1005
1007
1008 inline const ScalingConfigurationInfo& GetScalingConfigurationInfo() const { return m_scalingConfigurationInfo; }
1009 inline bool ScalingConfigurationInfoHasBeenSet() const { return m_scalingConfigurationInfoHasBeenSet; }
1010 template <typename ScalingConfigurationInfoT = ScalingConfigurationInfo>
1011 void SetScalingConfigurationInfo(ScalingConfigurationInfoT&& value) {
1012 m_scalingConfigurationInfoHasBeenSet = true;
1013 m_scalingConfigurationInfo = std::forward<ScalingConfigurationInfoT>(value);
1014 }
1015 template <typename ScalingConfigurationInfoT = ScalingConfigurationInfo>
1016 DBCluster& WithScalingConfigurationInfo(ScalingConfigurationInfoT&& value) {
1017 SetScalingConfigurationInfo(std::forward<ScalingConfigurationInfoT>(value));
1018 return *this;
1019 }
1021
1023
1026 inline const RdsCustomClusterConfiguration& GetRdsCustomClusterConfiguration() const { return m_rdsCustomClusterConfiguration; }
1027 inline bool RdsCustomClusterConfigurationHasBeenSet() const { return m_rdsCustomClusterConfigurationHasBeenSet; }
1028 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
1029 void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
1030 m_rdsCustomClusterConfigurationHasBeenSet = true;
1031 m_rdsCustomClusterConfiguration = std::forward<RdsCustomClusterConfigurationT>(value);
1032 }
1033 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
1034 DBCluster& WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
1035 SetRdsCustomClusterConfiguration(std::forward<RdsCustomClusterConfigurationT>(value));
1036 return *this;
1037 }
1039
1041
1045 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
1046 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
1047 template <typename DBClusterInstanceClassT = Aws::String>
1048 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
1049 m_dBClusterInstanceClassHasBeenSet = true;
1050 m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value);
1051 }
1052 template <typename DBClusterInstanceClassT = Aws::String>
1053 DBCluster& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
1054 SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value));
1055 return *this;
1056 }
1058
1060
1063 inline const Aws::String& GetStorageType() const { return m_storageType; }
1064 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
1065 template <typename StorageTypeT = Aws::String>
1066 void SetStorageType(StorageTypeT&& value) {
1067 m_storageTypeHasBeenSet = true;
1068 m_storageType = std::forward<StorageTypeT>(value);
1069 }
1070 template <typename StorageTypeT = Aws::String>
1071 DBCluster& WithStorageType(StorageTypeT&& value) {
1072 SetStorageType(std::forward<StorageTypeT>(value));
1073 return *this;
1074 }
1076
1078
1082 inline int GetIops() const { return m_iops; }
1083 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
1084 inline void SetIops(int value) {
1085 m_iopsHasBeenSet = true;
1086 m_iops = value;
1087 }
1088 inline DBCluster& WithIops(int value) {
1089 SetIops(value);
1090 return *this;
1091 }
1093
1095
1100 inline int GetStorageThroughput() const { return m_storageThroughput; }
1101 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
1102 inline void SetStorageThroughput(int value) {
1103 m_storageThroughputHasBeenSet = true;
1104 m_storageThroughput = value;
1105 }
1107 SetStorageThroughput(value);
1108 return *this;
1109 }
1111
1113
1118 inline const Aws::Utils::DateTime& GetIOOptimizedNextAllowedModificationTime() const { return m_iOOptimizedNextAllowedModificationTime; }
1119 inline bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const { return m_iOOptimizedNextAllowedModificationTimeHasBeenSet; }
1120 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
1121 void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
1122 m_iOOptimizedNextAllowedModificationTimeHasBeenSet = true;
1123 m_iOOptimizedNextAllowedModificationTime = std::forward<IOOptimizedNextAllowedModificationTimeT>(value);
1124 }
1125 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
1126 DBCluster& WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
1127 SetIOOptimizedNextAllowedModificationTime(std::forward<IOOptimizedNextAllowedModificationTimeT>(value));
1128 return *this;
1129 }
1131
1133
1146 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
1147 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
1148 inline void SetPubliclyAccessible(bool value) {
1149 m_publiclyAccessibleHasBeenSet = true;
1150 m_publiclyAccessible = value;
1151 }
1152 inline DBCluster& WithPubliclyAccessible(bool value) {
1153 SetPubliclyAccessible(value);
1154 return *this;
1155 }
1157
1159
1166 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
1167 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
1168 inline void SetAutoMinorVersionUpgrade(bool value) {
1169 m_autoMinorVersionUpgradeHasBeenSet = true;
1170 m_autoMinorVersionUpgrade = value;
1171 }
1174 return *this;
1175 }
1177
1179
1183 inline bool GetDeletionProtection() const { return m_deletionProtection; }
1184 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
1185 inline void SetDeletionProtection(bool value) {
1186 m_deletionProtectionHasBeenSet = true;
1187 m_deletionProtection = value;
1188 }
1189 inline DBCluster& WithDeletionProtection(bool value) {
1190 SetDeletionProtection(value);
1191 return *this;
1192 }
1194
1196
1205 inline bool GetHttpEndpointEnabled() const { return m_httpEndpointEnabled; }
1206 inline bool HttpEndpointEnabledHasBeenSet() const { return m_httpEndpointEnabledHasBeenSet; }
1207 inline void SetHttpEndpointEnabled(bool value) {
1208 m_httpEndpointEnabledHasBeenSet = true;
1209 m_httpEndpointEnabled = value;
1210 }
1213 return *this;
1214 }
1216
1218
1223 inline ActivityStreamMode GetActivityStreamMode() const { return m_activityStreamMode; }
1224 inline bool ActivityStreamModeHasBeenSet() const { return m_activityStreamModeHasBeenSet; }
1226 m_activityStreamModeHasBeenSet = true;
1227 m_activityStreamMode = value;
1228 }
1230 SetActivityStreamMode(value);
1231 return *this;
1232 }
1234
1236
1239 inline ActivityStreamStatus GetActivityStreamStatus() const { return m_activityStreamStatus; }
1240 inline bool ActivityStreamStatusHasBeenSet() const { return m_activityStreamStatusHasBeenSet; }
1242 m_activityStreamStatusHasBeenSet = true;
1243 m_activityStreamStatus = value;
1244 }
1247 return *this;
1248 }
1250
1252
1257 inline const Aws::String& GetActivityStreamKmsKeyId() const { return m_activityStreamKmsKeyId; }
1258 inline bool ActivityStreamKmsKeyIdHasBeenSet() const { return m_activityStreamKmsKeyIdHasBeenSet; }
1259 template <typename ActivityStreamKmsKeyIdT = Aws::String>
1260 void SetActivityStreamKmsKeyId(ActivityStreamKmsKeyIdT&& value) {
1261 m_activityStreamKmsKeyIdHasBeenSet = true;
1262 m_activityStreamKmsKeyId = std::forward<ActivityStreamKmsKeyIdT>(value);
1263 }
1264 template <typename ActivityStreamKmsKeyIdT = Aws::String>
1265 DBCluster& WithActivityStreamKmsKeyId(ActivityStreamKmsKeyIdT&& value) {
1266 SetActivityStreamKmsKeyId(std::forward<ActivityStreamKmsKeyIdT>(value));
1267 return *this;
1268 }
1270
1272
1276 inline const Aws::String& GetActivityStreamKinesisStreamName() const { return m_activityStreamKinesisStreamName; }
1277 inline bool ActivityStreamKinesisStreamNameHasBeenSet() const { return m_activityStreamKinesisStreamNameHasBeenSet; }
1278 template <typename ActivityStreamKinesisStreamNameT = Aws::String>
1279 void SetActivityStreamKinesisStreamName(ActivityStreamKinesisStreamNameT&& value) {
1280 m_activityStreamKinesisStreamNameHasBeenSet = true;
1281 m_activityStreamKinesisStreamName = std::forward<ActivityStreamKinesisStreamNameT>(value);
1282 }
1283 template <typename ActivityStreamKinesisStreamNameT = Aws::String>
1284 DBCluster& WithActivityStreamKinesisStreamName(ActivityStreamKinesisStreamNameT&& value) {
1285 SetActivityStreamKinesisStreamName(std::forward<ActivityStreamKinesisStreamNameT>(value));
1286 return *this;
1287 }
1289
1291
1295 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
1296 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
1297 inline void SetCopyTagsToSnapshot(bool value) {
1298 m_copyTagsToSnapshotHasBeenSet = true;
1299 m_copyTagsToSnapshot = value;
1300 }
1301 inline DBCluster& WithCopyTagsToSnapshot(bool value) {
1302 SetCopyTagsToSnapshot(value);
1303 return *this;
1304 }
1306
1308
1312 inline bool GetCrossAccountClone() const { return m_crossAccountClone; }
1313 inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; }
1314 inline void SetCrossAccountClone(bool value) {
1315 m_crossAccountCloneHasBeenSet = true;
1316 m_crossAccountClone = value;
1317 }
1318 inline DBCluster& WithCrossAccountClone(bool value) {
1319 SetCrossAccountClone(value);
1320 return *this;
1321 }
1323
1325
1329 inline const Aws::Vector<DomainMembership>& GetDomainMemberships() const { return m_domainMemberships; }
1330 inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; }
1331 template <typename DomainMembershipsT = Aws::Vector<DomainMembership>>
1332 void SetDomainMemberships(DomainMembershipsT&& value) {
1333 m_domainMembershipsHasBeenSet = true;
1334 m_domainMemberships = std::forward<DomainMembershipsT>(value);
1335 }
1336 template <typename DomainMembershipsT = Aws::Vector<DomainMembership>>
1337 DBCluster& WithDomainMemberships(DomainMembershipsT&& value) {
1338 SetDomainMemberships(std::forward<DomainMembershipsT>(value));
1339 return *this;
1340 }
1341 template <typename DomainMembershipsT = DomainMembership>
1342 DBCluster& AddDomainMemberships(DomainMembershipsT&& value) {
1343 m_domainMembershipsHasBeenSet = true;
1344 m_domainMemberships.emplace_back(std::forward<DomainMembershipsT>(value));
1345 return *this;
1346 }
1348
1350
1351 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
1352 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
1353 template <typename TagListT = Aws::Vector<Tag>>
1354 void SetTagList(TagListT&& value) {
1355 m_tagListHasBeenSet = true;
1356 m_tagList = std::forward<TagListT>(value);
1357 }
1358 template <typename TagListT = Aws::Vector<Tag>>
1359 DBCluster& WithTagList(TagListT&& value) {
1360 SetTagList(std::forward<TagListT>(value));
1361 return *this;
1362 }
1363 template <typename TagListT = Tag>
1364 DBCluster& AddTagList(TagListT&& value) {
1365 m_tagListHasBeenSet = true;
1366 m_tagList.emplace_back(std::forward<TagListT>(value));
1367 return *this;
1368 }
1370
1372
1376 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
1377 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
1378 template <typename GlobalClusterIdentifierT = Aws::String>
1379 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
1380 m_globalClusterIdentifierHasBeenSet = true;
1381 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
1382 }
1383 template <typename GlobalClusterIdentifierT = Aws::String>
1384 DBCluster& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
1385 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
1386 return *this;
1387 }
1389
1391
1395 inline WriteForwardingStatus GetGlobalWriteForwardingStatus() const { return m_globalWriteForwardingStatus; }
1396 inline bool GlobalWriteForwardingStatusHasBeenSet() const { return m_globalWriteForwardingStatusHasBeenSet; }
1398 m_globalWriteForwardingStatusHasBeenSet = true;
1399 m_globalWriteForwardingStatus = value;
1400 }
1403 return *this;
1404 }
1406
1408
1414 inline bool GetGlobalWriteForwardingRequested() const { return m_globalWriteForwardingRequested; }
1415 inline bool GlobalWriteForwardingRequestedHasBeenSet() const { return m_globalWriteForwardingRequestedHasBeenSet; }
1416 inline void SetGlobalWriteForwardingRequested(bool value) {
1417 m_globalWriteForwardingRequestedHasBeenSet = true;
1418 m_globalWriteForwardingRequested = value;
1419 }
1422 return *this;
1423 }
1425
1427
1437 inline const Aws::String& GetNetworkType() const { return m_networkType; }
1438 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
1439 template <typename NetworkTypeT = Aws::String>
1440 void SetNetworkType(NetworkTypeT&& value) {
1441 m_networkTypeHasBeenSet = true;
1442 m_networkType = std::forward<NetworkTypeT>(value);
1443 }
1444 template <typename NetworkTypeT = Aws::String>
1445 DBCluster& WithNetworkType(NetworkTypeT&& value) {
1446 SetNetworkType(std::forward<NetworkTypeT>(value));
1447 return *this;
1448 }
1450
1452
1455 inline const Aws::Utils::DateTime& GetAutomaticRestartTime() const { return m_automaticRestartTime; }
1456 inline bool AutomaticRestartTimeHasBeenSet() const { return m_automaticRestartTimeHasBeenSet; }
1457 template <typename AutomaticRestartTimeT = Aws::Utils::DateTime>
1458 void SetAutomaticRestartTime(AutomaticRestartTimeT&& value) {
1459 m_automaticRestartTimeHasBeenSet = true;
1460 m_automaticRestartTime = std::forward<AutomaticRestartTimeT>(value);
1461 }
1462 template <typename AutomaticRestartTimeT = Aws::Utils::DateTime>
1463 DBCluster& WithAutomaticRestartTime(AutomaticRestartTimeT&& value) {
1464 SetAutomaticRestartTime(std::forward<AutomaticRestartTimeT>(value));
1465 return *this;
1466 }
1468
1470
1472 return m_serverlessV2ScalingConfiguration;
1473 }
1474 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
1475 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
1476 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1477 m_serverlessV2ScalingConfigurationHasBeenSet = true;
1478 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
1479 }
1480 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
1481 DBCluster& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1482 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
1483 return *this;
1484 }
1486
1488
1494 inline const Aws::String& GetServerlessV2PlatformVersion() const { return m_serverlessV2PlatformVersion; }
1495 inline bool ServerlessV2PlatformVersionHasBeenSet() const { return m_serverlessV2PlatformVersionHasBeenSet; }
1496 template <typename ServerlessV2PlatformVersionT = Aws::String>
1497 void SetServerlessV2PlatformVersion(ServerlessV2PlatformVersionT&& value) {
1498 m_serverlessV2PlatformVersionHasBeenSet = true;
1499 m_serverlessV2PlatformVersion = std::forward<ServerlessV2PlatformVersionT>(value);
1500 }
1501 template <typename ServerlessV2PlatformVersionT = Aws::String>
1502 DBCluster& WithServerlessV2PlatformVersion(ServerlessV2PlatformVersionT&& value) {
1503 SetServerlessV2PlatformVersion(std::forward<ServerlessV2PlatformVersionT>(value));
1504 return *this;
1505 }
1507
1509
1514 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
1515 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
1516 inline void SetMonitoringInterval(int value) {
1517 m_monitoringIntervalHasBeenSet = true;
1518 m_monitoringInterval = value;
1519 }
1521 SetMonitoringInterval(value);
1522 return *this;
1523 }
1525
1527
1532 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
1533 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
1534 template <typename MonitoringRoleArnT = Aws::String>
1535 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
1536 m_monitoringRoleArnHasBeenSet = true;
1537 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
1538 }
1539 template <typename MonitoringRoleArnT = Aws::String>
1540 DBCluster& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
1541 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
1542 return *this;
1543 }
1545
1547
1550 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
1551 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
1553 m_databaseInsightsModeHasBeenSet = true;
1554 m_databaseInsightsMode = value;
1555 }
1558 return *this;
1559 }
1561
1563
1567 inline bool GetPerformanceInsightsEnabled() const { return m_performanceInsightsEnabled; }
1568 inline bool PerformanceInsightsEnabledHasBeenSet() const { return m_performanceInsightsEnabledHasBeenSet; }
1569 inline void SetPerformanceInsightsEnabled(bool value) {
1570 m_performanceInsightsEnabledHasBeenSet = true;
1571 m_performanceInsightsEnabled = value;
1572 }
1575 return *this;
1576 }
1578
1580
1586 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
1587 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
1588 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1589 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1590 m_performanceInsightsKMSKeyIdHasBeenSet = true;
1591 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
1592 }
1593 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1594 DBCluster& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1595 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
1596 return *this;
1597 }
1599
1601
1610 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
1611 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
1613 m_performanceInsightsRetentionPeriodHasBeenSet = true;
1614 m_performanceInsightsRetentionPeriod = value;
1615 }
1618 return *this;
1619 }
1621
1623
1626 inline const Aws::String& GetDBSystemId() const { return m_dBSystemId; }
1627 inline bool DBSystemIdHasBeenSet() const { return m_dBSystemIdHasBeenSet; }
1628 template <typename DBSystemIdT = Aws::String>
1629 void SetDBSystemId(DBSystemIdT&& value) {
1630 m_dBSystemIdHasBeenSet = true;
1631 m_dBSystemId = std::forward<DBSystemIdT>(value);
1632 }
1633 template <typename DBSystemIdT = Aws::String>
1634 DBCluster& WithDBSystemId(DBSystemIdT&& value) {
1635 SetDBSystemId(std::forward<DBSystemIdT>(value));
1636 return *this;
1637 }
1639
1641
1651 inline const MasterUserSecret& GetMasterUserSecret() const { return m_masterUserSecret; }
1652 inline bool MasterUserSecretHasBeenSet() const { return m_masterUserSecretHasBeenSet; }
1653 template <typename MasterUserSecretT = MasterUserSecret>
1654 void SetMasterUserSecret(MasterUserSecretT&& value) {
1655 m_masterUserSecretHasBeenSet = true;
1656 m_masterUserSecret = std::forward<MasterUserSecretT>(value);
1657 }
1658 template <typename MasterUserSecretT = MasterUserSecret>
1659 DBCluster& WithMasterUserSecret(MasterUserSecretT&& value) {
1660 SetMasterUserSecret(std::forward<MasterUserSecretT>(value));
1661 return *this;
1662 }
1664
1666
1670 inline LocalWriteForwardingStatus GetLocalWriteForwardingStatus() const { return m_localWriteForwardingStatus; }
1671 inline bool LocalWriteForwardingStatusHasBeenSet() const { return m_localWriteForwardingStatusHasBeenSet; }
1673 m_localWriteForwardingStatusHasBeenSet = true;
1674 m_localWriteForwardingStatus = value;
1675 }
1678 return *this;
1679 }
1681
1683
1687 inline const Aws::String& GetAwsBackupRecoveryPointArn() const { return m_awsBackupRecoveryPointArn; }
1688 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
1689 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1690 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1691 m_awsBackupRecoveryPointArnHasBeenSet = true;
1692 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
1693 }
1694 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1695 DBCluster& WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1696 SetAwsBackupRecoveryPointArn(std::forward<AwsBackupRecoveryPointArnT>(value));
1697 return *this;
1698 }
1700
1702
1705 inline const LimitlessDatabase& GetLimitlessDatabase() const { return m_limitlessDatabase; }
1706 inline bool LimitlessDatabaseHasBeenSet() const { return m_limitlessDatabaseHasBeenSet; }
1707 template <typename LimitlessDatabaseT = LimitlessDatabase>
1708 void SetLimitlessDatabase(LimitlessDatabaseT&& value) {
1709 m_limitlessDatabaseHasBeenSet = true;
1710 m_limitlessDatabase = std::forward<LimitlessDatabaseT>(value);
1711 }
1712 template <typename LimitlessDatabaseT = LimitlessDatabase>
1713 DBCluster& WithLimitlessDatabase(LimitlessDatabaseT&& value) {
1714 SetLimitlessDatabase(std::forward<LimitlessDatabaseT>(value));
1715 return *this;
1716 }
1718
1720
1726 inline ClusterScalabilityType GetClusterScalabilityType() const { return m_clusterScalabilityType; }
1727 inline bool ClusterScalabilityTypeHasBeenSet() const { return m_clusterScalabilityTypeHasBeenSet; }
1729 m_clusterScalabilityTypeHasBeenSet = true;
1730 m_clusterScalabilityType = value;
1731 }
1734 return *this;
1735 }
1737
1739
1740 inline const CertificateDetails& GetCertificateDetails() const { return m_certificateDetails; }
1741 inline bool CertificateDetailsHasBeenSet() const { return m_certificateDetailsHasBeenSet; }
1742 template <typename CertificateDetailsT = CertificateDetails>
1743 void SetCertificateDetails(CertificateDetailsT&& value) {
1744 m_certificateDetailsHasBeenSet = true;
1745 m_certificateDetails = std::forward<CertificateDetailsT>(value);
1746 }
1747 template <typename CertificateDetailsT = CertificateDetails>
1748 DBCluster& WithCertificateDetails(CertificateDetailsT&& value) {
1749 SetCertificateDetails(std::forward<CertificateDetailsT>(value));
1750 return *this;
1751 }
1753
1755
1759 inline const Aws::String& GetEngineLifecycleSupport() const { return m_engineLifecycleSupport; }
1760 inline bool EngineLifecycleSupportHasBeenSet() const { return m_engineLifecycleSupportHasBeenSet; }
1761 template <typename EngineLifecycleSupportT = Aws::String>
1762 void SetEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1763 m_engineLifecycleSupportHasBeenSet = true;
1764 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
1765 }
1766 template <typename EngineLifecycleSupportT = Aws::String>
1767 DBCluster& WithEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1768 SetEngineLifecycleSupport(std::forward<EngineLifecycleSupportT>(value));
1769 return *this;
1770 }
1772
1774
1779 inline bool GetVPCNetworkingEnabled() const { return m_vPCNetworkingEnabled; }
1780 inline bool VPCNetworkingEnabledHasBeenSet() const { return m_vPCNetworkingEnabledHasBeenSet; }
1781 inline void SetVPCNetworkingEnabled(bool value) {
1782 m_vPCNetworkingEnabledHasBeenSet = true;
1783 m_vPCNetworkingEnabled = value;
1784 }
1787 return *this;
1788 }
1790
1792
1797 inline bool GetInternetAccessGatewayEnabled() const { return m_internetAccessGatewayEnabled; }
1798 inline bool InternetAccessGatewayEnabledHasBeenSet() const { return m_internetAccessGatewayEnabledHasBeenSet; }
1799 inline void SetInternetAccessGatewayEnabled(bool value) {
1800 m_internetAccessGatewayEnabledHasBeenSet = true;
1801 m_internetAccessGatewayEnabled = value;
1802 }
1805 return *this;
1806 }
1808 private:
1809 int m_allocatedStorage{0};
1810
1811 Aws::Vector<Aws::String> m_availabilityZones;
1812
1813 int m_backupRetentionPeriod{0};
1814
1815 Aws::String m_characterSetName;
1816
1817 Aws::String m_databaseName;
1818
1819 Aws::String m_dBClusterIdentifier;
1820
1821 Aws::String m_dBClusterParameterGroup;
1822
1823 Aws::String m_dBSubnetGroup;
1824
1825 Aws::String m_status;
1826
1827 Aws::String m_percentProgress;
1828
1829 Aws::Utils::DateTime m_earliestRestorableTime{};
1830
1831 Aws::String m_endpoint;
1832
1833 Aws::String m_readerEndpoint;
1834
1835 Aws::Vector<Aws::String> m_customEndpoints;
1836
1837 bool m_multiAZ{false};
1838
1839 Aws::String m_engine;
1840
1841 Aws::String m_engineVersion;
1842
1843 Aws::Utils::DateTime m_latestRestorableTime{};
1844
1845 int m_port{0};
1846
1847 Aws::String m_masterUsername;
1848
1849 Aws::Vector<DBClusterOptionGroupStatus> m_dBClusterOptionGroupMemberships;
1850
1851 Aws::String m_preferredBackupWindow;
1852
1853 Aws::String m_preferredMaintenanceWindow;
1854
1856
1857 Aws::String m_replicationSourceIdentifier;
1858
1859 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
1860
1862
1863 Aws::Vector<DBClusterMember> m_dBClusterMembers;
1864
1865 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
1866
1867 Aws::String m_hostedZoneId;
1868
1869 bool m_storageEncrypted{false};
1870
1872
1873 Aws::String m_kmsKeyId;
1874
1875 Aws::String m_dbClusterResourceId;
1876
1877 Aws::String m_dBClusterArn;
1878
1879 Aws::Vector<DBClusterRole> m_associatedRoles;
1880
1881 bool m_iAMDatabaseAuthenticationEnabled{false};
1882
1883 Aws::String m_cloneGroupId;
1884
1885 Aws::Utils::DateTime m_clusterCreateTime{};
1886
1887 Aws::Utils::DateTime m_earliestBacktrackTime{};
1888
1889 long long m_backtrackWindow{0};
1890
1891 long long m_backtrackConsumedChangeRecords{0};
1892
1893 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
1894
1895 int m_capacity{0};
1896
1897 ClusterPendingModifiedValues m_pendingModifiedValues;
1898
1899 Aws::String m_engineMode;
1900
1901 ScalingConfigurationInfo m_scalingConfigurationInfo;
1902
1903 RdsCustomClusterConfiguration m_rdsCustomClusterConfiguration;
1904
1905 Aws::String m_dBClusterInstanceClass;
1906
1907 Aws::String m_storageType;
1908
1909 int m_iops{0};
1910
1911 int m_storageThroughput{0};
1912
1913 Aws::Utils::DateTime m_iOOptimizedNextAllowedModificationTime{};
1914
1915 bool m_publiclyAccessible{false};
1916
1917 bool m_autoMinorVersionUpgrade{false};
1918
1919 bool m_deletionProtection{false};
1920
1921 bool m_httpEndpointEnabled{false};
1922
1923 ActivityStreamMode m_activityStreamMode{ActivityStreamMode::NOT_SET};
1924
1926
1927 Aws::String m_activityStreamKmsKeyId;
1928
1929 Aws::String m_activityStreamKinesisStreamName;
1930
1931 bool m_copyTagsToSnapshot{false};
1932
1933 bool m_crossAccountClone{false};
1934
1935 Aws::Vector<DomainMembership> m_domainMemberships;
1936
1937 Aws::Vector<Tag> m_tagList;
1938
1939 Aws::String m_globalClusterIdentifier;
1940
1941 WriteForwardingStatus m_globalWriteForwardingStatus{WriteForwardingStatus::NOT_SET};
1942
1943 bool m_globalWriteForwardingRequested{false};
1944
1945 Aws::String m_networkType;
1946
1947 Aws::Utils::DateTime m_automaticRestartTime{};
1948
1949 ServerlessV2ScalingConfigurationInfo m_serverlessV2ScalingConfiguration;
1950
1951 Aws::String m_serverlessV2PlatformVersion;
1952
1953 int m_monitoringInterval{0};
1954
1955 Aws::String m_monitoringRoleArn;
1956
1958
1959 bool m_performanceInsightsEnabled{false};
1960
1961 Aws::String m_performanceInsightsKMSKeyId;
1962
1963 int m_performanceInsightsRetentionPeriod{0};
1964
1965 Aws::String m_dBSystemId;
1966
1967 MasterUserSecret m_masterUserSecret;
1968
1970
1971 Aws::String m_awsBackupRecoveryPointArn;
1972
1973 LimitlessDatabase m_limitlessDatabase;
1974
1976
1977 CertificateDetails m_certificateDetails;
1978
1979 Aws::String m_engineLifecycleSupport;
1980
1981 bool m_vPCNetworkingEnabled{false};
1982
1983 bool m_internetAccessGatewayEnabled{false};
1984 bool m_allocatedStorageHasBeenSet = false;
1985 bool m_availabilityZonesHasBeenSet = false;
1986 bool m_backupRetentionPeriodHasBeenSet = false;
1987 bool m_characterSetNameHasBeenSet = false;
1988 bool m_databaseNameHasBeenSet = false;
1989 bool m_dBClusterIdentifierHasBeenSet = false;
1990 bool m_dBClusterParameterGroupHasBeenSet = false;
1991 bool m_dBSubnetGroupHasBeenSet = false;
1992 bool m_statusHasBeenSet = false;
1993 bool m_percentProgressHasBeenSet = false;
1994 bool m_earliestRestorableTimeHasBeenSet = false;
1995 bool m_endpointHasBeenSet = false;
1996 bool m_readerEndpointHasBeenSet = false;
1997 bool m_customEndpointsHasBeenSet = false;
1998 bool m_multiAZHasBeenSet = false;
1999 bool m_engineHasBeenSet = false;
2000 bool m_engineVersionHasBeenSet = false;
2001 bool m_latestRestorableTimeHasBeenSet = false;
2002 bool m_portHasBeenSet = false;
2003 bool m_masterUsernameHasBeenSet = false;
2004 bool m_dBClusterOptionGroupMembershipsHasBeenSet = false;
2005 bool m_preferredBackupWindowHasBeenSet = false;
2006 bool m_preferredMaintenanceWindowHasBeenSet = false;
2007 bool m_upgradeRolloutOrderHasBeenSet = false;
2008 bool m_replicationSourceIdentifierHasBeenSet = false;
2009 bool m_readReplicaIdentifiersHasBeenSet = false;
2010 bool m_statusInfosHasBeenSet = false;
2011 bool m_dBClusterMembersHasBeenSet = false;
2012 bool m_vpcSecurityGroupsHasBeenSet = false;
2013 bool m_hostedZoneIdHasBeenSet = false;
2014 bool m_storageEncryptedHasBeenSet = false;
2015 bool m_storageEncryptionTypeHasBeenSet = false;
2016 bool m_kmsKeyIdHasBeenSet = false;
2017 bool m_dbClusterResourceIdHasBeenSet = false;
2018 bool m_dBClusterArnHasBeenSet = false;
2019 bool m_associatedRolesHasBeenSet = false;
2020 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
2021 bool m_cloneGroupIdHasBeenSet = false;
2022 bool m_clusterCreateTimeHasBeenSet = false;
2023 bool m_earliestBacktrackTimeHasBeenSet = false;
2024 bool m_backtrackWindowHasBeenSet = false;
2025 bool m_backtrackConsumedChangeRecordsHasBeenSet = false;
2026 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
2027 bool m_capacityHasBeenSet = false;
2028 bool m_pendingModifiedValuesHasBeenSet = false;
2029 bool m_engineModeHasBeenSet = false;
2030 bool m_scalingConfigurationInfoHasBeenSet = false;
2031 bool m_rdsCustomClusterConfigurationHasBeenSet = false;
2032 bool m_dBClusterInstanceClassHasBeenSet = false;
2033 bool m_storageTypeHasBeenSet = false;
2034 bool m_iopsHasBeenSet = false;
2035 bool m_storageThroughputHasBeenSet = false;
2036 bool m_iOOptimizedNextAllowedModificationTimeHasBeenSet = false;
2037 bool m_publiclyAccessibleHasBeenSet = false;
2038 bool m_autoMinorVersionUpgradeHasBeenSet = false;
2039 bool m_deletionProtectionHasBeenSet = false;
2040 bool m_httpEndpointEnabledHasBeenSet = false;
2041 bool m_activityStreamModeHasBeenSet = false;
2042 bool m_activityStreamStatusHasBeenSet = false;
2043 bool m_activityStreamKmsKeyIdHasBeenSet = false;
2044 bool m_activityStreamKinesisStreamNameHasBeenSet = false;
2045 bool m_copyTagsToSnapshotHasBeenSet = false;
2046 bool m_crossAccountCloneHasBeenSet = false;
2047 bool m_domainMembershipsHasBeenSet = false;
2048 bool m_tagListHasBeenSet = false;
2049 bool m_globalClusterIdentifierHasBeenSet = false;
2050 bool m_globalWriteForwardingStatusHasBeenSet = false;
2051 bool m_globalWriteForwardingRequestedHasBeenSet = false;
2052 bool m_networkTypeHasBeenSet = false;
2053 bool m_automaticRestartTimeHasBeenSet = false;
2054 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
2055 bool m_serverlessV2PlatformVersionHasBeenSet = false;
2056 bool m_monitoringIntervalHasBeenSet = false;
2057 bool m_monitoringRoleArnHasBeenSet = false;
2058 bool m_databaseInsightsModeHasBeenSet = false;
2059 bool m_performanceInsightsEnabledHasBeenSet = false;
2060 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
2061 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
2062 bool m_dBSystemIdHasBeenSet = false;
2063 bool m_masterUserSecretHasBeenSet = false;
2064 bool m_localWriteForwardingStatusHasBeenSet = false;
2065 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
2066 bool m_limitlessDatabaseHasBeenSet = false;
2067 bool m_clusterScalabilityTypeHasBeenSet = false;
2068 bool m_certificateDetailsHasBeenSet = false;
2069 bool m_engineLifecycleSupportHasBeenSet = false;
2070 bool m_vPCNetworkingEnabledHasBeenSet = false;
2071 bool m_internetAccessGatewayEnabledHasBeenSet = false;
2072};
2073
2074} // namespace Model
2075} // namespace RDS
2076} // namespace Aws
void SetBacktrackWindow(long long value)
Definition DBCluster.h:891
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:498
bool GetGlobalWriteForwardingRequested() const
Definition DBCluster.h:1414
const Aws::String & GetDatabaseName() const
Definition DBCluster.h:164
void SetTagList(TagListT &&value)
Definition DBCluster.h:1354
void SetNetworkType(NetworkTypeT &&value)
Definition DBCluster.h:1440
const Aws::String & GetServerlessV2PlatformVersion() const
Definition DBCluster.h:1494
DBCluster & AddAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:797
void SetAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:787
void SetEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:399
void SetActivityStreamStatus(ActivityStreamStatus value)
Definition DBCluster.h:1241
void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
Definition DBCluster.h:1589
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:657
bool ClusterScalabilityTypeHasBeenSet() const
Definition DBCluster.h:1727
void SetPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:259
void SetEngineLifecycleSupport(EngineLifecycleSupportT &&value)
Definition DBCluster.h:1762
DBCluster & AddAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:116
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool UpgradeRolloutOrderHasBeenSet() const
Definition DBCluster.h:537
void SetHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:671
void SetClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:854
DBCluster & WithEndpoint(EndpointT &&value)
Definition DBCluster.h:301
const Aws::String & GetEndpoint() const
Definition DBCluster.h:293
bool PendingModifiedValuesHasBeenSet() const
Definition DBCluster.h:972
const Aws::String & GetReaderEndpoint() const
Definition DBCluster.h:319
DBCluster & WithBacktrackConsumedChangeRecords(long long value)
Definition DBCluster.h:911
const Aws::String & GetActivityStreamKmsKeyId() const
Definition DBCluster.h:1257
void SetStatus(StatusT &&value)
Definition DBCluster.h:241
bool ClusterCreateTimeHasBeenSet() const
Definition DBCluster.h:852
DBCluster & WithActivityStreamKmsKeyId(ActivityStreamKmsKeyIdT &&value)
Definition DBCluster.h:1265
void SetCapacity(int value)
Definition DBCluster.h:955
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:647
bool ActivityStreamKinesisStreamNameHasBeenSet() const
Definition DBCluster.h:1277
bool EndpointHasBeenSet() const
Definition DBCluster.h:294
void SetLimitlessDatabase(LimitlessDatabaseT &&value)
Definition DBCluster.h:1708
bool ScalingConfigurationInfoHasBeenSet() const
Definition DBCluster.h:1009
DBCluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:522
bool BacktrackConsumedChangeRecordsHasBeenSet() const
Definition DBCluster.h:906
DBCluster & WithIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:815
void SetStorageThroughput(int value)
Definition DBCluster.h:1102
void SetPerformanceInsightsRetentionPeriod(int value)
Definition DBCluster.h:1612
void SetDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:204
bool TagListHasBeenSet() const
Definition DBCluster.h:1352
void SetGlobalWriteForwardingRequested(bool value)
Definition DBCluster.h:1416
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBCluster.h:926
bool BacktrackWindowHasBeenSet() const
Definition DBCluster.h:890
DBCluster & WithDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:209
bool HttpEndpointEnabledHasBeenSet() const
Definition DBCluster.h:1206
DBCluster & WithAllocatedStorage(int value)
Definition DBCluster.h:92
DBCluster & AddDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:633
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:1379
DBCluster & WithEngine(EngineT &&value)
Definition DBCluster.h:386
DBCluster & WithPort(int value)
Definition DBCluster.h:439
void SetKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:728
DBCluster & WithLocalWriteForwardingStatus(LocalWriteForwardingStatus value)
Definition DBCluster.h:1676
const Aws::String & GetDBSystemId() const
Definition DBCluster.h:1626
DBCluster & WithClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:859
DBCluster & WithStorageEncryptionType(StorageEncryptionType value)
Definition DBCluster.h:713
int GetBackupRetentionPeriod() const
Definition DBCluster.h:127
bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const
Definition DBCluster.h:1119
bool CustomEndpointsHasBeenSet() const
Definition DBCluster.h:338
DBCluster & WithActivityStreamMode(ActivityStreamMode value)
Definition DBCluster.h:1229
void SetEngineMode(EngineModeT &&value)
Definition DBCluster.h:995
DBCluster & WithStorageThroughput(int value)
Definition DBCluster.h:1106
DBCluster & WithMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:457
void SetServerlessV2PlatformVersion(ServerlessV2PlatformVersionT &&value)
Definition DBCluster.h:1497
long long GetBacktrackWindow() const
Definition DBCluster.h:889
void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:472
bool MasterUsernameHasBeenSet() const
Definition DBCluster.h:450
DBCluster & WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:1126
DBCluster & WithVPCNetworkingEnabled(bool value)
Definition DBCluster.h:1785
bool PortHasBeenSet() const
Definition DBCluster.h:434
void SetDeletionProtection(bool value)
Definition DBCluster.h:1185
DBCluster & WithStorageType(StorageTypeT &&value)
Definition DBCluster.h:1071
bool EngineVersionHasBeenSet() const
Definition DBCluster.h:397
void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
Definition DBCluster.h:1029
int GetAllocatedStorage() const
Definition DBCluster.h:86
DBCluster & WithCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:840
DBCluster & WithPerformanceInsightsEnabled(bool value)
Definition DBCluster.h:1573
void SetMonitoringRoleArn(MonitoringRoleArnT &&value)
Definition DBCluster.h:1535
const Aws::String & GetDBSubnetGroup() const
Definition DBCluster.h:220
void SetMultiAZ(bool value)
Definition DBCluster.h:364
AWS_RDS_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
DBCluster & WithPubliclyAccessible(bool value)
Definition DBCluster.h:1152
const Aws::String & GetStatus() const
Definition DBCluster.h:238
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBCluster.h:925
void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:575
DBCluster & WithScalingConfigurationInfo(ScalingConfigurationInfoT &&value)
Definition DBCluster.h:1016
DBCluster & WithDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:228
bool HostedZoneIdHasBeenSet() const
Definition DBCluster.h:669
DBCluster & WithEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:404
bool GlobalWriteForwardingRequestedHasBeenSet() const
Definition DBCluster.h:1415
void SetCustomEndpoints(CustomEndpointsT &&value)
Definition DBCluster.h:340
void SetDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:623
bool GetCrossAccountClone() const
Definition DBCluster.h:1312
DBCluster & WithInternetAccessGatewayEnabled(bool value)
Definition DBCluster.h:1803
const Aws::String & GetNetworkType() const
Definition DBCluster.h:1437
bool StorageThroughputHasBeenSet() const
Definition DBCluster.h:1101
DBCluster & WithLimitlessDatabase(LimitlessDatabaseT &&value)
Definition DBCluster.h:1713
const Aws::String & GetStorageType() const
Definition DBCluster.h:1063
bool GetHttpEndpointEnabled() const
Definition DBCluster.h:1205
int GetStorageThroughput() const
Definition DBCluster.h:1100
DBCluster & WithEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:283
const Aws::String & GetDBClusterIdentifier() const
Definition DBCluster.h:183
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:556
const Aws::String & GetPreferredBackupWindow() const
Definition DBCluster.h:495
const Aws::String & GetCloneGroupId() const
Definition DBCluster.h:832
DBCluster & AddCustomEndpoints(CustomEndpointsT &&value)
Definition DBCluster.h:350
const RdsCustomClusterConfiguration & GetRdsCustomClusterConfiguration() const
Definition DBCluster.h:1026
void SetLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:418
bool AvailabilityZonesHasBeenSet() const
Definition DBCluster.h:104
DBCluster & WithCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:152
ClusterScalabilityType GetClusterScalabilityType() const
Definition DBCluster.h:1726
DBCluster & WithReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:327
DBCluster & WithDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:753
void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:928
void SetDBClusterInstanceClass(DBClusterInstanceClassT &&value)
Definition DBCluster.h:1048
DBCluster & WithKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:733
void SetEndpoint(EndpointT &&value)
Definition DBCluster.h:296
DBCluster & WithTagList(TagListT &&value)
Definition DBCluster.h:1359
LocalWriteForwardingStatus GetLocalWriteForwardingStatus() const
Definition DBCluster.h:1670
void SetMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:452
DBCluster & WithAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:111
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetPercentProgress() const
Definition DBCluster.h:256
DBCluster & WithGlobalWriteForwardingStatus(WriteForwardingStatus value)
Definition DBCluster.h:1401
DBCluster & AddDomainMemberships(DomainMembershipsT &&value)
Definition DBCluster.h:1342
bool LatestRestorableTimeHasBeenSet() const
Definition DBCluster.h:416
const Aws::String & GetDBClusterParameterGroup() const
Definition DBCluster.h:201
bool StatusHasBeenSet() const
Definition DBCluster.h:239
DBCluster & WithNetworkType(NetworkTypeT &&value)
Definition DBCluster.h:1445
DBCluster & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:191
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:186
bool GlobalClusterIdentifierHasBeenSet() const
Definition DBCluster.h:1377
void SetCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:835
bool DBSystemIdHasBeenSet() const
Definition DBCluster.h:1627
DBCluster & WithEngineLifecycleSupport(EngineLifecycleSupportT &&value)
Definition DBCluster.h:1767
bool CertificateDetailsHasBeenSet() const
Definition DBCluster.h:1741
DBCluster & WithIops(int value)
Definition DBCluster.h:1088
bool EngineModeHasBeenSet() const
Definition DBCluster.h:993
ActivityStreamStatus GetActivityStreamStatus() const
Definition DBCluster.h:1239
const Aws::String & GetAwsBackupRecoveryPointArn() const
Definition DBCluster.h:1687
bool GetPerformanceInsightsEnabled() const
Definition DBCluster.h:1567
void SetBacktrackConsumedChangeRecords(long long value)
Definition DBCluster.h:907
void SetDomainMemberships(DomainMembershipsT &&value)
Definition DBCluster.h:1332
DBCluster & WithDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:771
const Aws::String & GetDBClusterInstanceClass() const
Definition DBCluster.h:1045
void SetIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:811
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBCluster.h:514
void SetAutoMinorVersionUpgrade(bool value)
Definition DBCluster.h:1168
DBCluster & WithServerlessV2PlatformVersion(ServerlessV2PlatformVersionT &&value)
Definition DBCluster.h:1502
DBCluster & WithPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:264
DBCluster & WithAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:792
bool DBClusterMembersHasBeenSet() const
Definition DBCluster.h:621
bool EngineHasBeenSet() const
Definition DBCluster.h:379
UpgradeRolloutOrder GetUpgradeRolloutOrder() const
Definition DBCluster.h:536
bool RdsCustomClusterConfigurationHasBeenSet() const
Definition DBCluster.h:1027
DBCluster & WithMultiAZ(bool value)
Definition DBCluster.h:368
const Aws::Utils::DateTime & GetIOOptimizedNextAllowedModificationTime() const
Definition DBCluster.h:1118
DBCluster & WithDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:628
int GetMonitoringInterval() const
Definition DBCluster.h:1514
int GetPerformanceInsightsRetentionPeriod() const
Definition DBCluster.h:1610
void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:1121
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:517
const Aws::String & GetMonitoringRoleArn() const
Definition DBCluster.h:1532
void SetIops(int value)
Definition DBCluster.h:1084
const Aws::String & GetMasterUsername() const
Definition DBCluster.h:449
DBCluster & WithHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:676
bool MonitoringRoleArnHasBeenSet() const
Definition DBCluster.h:1533
bool KmsKeyIdHasBeenSet() const
Definition DBCluster.h:726
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBCluster.h:644
DBCluster & AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:938
void SetReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:322
const CertificateDetails & GetCertificateDetails() const
Definition DBCluster.h:1740
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
Definition DBCluster.h:572
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
Definition DBCluster.h:784
bool GlobalWriteForwardingStatusHasBeenSet() const
Definition DBCluster.h:1396
DBCluster & WithAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:1463
void SetVPCNetworkingEnabled(bool value)
Definition DBCluster.h:1781
bool StatusInfosHasBeenSet() const
Definition DBCluster.h:597
bool GetStorageEncrypted() const
Definition DBCluster.h:686
const Aws::String & GetGlobalClusterIdentifier() const
Definition DBCluster.h:1376
long long GetBacktrackConsumedChangeRecords() const
Definition DBCluster.h:905
bool ActivityStreamStatusHasBeenSet() const
Definition DBCluster.h:1240
const Aws::String & GetKmsKeyId() const
Definition DBCluster.h:725
const Aws::String & GetCharacterSetName() const
Definition DBCluster.h:144
const Aws::String & GetEngine() const
Definition DBCluster.h:378
void SetDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:167
void SetUpgradeRolloutOrder(UpgradeRolloutOrder value)
Definition DBCluster.h:538
const Aws::Vector< Aws::String > & GetCustomEndpoints() const
Definition DBCluster.h:337
DBCluster & AddStatusInfos(StatusInfosT &&value)
Definition DBCluster.h:609
DBCluster & WithLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:423
bool AutoMinorVersionUpgradeHasBeenSet() const
Definition DBCluster.h:1167
void SetStatusInfos(StatusInfosT &&value)
Definition DBCluster.h:599
bool StorageTypeHasBeenSet() const
Definition DBCluster.h:1064
AWS_RDS_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCrossAccountClone(bool value)
Definition DBCluster.h:1314
void SetStorageEncrypted(bool value)
Definition DBCluster.h:688
void SetDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:223
void SetAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:106
void SetStorageEncryptionType(StorageEncryptionType value)
Definition DBCluster.h:709
DBCluster & WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:933
bool DBClusterOptionGroupMembershipsHasBeenSet() const
Definition DBCluster.h:470
bool BackupRetentionPeriodHasBeenSet() const
Definition DBCluster.h:128
bool PerformanceInsightsEnabledHasBeenSet() const
Definition DBCluster.h:1568
DBCluster & WithDomainMemberships(DomainMembershipsT &&value)
Definition DBCluster.h:1337
bool DBClusterArnHasBeenSet() const
Definition DBCluster.h:764
void SetDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:766
DBCluster & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
Definition DBCluster.h:1540
void SetMasterUserSecret(MasterUserSecretT &&value)
Definition DBCluster.h:1654
DBCluster & WithPerformanceInsightsRetentionPeriod(int value)
Definition DBCluster.h:1616
DBCluster & WithCopyTagsToSnapshot(bool value)
Definition DBCluster.h:1301
void SetAllocatedStorage(int value)
Definition DBCluster.h:88
bool MasterUserSecretHasBeenSet() const
Definition DBCluster.h:1652
void SetActivityStreamMode(ActivityStreamMode value)
Definition DBCluster.h:1225
bool GetDeletionProtection() const
Definition DBCluster.h:1183
DBCluster & WithBackupRetentionPeriod(int value)
Definition DBCluster.h:133
bool ActivityStreamKmsKeyIdHasBeenSet() const
Definition DBCluster.h:1258
DBCluster & WithEngineMode(EngineModeT &&value)
Definition DBCluster.h:1000
bool ServerlessV2ScalingConfigurationHasBeenSet() const
Definition DBCluster.h:1474
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:1476
void SetClusterScalabilityType(ClusterScalabilityType value)
Definition DBCluster.h:1728
bool DBClusterParameterGroupHasBeenSet() const
Definition DBCluster.h:202
DBCluster & WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:477
void SetBackupRetentionPeriod(int value)
Definition DBCluster.h:129
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBCluster.h:515
void SetHttpEndpointEnabled(bool value)
Definition DBCluster.h:1207
bool ReplicationSourceIdentifierHasBeenSet() const
Definition DBCluster.h:554
DBCluster & WithStorageEncrypted(bool value)
Definition DBCluster.h:692
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:748
bool StorageEncryptedHasBeenSet() const
Definition DBCluster.h:687
DBCluster & WithMasterUserSecret(MasterUserSecretT &&value)
Definition DBCluster.h:1659
void SetEngine(EngineT &&value)
Definition DBCluster.h:381
const ServerlessV2ScalingConfigurationInfo & GetServerlessV2ScalingConfiguration() const
Definition DBCluster.h:1471
DBCluster & WithCapacity(int value)
Definition DBCluster.h:959
StorageEncryptionType GetStorageEncryptionType() const
Definition DBCluster.h:707
DBCluster & WithAutoMinorVersionUpgrade(bool value)
Definition DBCluster.h:1172
bool PubliclyAccessibleHasBeenSet() const
Definition DBCluster.h:1147
bool CopyTagsToSnapshotHasBeenSet() const
Definition DBCluster.h:1296
bool PerformanceInsightsKMSKeyIdHasBeenSet() const
Definition DBCluster.h:1587
AWS_RDS_API DBCluster()=default
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:974
DBCluster & WithMonitoringInterval(int value)
Definition DBCluster.h:1520
DBCluster & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:652
DBCluster & AddReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:585
bool EarliestRestorableTimeHasBeenSet() const
Definition DBCluster.h:276
ActivityStreamMode GetActivityStreamMode() const
Definition DBCluster.h:1223
const Aws::String & GetDBClusterArn() const
Definition DBCluster.h:763
bool ActivityStreamModeHasBeenSet() const
Definition DBCluster.h:1224
DBCluster & WithDeletionProtection(bool value)
Definition DBCluster.h:1189
bool VpcSecurityGroupsHasBeenSet() const
Definition DBCluster.h:645
const ScalingConfigurationInfo & GetScalingConfigurationInfo() const
Definition DBCluster.h:1008
DBCluster & AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:482
bool MultiAZHasBeenSet() const
Definition DBCluster.h:363
bool DBClusterInstanceClassHasBeenSet() const
Definition DBCluster.h:1046
DBCluster & WithClusterScalabilityType(ClusterScalabilityType value)
Definition DBCluster.h:1732
const Aws::String & GetEngineMode() const
Definition DBCluster.h:992
bool DatabaseInsightsModeHasBeenSet() const
Definition DBCluster.h:1551
bool GetCopyTagsToSnapshot() const
Definition DBCluster.h:1295
bool ServerlessV2PlatformVersionHasBeenSet() const
Definition DBCluster.h:1495
bool CapacityHasBeenSet() const
Definition DBCluster.h:954
void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
Definition DBCluster.h:1690
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition DBCluster.h:103
void SetCertificateDetails(CertificateDetailsT &&value)
Definition DBCluster.h:1743
bool GetIAMDatabaseAuthenticationEnabled() const
Definition DBCluster.h:809
void SetScalingConfigurationInfo(ScalingConfigurationInfoT &&value)
Definition DBCluster.h:1011
void SetEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:278
const Aws::Utils::DateTime & GetAutomaticRestartTime() const
Definition DBCluster.h:1455
const Aws::Vector< DomainMembership > & GetDomainMemberships() const
Definition DBCluster.h:1329
bool AllocatedStorageHasBeenSet() const
Definition DBCluster.h:87
bool LocalWriteForwardingStatusHasBeenSet() const
Definition DBCluster.h:1671
const Aws::String & GetPerformanceInsightsKMSKeyId() const
Definition DBCluster.h:1586
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
Definition DBCluster.h:620
DBCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:1384
bool CrossAccountCloneHasBeenSet() const
Definition DBCluster.h:1313
void SetEarliestBacktrackTime(EarliestBacktrackTimeT &&value)
Definition DBCluster.h:872
const ClusterPendingModifiedValues & GetPendingModifiedValues() const
Definition DBCluster.h:971
bool DomainMembershipsHasBeenSet() const
Definition DBCluster.h:1330
const Aws::String & GetActivityStreamKinesisStreamName() const
Definition DBCluster.h:1276
DBCluster & WithGlobalWriteForwardingRequested(bool value)
Definition DBCluster.h:1420
DatabaseInsightsMode GetDatabaseInsightsMode() const
Definition DBCluster.h:1550
DBCluster & WithDBSystemId(DBSystemIdT &&value)
Definition DBCluster.h:1634
bool VPCNetworkingEnabledHasBeenSet() const
Definition DBCluster.h:1780
const Aws::Vector< Tag > & GetTagList() const
Definition DBCluster.h:1351
bool PreferredBackupWindowHasBeenSet() const
Definition DBCluster.h:496
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
Definition DBCluster.h:810
void SetMonitoringInterval(int value)
Definition DBCluster.h:1516
void SetCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:147
const MasterUserSecret & GetMasterUserSecret() const
Definition DBCluster.h:1651
bool DbClusterResourceIdHasBeenSet() const
Definition DBCluster.h:746
const Aws::String & GetReplicationSourceIdentifier() const
Definition DBCluster.h:553
DBCluster & WithActivityStreamKinesisStreamName(ActivityStreamKinesisStreamNameT &&value)
Definition DBCluster.h:1284
bool StorageEncryptionTypeHasBeenSet() const
Definition DBCluster.h:708
const Aws::String & GetHostedZoneId() const
Definition DBCluster.h:668
bool GetInternetAccessGatewayEnabled() const
Definition DBCluster.h:1797
DBCluster & WithReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:580
bool PercentProgressHasBeenSet() const
Definition DBCluster.h:257
bool InternetAccessGatewayEnabledHasBeenSet() const
Definition DBCluster.h:1798
bool AutomaticRestartTimeHasBeenSet() const
Definition DBCluster.h:1456
DBCluster & WithEarliestBacktrackTime(EarliestBacktrackTimeT &&value)
Definition DBCluster.h:877
const Aws::String & GetEngineVersion() const
Definition DBCluster.h:396
bool AwsBackupRecoveryPointArnHasBeenSet() const
Definition DBCluster.h:1688
bool CharacterSetNameHasBeenSet() const
Definition DBCluster.h:145
bool DatabaseNameHasBeenSet() const
Definition DBCluster.h:165
bool CloneGroupIdHasBeenSet() const
Definition DBCluster.h:833
void SetActivityStreamKmsKeyId(ActivityStreamKmsKeyIdT &&value)
Definition DBCluster.h:1260
void SetPort(int value)
Definition DBCluster.h:435
DBCluster & WithActivityStreamStatus(ActivityStreamStatus value)
Definition DBCluster.h:1245
bool MonitoringIntervalHasBeenSet() const
Definition DBCluster.h:1515
void SetDBSystemId(DBSystemIdT &&value)
Definition DBCluster.h:1629
DBCluster & WithHttpEndpointEnabled(bool value)
Definition DBCluster.h:1211
bool EarliestBacktrackTimeHasBeenSet() const
Definition DBCluster.h:870
bool GetVPCNetworkingEnabled() const
Definition DBCluster.h:1779
void SetLocalWriteForwardingStatus(LocalWriteForwardingStatus value)
Definition DBCluster.h:1672
bool PerformanceInsightsRetentionPeriodHasBeenSet() const
Definition DBCluster.h:1611
void SetGlobalWriteForwardingStatus(WriteForwardingStatus value)
Definition DBCluster.h:1397
void SetStorageType(StorageTypeT &&value)
Definition DBCluster.h:1066
DBCluster & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:503
DBCluster & WithBacktrackWindow(long long value)
Definition DBCluster.h:895
bool LimitlessDatabaseHasBeenSet() const
Definition DBCluster.h:1706
DBCluster & WithCustomEndpoints(CustomEndpointsT &&value)
Definition DBCluster.h:345
DBCluster & WithPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:979
DBCluster & WithCrossAccountClone(bool value)
Definition DBCluster.h:1318
bool EngineLifecycleSupportHasBeenSet() const
Definition DBCluster.h:1760
DBCluster & WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
Definition DBCluster.h:1034
const Aws::Utils::DateTime & GetEarliestBacktrackTime() const
Definition DBCluster.h:869
DBCluster & WithUpgradeRolloutOrder(UpgradeRolloutOrder value)
Definition DBCluster.h:542
const LimitlessDatabase & GetLimitlessDatabase() const
Definition DBCluster.h:1705
bool GetAutoMinorVersionUpgrade() const
Definition DBCluster.h:1166
bool DeletionProtectionHasBeenSet() const
Definition DBCluster.h:1184
void SetPerformanceInsightsEnabled(bool value)
Definition DBCluster.h:1569
const Aws::String & GetDbClusterResourceId() const
Definition DBCluster.h:745
DBCluster & WithDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:172
DBCluster & WithStatus(StatusT &&value)
Definition DBCluster.h:246
bool AssociatedRolesHasBeenSet() const
Definition DBCluster.h:785
DBCluster & WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
Definition DBCluster.h:1695
void SetInternetAccessGatewayEnabled(bool value)
Definition DBCluster.h:1799
DBCluster & WithDBClusterInstanceClass(DBClusterInstanceClassT &&value)
Definition DBCluster.h:1053
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
Definition DBCluster.h:275
bool DBClusterIdentifierHasBeenSet() const
Definition DBCluster.h:184
const Aws::Vector< DBClusterStatusInfo > & GetStatusInfos() const
Definition DBCluster.h:596
const Aws::String & GetEngineLifecycleSupport() const
Definition DBCluster.h:1759
void SetActivityStreamKinesisStreamName(ActivityStreamKinesisStreamNameT &&value)
Definition DBCluster.h:1279
DBCluster & WithCertificateDetails(CertificateDetailsT &&value)
Definition DBCluster.h:1748
DBCluster & WithStatusInfos(StatusInfosT &&value)
Definition DBCluster.h:604
void SetCopyTagsToSnapshot(bool value)
Definition DBCluster.h:1297
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition DBCluster.h:851
void SetDatabaseInsightsMode(DatabaseInsightsMode value)
Definition DBCluster.h:1552
const Aws::Vector< DBClusterOptionGroupStatus > & GetDBClusterOptionGroupMemberships() const
Definition DBCluster.h:467
void SetPubliclyAccessible(bool value)
Definition DBCluster.h:1148
bool ReadReplicaIdentifiersHasBeenSet() const
Definition DBCluster.h:573
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBCluster.h:415
DBCluster & WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
Definition DBCluster.h:1594
void SetAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:1458
WriteForwardingStatus GetGlobalWriteForwardingStatus() const
Definition DBCluster.h:1395
bool NetworkTypeHasBeenSet() const
Definition DBCluster.h:1438
DBCluster & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:561
DBCluster & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:1481
bool GetPubliclyAccessible() const
Definition DBCluster.h:1146
DBCluster & WithDatabaseInsightsMode(DatabaseInsightsMode value)
Definition DBCluster.h:1556
DBCluster & AddTagList(TagListT &&value)
Definition DBCluster.h:1364
bool DBSubnetGroupHasBeenSet() const
Definition DBCluster.h:221
bool ReaderEndpointHasBeenSet() const
Definition DBCluster.h:320
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