AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBCluster.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/neptune/model/ClusterPendingModifiedValues.h>
13#include <aws/neptune/model/ServerlessV2ScalingConfigurationInfo.h>
14#include <aws/neptune/model/DBClusterOptionGroupStatus.h>
15#include <aws/neptune/model/DBClusterMember.h>
16#include <aws/neptune/model/VpcSecurityGroupMembership.h>
17#include <aws/neptune/model/DBClusterRole.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace Neptune
30{
31namespace Model
32{
33
42 {
43 public:
44 AWS_NEPTUNE_API DBCluster() = default;
45 AWS_NEPTUNE_API DBCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
46 AWS_NEPTUNE_API DBCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
57 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
58 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
59 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
60 inline DBCluster& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
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) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
72 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
73 DBCluster& WithAvailabilityZones(AvailabilityZonesT&& value) { SetAvailabilityZones(std::forward<AvailabilityZonesT>(value)); return *this;}
74 template<typename AvailabilityZonesT = Aws::String>
75 DBCluster& AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value)); return *this; }
77
79
83 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
84 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
85 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
86 inline DBCluster& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;}
88
90
93 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
94 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
95 template<typename CharacterSetNameT = Aws::String>
96 void SetCharacterSetName(CharacterSetNameT&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::forward<CharacterSetNameT>(value); }
97 template<typename CharacterSetNameT = Aws::String>
98 DBCluster& WithCharacterSetName(CharacterSetNameT&& value) { SetCharacterSetName(std::forward<CharacterSetNameT>(value)); return *this;}
100
102
107 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
108 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
109 template<typename DatabaseNameT = Aws::String>
110 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
111 template<typename DatabaseNameT = Aws::String>
112 DBCluster& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
114
116
120 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
121 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
122 template<typename DBClusterIdentifierT = Aws::String>
123 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
124 template<typename DBClusterIdentifierT = Aws::String>
125 DBCluster& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
127
129
132 inline const Aws::String& GetDBClusterParameterGroup() const { return m_dBClusterParameterGroup; }
133 inline bool DBClusterParameterGroupHasBeenSet() const { return m_dBClusterParameterGroupHasBeenSet; }
134 template<typename DBClusterParameterGroupT = Aws::String>
135 void SetDBClusterParameterGroup(DBClusterParameterGroupT&& value) { m_dBClusterParameterGroupHasBeenSet = true; m_dBClusterParameterGroup = std::forward<DBClusterParameterGroupT>(value); }
136 template<typename DBClusterParameterGroupT = Aws::String>
137 DBCluster& WithDBClusterParameterGroup(DBClusterParameterGroupT&& value) { SetDBClusterParameterGroup(std::forward<DBClusterParameterGroupT>(value)); return *this;}
139
141
145 inline const Aws::String& GetDBSubnetGroup() const { return m_dBSubnetGroup; }
146 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
147 template<typename DBSubnetGroupT = Aws::String>
148 void SetDBSubnetGroup(DBSubnetGroupT&& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = std::forward<DBSubnetGroupT>(value); }
149 template<typename DBSubnetGroupT = Aws::String>
150 DBCluster& WithDBSubnetGroup(DBSubnetGroupT&& value) { SetDBSubnetGroup(std::forward<DBSubnetGroupT>(value)); return *this;}
152
154
157 inline const Aws::String& GetStatus() const { return m_status; }
158 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 template<typename StatusT = Aws::String>
160 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
161 template<typename StatusT = Aws::String>
162 DBCluster& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
164
166
169 inline const Aws::String& GetPercentProgress() const { return m_percentProgress; }
170 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
171 template<typename PercentProgressT = Aws::String>
172 void SetPercentProgress(PercentProgressT&& value) { m_percentProgressHasBeenSet = true; m_percentProgress = std::forward<PercentProgressT>(value); }
173 template<typename PercentProgressT = Aws::String>
174 DBCluster& WithPercentProgress(PercentProgressT&& value) { SetPercentProgress(std::forward<PercentProgressT>(value)); return *this;}
176
178
182 inline const Aws::Utils::DateTime& GetEarliestRestorableTime() const { return m_earliestRestorableTime; }
183 inline bool EarliestRestorableTimeHasBeenSet() const { return m_earliestRestorableTimeHasBeenSet; }
184 template<typename EarliestRestorableTimeT = Aws::Utils::DateTime>
185 void SetEarliestRestorableTime(EarliestRestorableTimeT&& value) { m_earliestRestorableTimeHasBeenSet = true; m_earliestRestorableTime = std::forward<EarliestRestorableTimeT>(value); }
186 template<typename EarliestRestorableTimeT = Aws::Utils::DateTime>
187 DBCluster& WithEarliestRestorableTime(EarliestRestorableTimeT&& value) { SetEarliestRestorableTime(std::forward<EarliestRestorableTimeT>(value)); return *this;}
189
191
195 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
196 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
197 template<typename EndpointT = Aws::String>
198 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
199 template<typename EndpointT = Aws::String>
200 DBCluster& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
202
204
215 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
216 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
217 template<typename ReaderEndpointT = Aws::String>
218 void SetReaderEndpoint(ReaderEndpointT&& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = std::forward<ReaderEndpointT>(value); }
219 template<typename ReaderEndpointT = Aws::String>
220 DBCluster& WithReaderEndpoint(ReaderEndpointT&& value) { SetReaderEndpoint(std::forward<ReaderEndpointT>(value)); return *this;}
222
224
228 inline bool GetMultiAZ() const { return m_multiAZ; }
229 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
230 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
231 inline DBCluster& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
233
235
238 inline const Aws::String& GetEngine() const { return m_engine; }
239 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
240 template<typename EngineT = Aws::String>
241 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
242 template<typename EngineT = Aws::String>
243 DBCluster& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
245
247
250 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
251 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
252 template<typename EngineVersionT = Aws::String>
253 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
254 template<typename EngineVersionT = Aws::String>
255 DBCluster& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
257
259
263 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const { return m_latestRestorableTime; }
264 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
265 template<typename LatestRestorableTimeT = Aws::Utils::DateTime>
266 void SetLatestRestorableTime(LatestRestorableTimeT&& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = std::forward<LatestRestorableTimeT>(value); }
267 template<typename LatestRestorableTimeT = Aws::Utils::DateTime>
268 DBCluster& WithLatestRestorableTime(LatestRestorableTimeT&& value) { SetLatestRestorableTime(std::forward<LatestRestorableTimeT>(value)); return *this;}
270
272
275 inline int GetPort() const { return m_port; }
276 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
277 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
278 inline DBCluster& WithPort(int value) { SetPort(value); return *this;}
280
282
285 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
286 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
287 template<typename MasterUsernameT = Aws::String>
288 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
289 template<typename MasterUsernameT = Aws::String>
290 DBCluster& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
292
294
297 inline const Aws::Vector<DBClusterOptionGroupStatus>& GetDBClusterOptionGroupMemberships() const { return m_dBClusterOptionGroupMemberships; }
298 inline bool DBClusterOptionGroupMembershipsHasBeenSet() const { return m_dBClusterOptionGroupMembershipsHasBeenSet; }
299 template<typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
300 void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) { m_dBClusterOptionGroupMembershipsHasBeenSet = true; m_dBClusterOptionGroupMemberships = std::forward<DBClusterOptionGroupMembershipsT>(value); }
301 template<typename DBClusterOptionGroupMembershipsT = Aws::Vector<DBClusterOptionGroupStatus>>
302 DBCluster& WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) { SetDBClusterOptionGroupMemberships(std::forward<DBClusterOptionGroupMembershipsT>(value)); return *this;}
303 template<typename DBClusterOptionGroupMembershipsT = DBClusterOptionGroupStatus>
304 DBCluster& AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT&& value) { m_dBClusterOptionGroupMembershipsHasBeenSet = true; m_dBClusterOptionGroupMemberships.emplace_back(std::forward<DBClusterOptionGroupMembershipsT>(value)); return *this; }
306
308
313 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
314 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
315 template<typename PreferredBackupWindowT = Aws::String>
316 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
317 template<typename PreferredBackupWindowT = Aws::String>
318 DBCluster& WithPreferredBackupWindow(PreferredBackupWindowT&& value) { SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value)); return *this;}
320
322
326 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
327 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
328 template<typename PreferredMaintenanceWindowT = Aws::String>
329 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
330 template<typename PreferredMaintenanceWindowT = Aws::String>
331 DBCluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
333
335
338 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
339 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
340 template<typename ReplicationSourceIdentifierT = Aws::String>
341 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value); }
342 template<typename ReplicationSourceIdentifierT = Aws::String>
343 DBCluster& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) { SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value)); return *this;}
345
347
351 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
352 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
353 template<typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
354 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value); }
355 template<typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
356 DBCluster& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value)); return *this;}
357 template<typename ReadReplicaIdentifiersT = Aws::String>
358 DBCluster& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value)); return *this; }
360
362
365 inline const Aws::Vector<DBClusterMember>& GetDBClusterMembers() const { return m_dBClusterMembers; }
366 inline bool DBClusterMembersHasBeenSet() const { return m_dBClusterMembersHasBeenSet; }
367 template<typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
368 void SetDBClusterMembers(DBClusterMembersT&& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers = std::forward<DBClusterMembersT>(value); }
369 template<typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
370 DBCluster& WithDBClusterMembers(DBClusterMembersT&& value) { SetDBClusterMembers(std::forward<DBClusterMembersT>(value)); return *this;}
371 template<typename DBClusterMembersT = DBClusterMember>
372 DBCluster& AddDBClusterMembers(DBClusterMembersT&& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers.emplace_back(std::forward<DBClusterMembersT>(value)); return *this; }
374
376
379 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
380 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
381 template<typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
382 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value); }
383 template<typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
384 DBCluster& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) { SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value)); return *this;}
385 template<typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
386 DBCluster& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value)); return *this; }
388
390
394 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
395 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
396 template<typename HostedZoneIdT = Aws::String>
397 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
398 template<typename HostedZoneIdT = Aws::String>
399 DBCluster& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
401
403
406 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
407 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
408 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
409 inline DBCluster& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
411
413
417 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
418 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
419 template<typename KmsKeyIdT = Aws::String>
420 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
421 template<typename KmsKeyIdT = Aws::String>
422 DBCluster& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
424
426
431 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
432 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
433 template<typename DbClusterResourceIdT = Aws::String>
434 void SetDbClusterResourceId(DbClusterResourceIdT&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value); }
435 template<typename DbClusterResourceIdT = Aws::String>
436 DBCluster& WithDbClusterResourceId(DbClusterResourceIdT&& value) { SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value)); return *this;}
438
440
443 inline const Aws::String& GetDBClusterArn() const { return m_dBClusterArn; }
444 inline bool DBClusterArnHasBeenSet() const { return m_dBClusterArnHasBeenSet; }
445 template<typename DBClusterArnT = Aws::String>
446 void SetDBClusterArn(DBClusterArnT&& value) { m_dBClusterArnHasBeenSet = true; m_dBClusterArn = std::forward<DBClusterArnT>(value); }
447 template<typename DBClusterArnT = Aws::String>
448 DBCluster& WithDBClusterArn(DBClusterArnT&& value) { SetDBClusterArn(std::forward<DBClusterArnT>(value)); return *this;}
450
452
458 inline const Aws::Vector<DBClusterRole>& GetAssociatedRoles() const { return m_associatedRoles; }
459 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
460 template<typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
461 void SetAssociatedRoles(AssociatedRolesT&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = std::forward<AssociatedRolesT>(value); }
462 template<typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
463 DBCluster& WithAssociatedRoles(AssociatedRolesT&& value) { SetAssociatedRoles(std::forward<AssociatedRolesT>(value)); return *this;}
464 template<typename AssociatedRolesT = DBClusterRole>
465 DBCluster& AddAssociatedRoles(AssociatedRolesT&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value)); return *this; }
467
469
473 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
474 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
475 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
478
480
483 inline const Aws::String& GetCloneGroupId() const { return m_cloneGroupId; }
484 inline bool CloneGroupIdHasBeenSet() const { return m_cloneGroupIdHasBeenSet; }
485 template<typename CloneGroupIdT = Aws::String>
486 void SetCloneGroupId(CloneGroupIdT&& value) { m_cloneGroupIdHasBeenSet = true; m_cloneGroupId = std::forward<CloneGroupIdT>(value); }
487 template<typename CloneGroupIdT = Aws::String>
488 DBCluster& WithCloneGroupId(CloneGroupIdT&& value) { SetCloneGroupId(std::forward<CloneGroupIdT>(value)); return *this;}
490
492
496 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
497 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
498 template<typename ClusterCreateTimeT = Aws::Utils::DateTime>
499 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
500 template<typename ClusterCreateTimeT = Aws::Utils::DateTime>
501 DBCluster& WithClusterCreateTime(ClusterCreateTimeT&& value) { SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value)); return *this;}
503
505
509 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
510 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
511 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
512 inline DBCluster& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
514
516
523 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const { return m_enabledCloudwatchLogsExports; }
524 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
525 template<typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
526 void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports = std::forward<EnabledCloudwatchLogsExportsT>(value); }
527 template<typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
528 DBCluster& WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) { SetEnabledCloudwatchLogsExports(std::forward<EnabledCloudwatchLogsExportsT>(value)); return *this;}
529 template<typename EnabledCloudwatchLogsExportsT = Aws::String>
530 DBCluster& AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.emplace_back(std::forward<EnabledCloudwatchLogsExportsT>(value)); return *this; }
532
534
539 inline const ClusterPendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
540 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
541 template<typename PendingModifiedValuesT = ClusterPendingModifiedValues>
542 void SetPendingModifiedValues(PendingModifiedValuesT&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value); }
543 template<typename PendingModifiedValuesT = ClusterPendingModifiedValues>
544 DBCluster& WithPendingModifiedValues(PendingModifiedValuesT&& value) { SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value)); return *this;}
546
548
552 inline bool GetDeletionProtection() const { return m_deletionProtection; }
553 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
554 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
555 inline DBCluster& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
557
559
563 inline bool GetCrossAccountClone() const { return m_crossAccountClone; }
564 inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; }
565 inline void SetCrossAccountClone(bool value) { m_crossAccountCloneHasBeenSet = true; m_crossAccountClone = value; }
566 inline DBCluster& WithCrossAccountClone(bool value) { SetCrossAccountClone(value); return *this;}
568
570
573 inline const Aws::Utils::DateTime& GetAutomaticRestartTime() const { return m_automaticRestartTime; }
574 inline bool AutomaticRestartTimeHasBeenSet() const { return m_automaticRestartTimeHasBeenSet; }
575 template<typename AutomaticRestartTimeT = Aws::Utils::DateTime>
576 void SetAutomaticRestartTime(AutomaticRestartTimeT&& value) { m_automaticRestartTimeHasBeenSet = true; m_automaticRestartTime = std::forward<AutomaticRestartTimeT>(value); }
577 template<typename AutomaticRestartTimeT = Aws::Utils::DateTime>
578 DBCluster& WithAutomaticRestartTime(AutomaticRestartTimeT&& value) { SetAutomaticRestartTime(std::forward<AutomaticRestartTimeT>(value)); return *this;}
580
582
588 inline const ServerlessV2ScalingConfigurationInfo& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
589 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
590 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
591 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
592 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
593 DBCluster& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value)); return *this;}
595
597
601 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
602 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
603 template<typename GlobalClusterIdentifierT = Aws::String>
604 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
605 template<typename GlobalClusterIdentifierT = Aws::String>
606 DBCluster& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value)); return *this;}
608
610
614 inline const Aws::Utils::DateTime& GetIOOptimizedNextAllowedModificationTime() const { return m_iOOptimizedNextAllowedModificationTime; }
615 inline bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const { return m_iOOptimizedNextAllowedModificationTimeHasBeenSet; }
616 template<typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
617 void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) { m_iOOptimizedNextAllowedModificationTimeHasBeenSet = true; m_iOOptimizedNextAllowedModificationTime = std::forward<IOOptimizedNextAllowedModificationTimeT>(value); }
618 template<typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
619 DBCluster& WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) { SetIOOptimizedNextAllowedModificationTime(std::forward<IOOptimizedNextAllowedModificationTimeT>(value)); return *this;}
621
623
634 inline const Aws::String& GetStorageType() const { return m_storageType; }
635 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
636 template<typename StorageTypeT = Aws::String>
637 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
638 template<typename StorageTypeT = Aws::String>
639 DBCluster& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
641 private:
642
643 int m_allocatedStorage{0};
644 bool m_allocatedStorageHasBeenSet = false;
645
646 Aws::Vector<Aws::String> m_availabilityZones;
647 bool m_availabilityZonesHasBeenSet = false;
648
649 int m_backupRetentionPeriod{0};
650 bool m_backupRetentionPeriodHasBeenSet = false;
651
652 Aws::String m_characterSetName;
653 bool m_characterSetNameHasBeenSet = false;
654
655 Aws::String m_databaseName;
656 bool m_databaseNameHasBeenSet = false;
657
658 Aws::String m_dBClusterIdentifier;
659 bool m_dBClusterIdentifierHasBeenSet = false;
660
661 Aws::String m_dBClusterParameterGroup;
662 bool m_dBClusterParameterGroupHasBeenSet = false;
663
664 Aws::String m_dBSubnetGroup;
665 bool m_dBSubnetGroupHasBeenSet = false;
666
667 Aws::String m_status;
668 bool m_statusHasBeenSet = false;
669
670 Aws::String m_percentProgress;
671 bool m_percentProgressHasBeenSet = false;
672
673 Aws::Utils::DateTime m_earliestRestorableTime{};
674 bool m_earliestRestorableTimeHasBeenSet = false;
675
676 Aws::String m_endpoint;
677 bool m_endpointHasBeenSet = false;
678
679 Aws::String m_readerEndpoint;
680 bool m_readerEndpointHasBeenSet = false;
681
682 bool m_multiAZ{false};
683 bool m_multiAZHasBeenSet = false;
684
685 Aws::String m_engine;
686 bool m_engineHasBeenSet = false;
687
688 Aws::String m_engineVersion;
689 bool m_engineVersionHasBeenSet = false;
690
691 Aws::Utils::DateTime m_latestRestorableTime{};
692 bool m_latestRestorableTimeHasBeenSet = false;
693
694 int m_port{0};
695 bool m_portHasBeenSet = false;
696
697 Aws::String m_masterUsername;
698 bool m_masterUsernameHasBeenSet = false;
699
700 Aws::Vector<DBClusterOptionGroupStatus> m_dBClusterOptionGroupMemberships;
701 bool m_dBClusterOptionGroupMembershipsHasBeenSet = false;
702
703 Aws::String m_preferredBackupWindow;
704 bool m_preferredBackupWindowHasBeenSet = false;
705
706 Aws::String m_preferredMaintenanceWindow;
707 bool m_preferredMaintenanceWindowHasBeenSet = false;
708
709 Aws::String m_replicationSourceIdentifier;
710 bool m_replicationSourceIdentifierHasBeenSet = false;
711
712 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
713 bool m_readReplicaIdentifiersHasBeenSet = false;
714
715 Aws::Vector<DBClusterMember> m_dBClusterMembers;
716 bool m_dBClusterMembersHasBeenSet = false;
717
718 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
719 bool m_vpcSecurityGroupsHasBeenSet = false;
720
721 Aws::String m_hostedZoneId;
722 bool m_hostedZoneIdHasBeenSet = false;
723
724 bool m_storageEncrypted{false};
725 bool m_storageEncryptedHasBeenSet = false;
726
727 Aws::String m_kmsKeyId;
728 bool m_kmsKeyIdHasBeenSet = false;
729
730 Aws::String m_dbClusterResourceId;
731 bool m_dbClusterResourceIdHasBeenSet = false;
732
733 Aws::String m_dBClusterArn;
734 bool m_dBClusterArnHasBeenSet = false;
735
736 Aws::Vector<DBClusterRole> m_associatedRoles;
737 bool m_associatedRolesHasBeenSet = false;
738
739 bool m_iAMDatabaseAuthenticationEnabled{false};
740 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
741
742 Aws::String m_cloneGroupId;
743 bool m_cloneGroupIdHasBeenSet = false;
744
745 Aws::Utils::DateTime m_clusterCreateTime{};
746 bool m_clusterCreateTimeHasBeenSet = false;
747
748 bool m_copyTagsToSnapshot{false};
749 bool m_copyTagsToSnapshotHasBeenSet = false;
750
751 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
752 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
753
754 ClusterPendingModifiedValues m_pendingModifiedValues;
755 bool m_pendingModifiedValuesHasBeenSet = false;
756
757 bool m_deletionProtection{false};
758 bool m_deletionProtectionHasBeenSet = false;
759
760 bool m_crossAccountClone{false};
761 bool m_crossAccountCloneHasBeenSet = false;
762
763 Aws::Utils::DateTime m_automaticRestartTime{};
764 bool m_automaticRestartTimeHasBeenSet = false;
765
766 ServerlessV2ScalingConfigurationInfo m_serverlessV2ScalingConfiguration;
767 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
768
769 Aws::String m_globalClusterIdentifier;
770 bool m_globalClusterIdentifierHasBeenSet = false;
771
772 Aws::Utils::DateTime m_iOOptimizedNextAllowedModificationTime{};
773 bool m_iOOptimizedNextAllowedModificationTimeHasBeenSet = false;
774
775 Aws::String m_storageType;
776 bool m_storageTypeHasBeenSet = false;
777 };
778
779} // namespace Model
780} // namespace Neptune
781} // namespace Aws
const Aws::String & GetDatabaseName() const
Definition DBCluster.h:107
const Aws::String & GetReaderEndpoint() const
Definition DBCluster.h:215
DBCluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:331
AWS_NEPTUNE_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCloneGroupId() const
Definition DBCluster.h:483
bool ReadReplicaIdentifiersHasBeenSet() const
Definition DBCluster.h:352
const Aws::String & GetMasterUsername() const
Definition DBCluster.h:285
bool DBClusterIdentifierHasBeenSet() const
Definition DBCluster.h:121
const Aws::String & GetStorageType() const
Definition DBCluster.h:634
DBCluster & WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:528
DBCluster & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:593
DBCluster & WithBackupRetentionPeriod(int value)
Definition DBCluster.h:86
DBCluster & WithEngine(EngineT &&value)
Definition DBCluster.h:243
bool StorageEncryptedHasBeenSet() const
Definition DBCluster.h:407
void SetDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:148
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool LatestRestorableTimeHasBeenSet() const
Definition DBCluster.h:264
bool DBClusterArnHasBeenSet() const
Definition DBCluster.h:444
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition DBCluster.h:496
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:341
void SetMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:288
bool EarliestRestorableTimeHasBeenSet() const
Definition DBCluster.h:183
void SetIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:475
void SetDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:110
DBCluster & WithCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:98
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:123
bool VpcSecurityGroupsHasBeenSet() const
Definition DBCluster.h:380
DBCluster & AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:530
bool DBClusterParameterGroupHasBeenSet() const
Definition DBCluster.h:133
void SetStorageType(StorageTypeT &&value)
Definition DBCluster.h:637
DBCluster & WithStatus(StatusT &&value)
Definition DBCluster.h:162
void SetDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:368
DBCluster & WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:619
void SetAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:461
DBCluster & WithStorageType(StorageTypeT &&value)
Definition DBCluster.h:639
const Aws::String & GetDBClusterArn() const
Definition DBCluster.h:443
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBCluster.h:327
void SetBackupRetentionPeriod(int value)
Definition DBCluster.h:85
const ServerlessV2ScalingConfigurationInfo & GetServerlessV2ScalingConfiguration() const
Definition DBCluster.h:588
bool ReplicationSourceIdentifierHasBeenSet() const
Definition DBCluster.h:339
bool DBClusterMembersHasBeenSet() const
Definition DBCluster.h:366
void SetHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:397
bool AvailabilityZonesHasBeenSet() const
Definition DBCluster.h:69
void SetStatus(StatusT &&value)
Definition DBCluster.h:160
const Aws::String & GetEngine() const
Definition DBCluster.h:238
DBCluster & WithAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:73
DBCluster & WithEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:255
void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:617
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
Definition DBCluster.h:474
DBCluster & WithStorageEncrypted(bool value)
Definition DBCluster.h:409
const Aws::Utils::DateTime & GetAutomaticRestartTime() const
Definition DBCluster.h:573
bool PendingModifiedValuesHasBeenSet() const
Definition DBCluster.h:540
void SetMultiAZ(bool value)
Definition DBCluster.h:230
AWS_NEPTUNE_API DBCluster()=default
void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:354
void SetKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:420
bool HostedZoneIdHasBeenSet() const
Definition DBCluster.h:395
bool BackupRetentionPeriodHasBeenSet() const
Definition DBCluster.h:84
const Aws::String & GetDBClusterIdentifier() const
Definition DBCluster.h:120
void SetPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:172
DBCluster & WithHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:399
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:591
DBCluster & WithPort(int value)
Definition DBCluster.h:278
bool CopyTagsToSnapshotHasBeenSet() const
Definition DBCluster.h:510
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
Definition DBCluster.h:351
bool EngineVersionHasBeenSet() const
Definition DBCluster.h:251
const Aws::String & GetGlobalClusterIdentifier() const
Definition DBCluster.h:601
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:434
void SetClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:499
void SetDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:300
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:329
void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:526
DBCluster & AddAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:75
const Aws::String & GetStatus() const
Definition DBCluster.h:157
DBCluster & WithMultiAZ(bool value)
Definition DBCluster.h:231
DBCluster & WithDeletionProtection(bool value)
Definition DBCluster.h:555
bool DBClusterOptionGroupMembershipsHasBeenSet() const
Definition DBCluster.h:298
bool AssociatedRolesHasBeenSet() const
Definition DBCluster.h:459
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:604
void SetCharacterSetName(CharacterSetNameT &&value)
Definition DBCluster.h:96
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:497
DBCluster & WithDatabaseName(DatabaseNameT &&value)
Definition DBCluster.h:112
const Aws::String & GetPreferredBackupWindow() const
Definition DBCluster.h:313
const Aws::String & GetDBSubnetGroup() const
Definition DBCluster.h:145
DBCluster & WithCopyTagsToSnapshot(bool value)
Definition DBCluster.h:512
DBCluster & WithAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:463
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
Definition DBCluster.h:458
const Aws::Vector< DBClusterOptionGroupStatus > & GetDBClusterOptionGroupMemberships() const
Definition DBCluster.h:297
const Aws::String & GetKmsKeyId() const
Definition DBCluster.h:417
DBCluster & WithLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:268
void SetStorageEncrypted(bool value)
Definition DBCluster.h:408
void SetAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:576
bool CrossAccountCloneHasBeenSet() const
Definition DBCluster.h:564
bool CharacterSetNameHasBeenSet() const
Definition DBCluster.h:94
void SetDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:135
DBCluster & WithEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:187
int GetBackupRetentionPeriod() const
Definition DBCluster.h:83
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBCluster.h:379
void SetEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:185
const Aws::String & GetDbClusterResourceId() const
Definition DBCluster.h:431
bool AllocatedStorageHasBeenSet() const
Definition DBCluster.h:58
void SetEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:253
DBCluster & WithCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:488
const Aws::String & GetCharacterSetName() const
Definition DBCluster.h:93
DBCluster & WithMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:290
DBCluster & WithPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:544
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:316
DBCluster & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:384
DBCluster & WithReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:220
bool PreferredBackupWindowHasBeenSet() const
Definition DBCluster.h:314
DBCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
Definition DBCluster.h:606
const Aws::String & GetPercentProgress() const
Definition DBCluster.h:169
bool GetIAMDatabaseAuthenticationEnabled() const
Definition DBCluster.h:473
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:386
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
Definition DBCluster.h:365
DBCluster & WithDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:436
void SetCopyTagsToSnapshot(bool value)
Definition DBCluster.h:511
const ClusterPendingModifiedValues & GetPendingModifiedValues() const
Definition DBCluster.h:539
void SetEngine(EngineT &&value)
Definition DBCluster.h:241
const Aws::Utils::DateTime & GetIOOptimizedNextAllowedModificationTime() const
Definition DBCluster.h:614
bool DatabaseNameHasBeenSet() const
Definition DBCluster.h:108
bool ServerlessV2ScalingConfigurationHasBeenSet() const
Definition DBCluster.h:589
void SetDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:446
void SetCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:486
void SetLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:266
void SetCrossAccountClone(bool value)
Definition DBCluster.h:565
DBCluster & WithAllocatedStorage(int value)
Definition DBCluster.h:60
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
Definition DBCluster.h:182
const Aws::String & GetEndpoint() const
Definition DBCluster.h:195
DBCluster & AddAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:465
bool ReaderEndpointHasBeenSet() const
Definition DBCluster.h:216
DBCluster & WithDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:150
DBCluster & WithEndpoint(EndpointT &&value)
Definition DBCluster.h:200
AWS_NEPTUNE_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:382
DBCluster & AddDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:304
DBCluster & WithAutomaticRestartTime(AutomaticRestartTimeT &&value)
Definition DBCluster.h:578
DBCluster & WithDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:448
DBCluster & WithClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:501
DBCluster & AddReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:358
const Aws::String & GetReplicationSourceIdentifier() const
Definition DBCluster.h:338
void SetAllocatedStorage(int value)
Definition DBCluster.h:59
const Aws::String & GetDBClusterParameterGroup() const
Definition DBCluster.h:132
DBCluster & WithIAMDatabaseAuthenticationEnabled(bool value)
Definition DBCluster.h:476
DBCluster & WithDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:370
bool GlobalClusterIdentifierHasBeenSet() const
Definition DBCluster.h:602
bool AutomaticRestartTimeHasBeenSet() const
Definition DBCluster.h:574
const Aws::String & GetHostedZoneId() const
Definition DBCluster.h:394
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBCluster.h:263
DBCluster & WithDBClusterOptionGroupMemberships(DBClusterOptionGroupMembershipsT &&value)
Definition DBCluster.h:302
DBCluster & WithKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:422
DBCluster & WithCrossAccountClone(bool value)
Definition DBCluster.h:566
bool MasterUsernameHasBeenSet() const
Definition DBCluster.h:286
const Aws::String & GetEngineVersion() const
Definition DBCluster.h:250
void SetDeletionProtection(bool value)
Definition DBCluster.h:554
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBCluster.h:523
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition DBCluster.h:68
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBCluster.h:524
DBCluster & WithReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:356
bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const
Definition DBCluster.h:615
bool DeletionProtectionHasBeenSet() const
Definition DBCluster.h:553
DBCluster & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:125
bool DbClusterResourceIdHasBeenSet() const
Definition DBCluster.h:432
DBCluster & WithPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:174
bool PercentProgressHasBeenSet() const
Definition DBCluster.h:170
DBCluster & AddDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:372
DBCluster & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:343
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
Definition DBCluster.h:542
void SetEndpoint(EndpointT &&value)
Definition DBCluster.h:198
bool DBSubnetGroupHasBeenSet() const
Definition DBCluster.h:146
DBCluster & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:318
DBCluster & WithDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:137
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBCluster.h:326
void SetReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:218
bool CloneGroupIdHasBeenSet() const
Definition DBCluster.h:484
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