AWS SDK for C++

AWS SDK for C++ Version 1.11.683

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/neptune/Neptune_EXPORTS.h>
12#include <aws/neptune/model/ClusterPendingModifiedValues.h>
13#include <aws/neptune/model/DBClusterMember.h>
14#include <aws/neptune/model/DBClusterOptionGroupStatus.h>
15#include <aws/neptune/model/DBClusterRole.h>
16#include <aws/neptune/model/ServerlessV2ScalingConfigurationInfo.h>
17#include <aws/neptune/model/VpcSecurityGroupMembership.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Xml {
24class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace Neptune {
28namespace Model {
29
37class DBCluster {
38 public:
39 AWS_NEPTUNE_API DBCluster() = default;
40 AWS_NEPTUNE_API DBCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_NEPTUNE_API DBCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
47
51 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
52 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
53 inline void SetAllocatedStorage(int value) {
54 m_allocatedStorageHasBeenSet = true;
55 m_allocatedStorage = value;
56 }
57 inline DBCluster& WithAllocatedStorage(int value) {
59 return *this;
60 }
62
64
68 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
69 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
70 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
71 void SetAvailabilityZones(AvailabilityZonesT&& value) {
72 m_availabilityZonesHasBeenSet = true;
73 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
74 }
75 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
76 DBCluster& WithAvailabilityZones(AvailabilityZonesT&& value) {
77 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
78 return *this;
79 }
80 template <typename AvailabilityZonesT = Aws::String>
81 DBCluster& AddAvailabilityZones(AvailabilityZonesT&& value) {
82 m_availabilityZonesHasBeenSet = true;
83 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
84 return *this;
85 }
87
89
93 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
94 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
95 inline void SetBackupRetentionPeriod(int value) {
96 m_backupRetentionPeriodHasBeenSet = true;
97 m_backupRetentionPeriod = value;
98 }
101 return *this;
102 }
104
106
109 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
110 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
111 template <typename CharacterSetNameT = Aws::String>
112 void SetCharacterSetName(CharacterSetNameT&& value) {
113 m_characterSetNameHasBeenSet = true;
114 m_characterSetName = std::forward<CharacterSetNameT>(value);
115 }
116 template <typename CharacterSetNameT = Aws::String>
117 DBCluster& WithCharacterSetName(CharacterSetNameT&& value) {
118 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
130 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
131 template <typename DatabaseNameT = Aws::String>
132 void SetDatabaseName(DatabaseNameT&& value) {
133 m_databaseNameHasBeenSet = true;
134 m_databaseName = std::forward<DatabaseNameT>(value);
135 }
136 template <typename DatabaseNameT = Aws::String>
137 DBCluster& WithDatabaseName(DatabaseNameT&& value) {
138 SetDatabaseName(std::forward<DatabaseNameT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
149 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
150 template <typename DBClusterIdentifierT = Aws::String>
151 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
152 m_dBClusterIdentifierHasBeenSet = true;
153 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
154 }
155 template <typename DBClusterIdentifierT = Aws::String>
156 DBCluster& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
157 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetDBClusterParameterGroup() const { return m_dBClusterParameterGroup; }
167 inline bool DBClusterParameterGroupHasBeenSet() const { return m_dBClusterParameterGroupHasBeenSet; }
168 template <typename DBClusterParameterGroupT = Aws::String>
169 void SetDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
170 m_dBClusterParameterGroupHasBeenSet = true;
171 m_dBClusterParameterGroup = std::forward<DBClusterParameterGroupT>(value);
172 }
173 template <typename DBClusterParameterGroupT = Aws::String>
174 DBCluster& WithDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
175 SetDBClusterParameterGroup(std::forward<DBClusterParameterGroupT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::String& GetDBSubnetGroup() const { return m_dBSubnetGroup; }
186 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
187 template <typename DBSubnetGroupT = Aws::String>
188 void SetDBSubnetGroup(DBSubnetGroupT&& value) {
189 m_dBSubnetGroupHasBeenSet = true;
190 m_dBSubnetGroup = std::forward<DBSubnetGroupT>(value);
191 }
192 template <typename DBSubnetGroupT = Aws::String>
193 DBCluster& WithDBSubnetGroup(DBSubnetGroupT&& value) {
194 SetDBSubnetGroup(std::forward<DBSubnetGroupT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::String& GetStatus() const { return m_status; }
204 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
205 template <typename StatusT = Aws::String>
206 void SetStatus(StatusT&& value) {
207 m_statusHasBeenSet = true;
208 m_status = std::forward<StatusT>(value);
209 }
210 template <typename StatusT = Aws::String>
211 DBCluster& WithStatus(StatusT&& value) {
212 SetStatus(std::forward<StatusT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::String& GetPercentProgress() const { return m_percentProgress; }
222 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
223 template <typename PercentProgressT = Aws::String>
224 void SetPercentProgress(PercentProgressT&& value) {
225 m_percentProgressHasBeenSet = true;
226 m_percentProgress = std::forward<PercentProgressT>(value);
227 }
228 template <typename PercentProgressT = Aws::String>
229 DBCluster& WithPercentProgress(PercentProgressT&& value) {
230 SetPercentProgress(std::forward<PercentProgressT>(value));
231 return *this;
232 }
234
236
240 inline const Aws::Utils::DateTime& GetEarliestRestorableTime() const { return m_earliestRestorableTime; }
241 inline bool EarliestRestorableTimeHasBeenSet() const { return m_earliestRestorableTimeHasBeenSet; }
242 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
243 void SetEarliestRestorableTime(EarliestRestorableTimeT&& value) {
244 m_earliestRestorableTimeHasBeenSet = true;
245 m_earliestRestorableTime = std::forward<EarliestRestorableTimeT>(value);
246 }
247 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
248 DBCluster& WithEarliestRestorableTime(EarliestRestorableTimeT&& value) {
249 SetEarliestRestorableTime(std::forward<EarliestRestorableTimeT>(value));
250 return *this;
251 }
253
255
259 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
260 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
261 template <typename EndpointT = Aws::String>
262 void SetEndpoint(EndpointT&& value) {
263 m_endpointHasBeenSet = true;
264 m_endpoint = std::forward<EndpointT>(value);
265 }
266 template <typename EndpointT = Aws::String>
267 DBCluster& WithEndpoint(EndpointT&& value) {
268 SetEndpoint(std::forward<EndpointT>(value));
269 return *this;
270 }
272
274
285 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
286 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
287 template <typename ReaderEndpointT = Aws::String>
288 void SetReaderEndpoint(ReaderEndpointT&& value) {
289 m_readerEndpointHasBeenSet = true;
290 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
291 }
292 template <typename ReaderEndpointT = Aws::String>
293 DBCluster& WithReaderEndpoint(ReaderEndpointT&& value) {
294 SetReaderEndpoint(std::forward<ReaderEndpointT>(value));
295 return *this;
296 }
298
300
304 inline bool GetMultiAZ() const { return m_multiAZ; }
305 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
306 inline void SetMultiAZ(bool value) {
307 m_multiAZHasBeenSet = true;
308 m_multiAZ = value;
309 }
310 inline DBCluster& WithMultiAZ(bool value) {
311 SetMultiAZ(value);
312 return *this;
313 }
315
317
320 inline const Aws::String& GetEngine() const { return m_engine; }
321 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
322 template <typename EngineT = Aws::String>
323 void SetEngine(EngineT&& value) {
324 m_engineHasBeenSet = true;
325 m_engine = std::forward<EngineT>(value);
326 }
327 template <typename EngineT = Aws::String>
328 DBCluster& WithEngine(EngineT&& value) {
329 SetEngine(std::forward<EngineT>(value));
330 return *this;
331 }
333
335
338 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
339 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
340 template <typename EngineVersionT = Aws::String>
341 void SetEngineVersion(EngineVersionT&& value) {
342 m_engineVersionHasBeenSet = true;
343 m_engineVersion = std::forward<EngineVersionT>(value);
344 }
345 template <typename EngineVersionT = Aws::String>
346 DBCluster& WithEngineVersion(EngineVersionT&& value) {
347 SetEngineVersion(std::forward<EngineVersionT>(value));
348 return *this;
349 }
351
353
357 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const { return m_latestRestorableTime; }
358 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
359 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
360 void SetLatestRestorableTime(LatestRestorableTimeT&& value) {
361 m_latestRestorableTimeHasBeenSet = true;
362 m_latestRestorableTime = std::forward<LatestRestorableTimeT>(value);
363 }
364 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
365 DBCluster& WithLatestRestorableTime(LatestRestorableTimeT&& value) {
366 SetLatestRestorableTime(std::forward<LatestRestorableTimeT>(value));
367 return *this;
368 }
370
372
375 inline int GetPort() const { return m_port; }
376 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
377 inline void SetPort(int value) {
378 m_portHasBeenSet = true;
379 m_port = value;
380 }
381 inline DBCluster& WithPort(int value) {
382 SetPort(value);
383 return *this;
384 }
386
388
391 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
392 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
393 template <typename MasterUsernameT = Aws::String>
394 void SetMasterUsername(MasterUsernameT&& value) {
395 m_masterUsernameHasBeenSet = true;
396 m_masterUsername = std::forward<MasterUsernameT>(value);
397 }
398 template <typename MasterUsernameT = Aws::String>
399 DBCluster& WithMasterUsername(MasterUsernameT&& value) {
400 SetMasterUsername(std::forward<MasterUsernameT>(value));
401 return *this;
402 }
404
406
410 return m_dBClusterOptionGroupMemberships;
411 }
412 inline bool DBClusterOptionGroupMembershipsHasBeenSet() const { return m_dBClusterOptionGroupMembershipsHasBeenSet; }
413 template <typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
414 void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
415 m_dBClusterOptionGroupMembershipsHasBeenSet = true;
416 m_dBClusterOptionGroupMemberships = std::forward<DBClusterOptionGroupMembershipsT>(value);
417 }
418 template <typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
419 DBCluster& WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
420 SetDBClusterOptionGroupMemberships(std::forward<DBClusterOptionGroupMembershipsT>(value));
421 return *this;
422 }
423 template <typename DBClusterOptionGroupMembershipsT = DBClusterOptionGroupStatus>
424 DBCluster& AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) {
425 m_dBClusterOptionGroupMembershipsHasBeenSet = true;
426 m_dBClusterOptionGroupMemberships.emplace_back(std::forward<DBClusterOptionGroupMembershipsT>(value));
427 return *this;
428 }
430
432
437 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
438 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
439 template <typename PreferredBackupWindowT = Aws::String>
440 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
441 m_preferredBackupWindowHasBeenSet = true;
442 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
443 }
444 template <typename PreferredBackupWindowT = Aws::String>
445 DBCluster& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
446 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
447 return *this;
448 }
450
452
456 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
457 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
458 template <typename PreferredMaintenanceWindowT = Aws::String>
459 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
460 m_preferredMaintenanceWindowHasBeenSet = true;
461 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
462 }
463 template <typename PreferredMaintenanceWindowT = Aws::String>
464 DBCluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
465 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
466 return *this;
467 }
469
471
474 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
475 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
476 template <typename ReplicationSourceIdentifierT = Aws::String>
477 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
478 m_replicationSourceIdentifierHasBeenSet = true;
479 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
480 }
481 template <typename ReplicationSourceIdentifierT = Aws::String>
482 DBCluster& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
483 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
484 return *this;
485 }
487
489
493 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
494 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
495 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
496 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
497 m_readReplicaIdentifiersHasBeenSet = true;
498 m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value);
499 }
500 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
501 DBCluster& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
502 SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value));
503 return *this;
504 }
505 template <typename ReadReplicaIdentifiersT = Aws::String>
506 DBCluster& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
507 m_readReplicaIdentifiersHasBeenSet = true;
508 m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value));
509 return *this;
510 }
512
514
517 inline const Aws::Vector<DBClusterMember>& GetDBClusterMembers() const { return m_dBClusterMembers; }
518 inline bool DBClusterMembersHasBeenSet() const { return m_dBClusterMembersHasBeenSet; }
519 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
520 void SetDBClusterMembers(DBClusterMembersT&& value) {
521 m_dBClusterMembersHasBeenSet = true;
522 m_dBClusterMembers = std::forward<DBClusterMembersT>(value);
523 }
524 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
525 DBCluster& WithDBClusterMembers(DBClusterMembersT&& value) {
526 SetDBClusterMembers(std::forward<DBClusterMembersT>(value));
527 return *this;
528 }
529 template <typename DBClusterMembersT = DBClusterMember>
530 DBCluster& AddDBClusterMembers(DBClusterMembersT&& value) {
531 m_dBClusterMembersHasBeenSet = true;
532 m_dBClusterMembers.emplace_back(std::forward<DBClusterMembersT>(value));
533 return *this;
534 }
536
538
541 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
542 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
543 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
544 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
545 m_vpcSecurityGroupsHasBeenSet = true;
546 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
547 }
548 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
549 DBCluster& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
550 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
551 return *this;
552 }
553 template <typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
554 DBCluster& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
555 m_vpcSecurityGroupsHasBeenSet = true;
556 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
557 return *this;
558 }
560
562
566 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
567 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
568 template <typename HostedZoneIdT = Aws::String>
569 void SetHostedZoneId(HostedZoneIdT&& value) {
570 m_hostedZoneIdHasBeenSet = true;
571 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
572 }
573 template <typename HostedZoneIdT = Aws::String>
574 DBCluster& WithHostedZoneId(HostedZoneIdT&& value) {
575 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
576 return *this;
577 }
579
581
584 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
585 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
586 inline void SetStorageEncrypted(bool value) {
587 m_storageEncryptedHasBeenSet = true;
588 m_storageEncrypted = value;
589 }
590 inline DBCluster& WithStorageEncrypted(bool value) {
591 SetStorageEncrypted(value);
592 return *this;
593 }
595
597
601 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
602 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
603 template <typename KmsKeyIdT = Aws::String>
604 void SetKmsKeyId(KmsKeyIdT&& value) {
605 m_kmsKeyIdHasBeenSet = true;
606 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
607 }
608 template <typename KmsKeyIdT = Aws::String>
609 DBCluster& WithKmsKeyId(KmsKeyIdT&& value) {
610 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
611 return *this;
612 }
614
616
621 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
622 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
623 template <typename DbClusterResourceIdT = Aws::String>
624 void SetDbClusterResourceId(DbClusterResourceIdT&& value) {
625 m_dbClusterResourceIdHasBeenSet = true;
626 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
627 }
628 template <typename DbClusterResourceIdT = Aws::String>
629 DBCluster& WithDbClusterResourceId(DbClusterResourceIdT&& value) {
630 SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value));
631 return *this;
632 }
634
636
639 inline const Aws::String& GetDBClusterArn() const { return m_dBClusterArn; }
640 inline bool DBClusterArnHasBeenSet() const { return m_dBClusterArnHasBeenSet; }
641 template <typename DBClusterArnT = Aws::String>
642 void SetDBClusterArn(DBClusterArnT&& value) {
643 m_dBClusterArnHasBeenSet = true;
644 m_dBClusterArn = std::forward<DBClusterArnT>(value);
645 }
646 template <typename DBClusterArnT = Aws::String>
647 DBCluster& WithDBClusterArn(DBClusterArnT&& value) {
648 SetDBClusterArn(std::forward<DBClusterArnT>(value));
649 return *this;
650 }
652
654
660 inline const Aws::Vector<DBClusterRole>& GetAssociatedRoles() const { return m_associatedRoles; }
661 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
662 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
663 void SetAssociatedRoles(AssociatedRolesT&& value) {
664 m_associatedRolesHasBeenSet = true;
665 m_associatedRoles = std::forward<AssociatedRolesT>(value);
666 }
667 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
668 DBCluster& WithAssociatedRoles(AssociatedRolesT&& value) {
669 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
670 return *this;
671 }
672 template <typename AssociatedRolesT = DBClusterRole>
673 DBCluster& AddAssociatedRoles(AssociatedRolesT&& value) {
674 m_associatedRolesHasBeenSet = true;
675 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
676 return *this;
677 }
679
681
685 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
686 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
687 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
688 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
689 m_iAMDatabaseAuthenticationEnabled = value;
690 }
693 return *this;
694 }
696
698
701 inline const Aws::String& GetCloneGroupId() const { return m_cloneGroupId; }
702 inline bool CloneGroupIdHasBeenSet() const { return m_cloneGroupIdHasBeenSet; }
703 template <typename CloneGroupIdT = Aws::String>
704 void SetCloneGroupId(CloneGroupIdT&& value) {
705 m_cloneGroupIdHasBeenSet = true;
706 m_cloneGroupId = std::forward<CloneGroupIdT>(value);
707 }
708 template <typename CloneGroupIdT = Aws::String>
709 DBCluster& WithCloneGroupId(CloneGroupIdT&& value) {
710 SetCloneGroupId(std::forward<CloneGroupIdT>(value));
711 return *this;
712 }
714
716
720 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
721 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
722 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
723 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
724 m_clusterCreateTimeHasBeenSet = true;
725 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
726 }
727 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
728 DBCluster& WithClusterCreateTime(ClusterCreateTimeT&& value) {
729 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
730 return *this;
731 }
733
735
739 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
740 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
741 inline void SetCopyTagsToSnapshot(bool value) {
742 m_copyTagsToSnapshotHasBeenSet = true;
743 m_copyTagsToSnapshot = value;
744 }
745 inline DBCluster& WithCopyTagsToSnapshot(bool value) {
747 return *this;
748 }
750
752
759 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const { return m_enabledCloudwatchLogsExports; }
760 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
761 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
762 void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
763 m_enabledCloudwatchLogsExportsHasBeenSet = true;
764 m_enabledCloudwatchLogsExports = std::forward<EnabledCloudwatchLogsExportsT>(value);
765 }
766 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
767 DBCluster& WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
768 SetEnabledCloudwatchLogsExports(std::forward<EnabledCloudwatchLogsExportsT>(value));
769 return *this;
770 }
771 template <typename EnabledCloudwatchLogsExportsT = Aws::String>
772 DBCluster& AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
773 m_enabledCloudwatchLogsExportsHasBeenSet = true;
774 m_enabledCloudwatchLogsExports.emplace_back(std::forward<EnabledCloudwatchLogsExportsT>(value));
775 return *this;
776 }
778
780
785 inline const ClusterPendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
786 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
787 template <typename PendingModifiedValuesT = ClusterPendingModifiedValues>
788 void SetPendingModifiedValues(PendingModifiedValuesT&& value) {
789 m_pendingModifiedValuesHasBeenSet = true;
790 m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value);
791 }
792 template <typename PendingModifiedValuesT = ClusterPendingModifiedValues>
793 DBCluster& WithPendingModifiedValues(PendingModifiedValuesT&& value) {
794 SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value));
795 return *this;
796 }
798
800
804 inline bool GetDeletionProtection() const { return m_deletionProtection; }
805 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
806 inline void SetDeletionProtection(bool value) {
807 m_deletionProtectionHasBeenSet = true;
808 m_deletionProtection = value;
809 }
810 inline DBCluster& WithDeletionProtection(bool value) {
812 return *this;
813 }
815
817
821 inline bool GetCrossAccountClone() const { return m_crossAccountClone; }
822 inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; }
823 inline void SetCrossAccountClone(bool value) {
824 m_crossAccountCloneHasBeenSet = true;
825 m_crossAccountClone = value;
826 }
827 inline DBCluster& WithCrossAccountClone(bool value) {
829 return *this;
830 }
832
834
837 inline const Aws::Utils::DateTime& GetAutomaticRestartTime() const { return m_automaticRestartTime; }
838 inline bool AutomaticRestartTimeHasBeenSet() const { return m_automaticRestartTimeHasBeenSet; }
839 template <typename AutomaticRestartTimeT = Aws::Utils::DateTime>
840 void SetAutomaticRestartTime(AutomaticRestartTimeT&& value) {
841 m_automaticRestartTimeHasBeenSet = true;
842 m_automaticRestartTime = std::forward<AutomaticRestartTimeT>(value);
843 }
844 template <typename AutomaticRestartTimeT = Aws::Utils::DateTime>
845 DBCluster& WithAutomaticRestartTime(AutomaticRestartTimeT&& value) {
846 SetAutomaticRestartTime(std::forward<AutomaticRestartTimeT>(value));
847 return *this;
848 }
850
852
859 return m_serverlessV2ScalingConfiguration;
860 }
861 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
862 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
863 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
864 m_serverlessV2ScalingConfigurationHasBeenSet = true;
865 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
866 }
867 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
868 DBCluster& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
869 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
870 return *this;
871 }
873
875
879 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
880 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
881 template <typename GlobalClusterIdentifierT = Aws::String>
882 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
883 m_globalClusterIdentifierHasBeenSet = true;
884 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
885 }
886 template <typename GlobalClusterIdentifierT = Aws::String>
887 DBCluster& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
888 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
889 return *this;
890 }
892
894
898 inline const Aws::Utils::DateTime& GetIOOptimizedNextAllowedModificationTime() const { return m_iOOptimizedNextAllowedModificationTime; }
899 inline bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const { return m_iOOptimizedNextAllowedModificationTimeHasBeenSet; }
900 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
901 void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
902 m_iOOptimizedNextAllowedModificationTimeHasBeenSet = true;
903 m_iOOptimizedNextAllowedModificationTime = std::forward<IOOptimizedNextAllowedModificationTimeT>(value);
904 }
905 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
906 DBCluster& WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
907 SetIOOptimizedNextAllowedModificationTime(std::forward<IOOptimizedNextAllowedModificationTimeT>(value));
908 return *this;
909 }
911
913
924 inline const Aws::String& GetStorageType() const { return m_storageType; }
925 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
926 template <typename StorageTypeT = Aws::String>
927 void SetStorageType(StorageTypeT&& value) {
928 m_storageTypeHasBeenSet = true;
929 m_storageType = std::forward<StorageTypeT>(value);
930 }
931 template <typename StorageTypeT = Aws::String>
932 DBCluster& WithStorageType(StorageTypeT&& value) {
933 SetStorageType(std::forward<StorageTypeT>(value));
934 return *this;
935 }
937 private:
938 int m_allocatedStorage{0};
939 bool m_allocatedStorageHasBeenSet = false;
940
941 Aws::Vector<Aws::String> m_availabilityZones;
942 bool m_availabilityZonesHasBeenSet = false;
943
944 int m_backupRetentionPeriod{0};
945 bool m_backupRetentionPeriodHasBeenSet = false;
946
947 Aws::String m_characterSetName;
948 bool m_characterSetNameHasBeenSet = false;
949
950 Aws::String m_databaseName;
951 bool m_databaseNameHasBeenSet = false;
952
953 Aws::String m_dBClusterIdentifier;
954 bool m_dBClusterIdentifierHasBeenSet = false;
955
956 Aws::String m_dBClusterParameterGroup;
957 bool m_dBClusterParameterGroupHasBeenSet = false;
958
959 Aws::String m_dBSubnetGroup;
960 bool m_dBSubnetGroupHasBeenSet = false;
961
962 Aws::String m_status;
963 bool m_statusHasBeenSet = false;
964
965 Aws::String m_percentProgress;
966 bool m_percentProgressHasBeenSet = false;
967
968 Aws::Utils::DateTime m_earliestRestorableTime{};
969 bool m_earliestRestorableTimeHasBeenSet = false;
970
971 Aws::String m_endpoint;
972 bool m_endpointHasBeenSet = false;
973
974 Aws::String m_readerEndpoint;
975 bool m_readerEndpointHasBeenSet = false;
976
977 bool m_multiAZ{false};
978 bool m_multiAZHasBeenSet = false;
979
980 Aws::String m_engine;
981 bool m_engineHasBeenSet = false;
982
983 Aws::String m_engineVersion;
984 bool m_engineVersionHasBeenSet = false;
985
986 Aws::Utils::DateTime m_latestRestorableTime{};
987 bool m_latestRestorableTimeHasBeenSet = false;
988
989 int m_port{0};
990 bool m_portHasBeenSet = false;
991
992 Aws::String m_masterUsername;
993 bool m_masterUsernameHasBeenSet = false;
994
995 Aws::Vector<DBClusterOptionGroupStatus> m_dBClusterOptionGroupMemberships;
996 bool m_dBClusterOptionGroupMembershipsHasBeenSet = false;
997
998 Aws::String m_preferredBackupWindow;
999 bool m_preferredBackupWindowHasBeenSet = false;
1000
1001 Aws::String m_preferredMaintenanceWindow;
1002 bool m_preferredMaintenanceWindowHasBeenSet = false;
1003
1004 Aws::String m_replicationSourceIdentifier;
1005 bool m_replicationSourceIdentifierHasBeenSet = false;
1006
1007 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
1008 bool m_readReplicaIdentifiersHasBeenSet = false;
1009
1010 Aws::Vector<DBClusterMember> m_dBClusterMembers;
1011 bool m_dBClusterMembersHasBeenSet = false;
1012
1013 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
1014 bool m_vpcSecurityGroupsHasBeenSet = false;
1015
1016 Aws::String m_hostedZoneId;
1017 bool m_hostedZoneIdHasBeenSet = false;
1018
1019 bool m_storageEncrypted{false};
1020 bool m_storageEncryptedHasBeenSet = false;
1021
1022 Aws::String m_kmsKeyId;
1023 bool m_kmsKeyIdHasBeenSet = false;
1024
1025 Aws::String m_dbClusterResourceId;
1026 bool m_dbClusterResourceIdHasBeenSet = false;
1027
1028 Aws::String m_dBClusterArn;
1029 bool m_dBClusterArnHasBeenSet = false;
1030
1031 Aws::Vector<DBClusterRole> m_associatedRoles;
1032 bool m_associatedRolesHasBeenSet = false;
1033
1034 bool m_iAMDatabaseAuthenticationEnabled{false};
1035 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
1036
1037 Aws::String m_cloneGroupId;
1038 bool m_cloneGroupIdHasBeenSet = false;
1039
1040 Aws::Utils::DateTime m_clusterCreateTime{};
1041 bool m_clusterCreateTimeHasBeenSet = false;
1042
1043 bool m_copyTagsToSnapshot{false};
1044 bool m_copyTagsToSnapshotHasBeenSet = false;
1045
1046 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
1047 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
1048
1049 ClusterPendingModifiedValues m_pendingModifiedValues;
1050 bool m_pendingModifiedValuesHasBeenSet = false;
1051
1052 bool m_deletionProtection{false};
1053 bool m_deletionProtectionHasBeenSet = false;
1054
1055 bool m_crossAccountClone{false};
1056 bool m_crossAccountCloneHasBeenSet = false;
1057
1058 Aws::Utils::DateTime m_automaticRestartTime{};
1059 bool m_automaticRestartTimeHasBeenSet = false;
1060
1061 ServerlessV2ScalingConfigurationInfo m_serverlessV2ScalingConfiguration;
1062 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
1063
1064 Aws::String m_globalClusterIdentifier;
1065 bool m_globalClusterIdentifierHasBeenSet = false;
1066
1067 Aws::Utils::DateTime m_iOOptimizedNextAllowedModificationTime{};
1068 bool m_iOOptimizedNextAllowedModificationTimeHasBeenSet = false;
1069
1070 Aws::String m_storageType;
1071 bool m_storageTypeHasBeenSet = false;
1072};
1073
1074} // namespace Model
1075} // namespace Neptune
1076} // namespace Aws
const Aws::String & GetDatabaseName() const
Definition DBCluster.h:129
const Aws::String & GetReaderEndpoint() const
Definition DBCluster.h:285
DBCluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:464
AWS_NEPTUNE_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCloneGroupId() const
Definition DBCluster.h:701
bool ReadReplicaIdentifiersHasBeenSet() const
Definition DBCluster.h:494
const Aws::String & GetMasterUsername() const
Definition DBCluster.h:391
bool DBClusterIdentifierHasBeenSet() const
Definition DBCluster.h:149
const Aws::String & GetStorageType() const
Definition DBCluster.h:924
DBCluster & WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:767
DBCluster & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:868
DBCluster & WithBackupRetentionPeriod(int value)
Definition DBCluster.h:99
DBCluster & WithEngine(EngineT &&value)
Definition DBCluster.h:328
bool StorageEncryptedHasBeenSet() const
Definition DBCluster.h:585
void SetDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:188
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool LatestRestorableTimeHasBeenSet() const
Definition DBCluster.h:358
bool DBClusterArnHasBeenSet() const
Definition DBCluster.h:640
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition DBCluster.h:720
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:477
void SetMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:394
bool EarliestRestorableTimeHasBeenSet() const
Definition DBCluster.h:241
void SetIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:687
void SetDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:132
DBCluster & WithCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:117
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:151
bool VpcSecurityGroupsHasBeenSet() const
Definition DBCluster.h:542
DBCluster & AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:772
bool DBClusterParameterGroupHasBeenSet() const
Definition DBCluster.h:167
void SetStorageType(StorageTypeT &&value)
Definition DBCluster.h:927
DBCluster & WithStatus(StatusT &&value)
Definition DBCluster.h:211
void SetDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:520
DBCluster & WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:906
void SetAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:663
DBCluster & WithStorageType(StorageTypeT &&value)
Definition DBCluster.h:932
const Aws::String & GetDBClusterArn() const
Definition DBCluster.h:639
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBCluster.h:457
void SetBackupRetentionPeriod(int value)
Definition DBCluster.h:95
const ServerlessV2ScalingConfigurationInfo & GetServerlessV2ScalingConfiguration() const
Definition DBCluster.h:858
bool ReplicationSourceIdentifierHasBeenSet() const
Definition DBCluster.h:475
bool DBClusterMembersHasBeenSet() const
Definition DBCluster.h:518
void SetHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:569
bool AvailabilityZonesHasBeenSet() const
Definition DBCluster.h:69
void SetStatus(StatusT &&value)
Definition DBCluster.h:206
const Aws::String & GetEngine() const
Definition DBCluster.h:320
DBCluster & WithAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:76
DBCluster & WithEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:346
void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:901
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
Definition DBCluster.h:686
DBCluster & WithStorageEncrypted(bool value)
Definition DBCluster.h:590
const Aws::Utils::DateTime & GetAutomaticRestartTime() const
Definition DBCluster.h:837
bool PendingModifiedValuesHasBeenSet() const
Definition DBCluster.h:786
void SetMultiAZ(bool value)
Definition DBCluster.h:306
AWS_NEPTUNE_API DBCluster()=default
void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:496
void SetKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:604
bool HostedZoneIdHasBeenSet() const
Definition DBCluster.h:567
bool BackupRetentionPeriodHasBeenSet() const
Definition DBCluster.h:94
const Aws::String & GetDBClusterIdentifier() const
Definition DBCluster.h:148
void SetPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:224
DBCluster & WithHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:574
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:863
DBCluster & WithPort(int value)
Definition DBCluster.h:381
bool CopyTagsToSnapshotHasBeenSet() const
Definition DBCluster.h:740
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
Definition DBCluster.h:493
bool EngineVersionHasBeenSet() const
Definition DBCluster.h:339
const Aws::String & GetGlobalClusterIdentifier() const
Definition DBCluster.h:879
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:624
void SetClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:723
void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:414
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:459
void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:762
DBCluster & AddAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:81
const Aws::String & GetStatus() const
Definition DBCluster.h:203
DBCluster & WithMultiAZ(bool value)
Definition DBCluster.h:310
DBCluster & WithDeletionProtection(bool value)
Definition DBCluster.h:810
bool DBClusterOptionGroupMembershipsHasBeenSet() const
Definition DBCluster.h:412
bool AssociatedRolesHasBeenSet() const
Definition DBCluster.h:661
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:882
void SetCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:112
void SetAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:71
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ClusterCreateTimeHasBeenSet() const
Definition DBCluster.h:721
DBCluster & WithDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:137
const Aws::String & GetPreferredBackupWindow() const
Definition DBCluster.h:437
const Aws::String & GetDBSubnetGroup() const
Definition DBCluster.h:185
DBCluster & WithCopyTagsToSnapshot(bool value)
Definition DBCluster.h:745
DBCluster & WithAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:668
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
Definition DBCluster.h:660
const Aws::Vector< DBClusterOptionGroupStatus > & GetDBClusterOptionGroupMemberships() const
Definition DBCluster.h:409
const Aws::String & GetKmsKeyId() const
Definition DBCluster.h:601
DBCluster & WithLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:365
void SetStorageEncrypted(bool value)
Definition DBCluster.h:586
void SetAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:840
bool CrossAccountCloneHasBeenSet() const
Definition DBCluster.h:822
bool CharacterSetNameHasBeenSet() const
Definition DBCluster.h:110
void SetDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:169
DBCluster & WithEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:248
int GetBackupRetentionPeriod() const
Definition DBCluster.h:93
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBCluster.h:541
void SetEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:243
const Aws::String & GetDbClusterResourceId() const
Definition DBCluster.h:621
bool AllocatedStorageHasBeenSet() const
Definition DBCluster.h:52
void SetEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:341
DBCluster & WithCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:709
const Aws::String & GetCharacterSetName() const
Definition DBCluster.h:109
DBCluster & WithMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:399
DBCluster & WithPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:793
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:440
DBCluster & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:549
DBCluster & WithReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:293
bool PreferredBackupWindowHasBeenSet() const
Definition DBCluster.h:438
DBCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:887
const Aws::String & GetPercentProgress() const
Definition DBCluster.h:221
bool GetIAMDatabaseAuthenticationEnabled() const
Definition DBCluster.h:685
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:554
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
Definition DBCluster.h:517
DBCluster & WithDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:629
void SetCopyTagsToSnapshot(bool value)
Definition DBCluster.h:741
const ClusterPendingModifiedValues & GetPendingModifiedValues() const
Definition DBCluster.h:785
void SetEngine(EngineT &&value)
Definition DBCluster.h:323
const Aws::Utils::DateTime & GetIOOptimizedNextAllowedModificationTime() const
Definition DBCluster.h:898
bool DatabaseNameHasBeenSet() const
Definition DBCluster.h:130
bool ServerlessV2ScalingConfigurationHasBeenSet() const
Definition DBCluster.h:861
void SetDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:642
void SetCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:704
void SetLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:360
void SetCrossAccountClone(bool value)
Definition DBCluster.h:823
DBCluster & WithAllocatedStorage(int value)
Definition DBCluster.h:57
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
Definition DBCluster.h:240
const Aws::String & GetEndpoint() const
Definition DBCluster.h:259
DBCluster & AddAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:673
bool ReaderEndpointHasBeenSet() const
Definition DBCluster.h:286
DBCluster & WithDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:193
DBCluster & WithEndpoint(EndpointT &&value)
Definition DBCluster.h:267
AWS_NEPTUNE_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:544
DBCluster & AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:424
DBCluster & WithAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:845
DBCluster & WithDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:647
DBCluster & WithClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:728
DBCluster & AddReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:506
const Aws::String & GetReplicationSourceIdentifier() const
Definition DBCluster.h:474
void SetAllocatedStorage(int value)
Definition DBCluster.h:53
const Aws::String & GetDBClusterParameterGroup() const
Definition DBCluster.h:166
DBCluster & WithIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:691
DBCluster & WithDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:525
bool GlobalClusterIdentifierHasBeenSet() const
Definition DBCluster.h:880
bool AutomaticRestartTimeHasBeenSet() const
Definition DBCluster.h:838
const Aws::String & GetHostedZoneId() const
Definition DBCluster.h:566
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBCluster.h:357
DBCluster & WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:419
DBCluster & WithKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:609
DBCluster & WithCrossAccountClone(bool value)
Definition DBCluster.h:827
bool MasterUsernameHasBeenSet() const
Definition DBCluster.h:392
const Aws::String & GetEngineVersion() const
Definition DBCluster.h:338
void SetDeletionProtection(bool value)
Definition DBCluster.h:806
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBCluster.h:759
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition DBCluster.h:68
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBCluster.h:760
DBCluster & WithReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:501
bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const
Definition DBCluster.h:899
bool DeletionProtectionHasBeenSet() const
Definition DBCluster.h:805
DBCluster & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:156
bool DbClusterResourceIdHasBeenSet() const
Definition DBCluster.h:622
DBCluster & WithPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:229
bool PercentProgressHasBeenSet() const
Definition DBCluster.h:222
DBCluster & AddDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:530
DBCluster & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:482
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:788
void SetEndpoint(EndpointT &&value)
Definition DBCluster.h:262
bool DBSubnetGroupHasBeenSet() const
Definition DBCluster.h:186
DBCluster & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:445
DBCluster & WithDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:174
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBCluster.h:456
void SetReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:288
bool CloneGroupIdHasBeenSet() const
Definition DBCluster.h:702
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