AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbClusterDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsRdsDbInstanceVpcSecurityGroup.h>
11#include <aws/securityhub/model/AwsRdsDbClusterAssociatedRole.h>
12#include <aws/securityhub/model/AwsRdsDbDomainMembership.h>
13#include <aws/securityhub/model/AwsRdsDbClusterOptionGroupMembership.h>
14#include <aws/securityhub/model/AwsRdsDbClusterMember.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_SECURITYHUB_API AwsRdsDbClusterDetails() = default;
41 AWS_SECURITYHUB_API AwsRdsDbClusterDetails(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
52 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
53 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
54 inline AwsRdsDbClusterDetails& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
63 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
64 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
65 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
66 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
67 AwsRdsDbClusterDetails& WithAvailabilityZones(AvailabilityZonesT&& value) { SetAvailabilityZones(std::forward<AvailabilityZonesT>(value)); return *this;}
68 template<typename AvailabilityZonesT = Aws::String>
69 AwsRdsDbClusterDetails& AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value)); return *this; }
71
73
76 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
77 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
78 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
81
83
86 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
87 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
88 template<typename DatabaseNameT = Aws::String>
89 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
90 template<typename DatabaseNameT = Aws::String>
91 AwsRdsDbClusterDetails& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
93
95
98 inline const Aws::String& GetStatus() const { return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 template<typename StatusT = Aws::String>
101 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
102 template<typename StatusT = Aws::String>
103 AwsRdsDbClusterDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
105
107
110 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
111 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
112 template<typename EndpointT = Aws::String>
113 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
114 template<typename EndpointT = Aws::String>
115 AwsRdsDbClusterDetails& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
117
119
122 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
123 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
124 template<typename ReaderEndpointT = Aws::String>
125 void SetReaderEndpoint(ReaderEndpointT&& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = std::forward<ReaderEndpointT>(value); }
126 template<typename ReaderEndpointT = Aws::String>
127 AwsRdsDbClusterDetails& WithReaderEndpoint(ReaderEndpointT&& value) { SetReaderEndpoint(std::forward<ReaderEndpointT>(value)); return *this;}
129
131
134 inline const Aws::Vector<Aws::String>& GetCustomEndpoints() const { return m_customEndpoints; }
135 inline bool CustomEndpointsHasBeenSet() const { return m_customEndpointsHasBeenSet; }
136 template<typename CustomEndpointsT = Aws::Vector<Aws::String>>
137 void SetCustomEndpoints(CustomEndpointsT&& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints = std::forward<CustomEndpointsT>(value); }
138 template<typename CustomEndpointsT = Aws::Vector<Aws::String>>
139 AwsRdsDbClusterDetails& WithCustomEndpoints(CustomEndpointsT&& value) { SetCustomEndpoints(std::forward<CustomEndpointsT>(value)); return *this;}
140 template<typename CustomEndpointsT = Aws::String>
141 AwsRdsDbClusterDetails& AddCustomEndpoints(CustomEndpointsT&& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints.emplace_back(std::forward<CustomEndpointsT>(value)); return *this; }
143
145
148 inline bool GetMultiAz() const { return m_multiAz; }
149 inline bool MultiAzHasBeenSet() const { return m_multiAzHasBeenSet; }
150 inline void SetMultiAz(bool value) { m_multiAzHasBeenSet = true; m_multiAz = value; }
151 inline AwsRdsDbClusterDetails& WithMultiAz(bool value) { SetMultiAz(value); return *this;}
153
155
161 inline const Aws::String& GetEngine() const { return m_engine; }
162 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
163 template<typename EngineT = Aws::String>
164 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
165 template<typename EngineT = Aws::String>
166 AwsRdsDbClusterDetails& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
168
170
173 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
174 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
175 template<typename EngineVersionT = Aws::String>
176 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
177 template<typename EngineVersionT = Aws::String>
178 AwsRdsDbClusterDetails& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
180
182
186 inline int GetPort() const { return m_port; }
187 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
188 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
189 inline AwsRdsDbClusterDetails& WithPort(int value) { SetPort(value); return *this;}
191
193
196 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
197 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
198 template<typename MasterUsernameT = Aws::String>
199 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
200 template<typename MasterUsernameT = Aws::String>
201 AwsRdsDbClusterDetails& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
203
205
210 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
211 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
212 template<typename PreferredBackupWindowT = Aws::String>
213 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
214 template<typename PreferredBackupWindowT = Aws::String>
215 AwsRdsDbClusterDetails& WithPreferredBackupWindow(PreferredBackupWindowT&& value) { SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value)); return *this;}
217
219
226 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
227 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
228 template<typename PreferredMaintenanceWindowT = Aws::String>
229 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
230 template<typename PreferredMaintenanceWindowT = Aws::String>
231 AwsRdsDbClusterDetails& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
233
235
239 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
240 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
241 template<typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
242 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value); }
243 template<typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
244 AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value)); return *this;}
245 template<typename ReadReplicaIdentifiersT = Aws::String>
246 AwsRdsDbClusterDetails& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value)); return *this; }
248
250
253 inline const Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
254 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
255 template<typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
256 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value); }
257 template<typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
258 AwsRdsDbClusterDetails& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) { SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value)); return *this;}
259 template<typename VpcSecurityGroupsT = AwsRdsDbInstanceVpcSecurityGroup>
260 AwsRdsDbClusterDetails& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value)); return *this; }
262
264
268 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
269 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
270 template<typename HostedZoneIdT = Aws::String>
271 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
272 template<typename HostedZoneIdT = Aws::String>
273 AwsRdsDbClusterDetails& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
275
277
280 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
281 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
282 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
283 inline AwsRdsDbClusterDetails& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
285
287
291 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
292 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
293 template<typename KmsKeyIdT = Aws::String>
294 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
295 template<typename KmsKeyIdT = Aws::String>
296 AwsRdsDbClusterDetails& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
298
300
304 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
305 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
306 template<typename DbClusterResourceIdT = Aws::String>
307 void SetDbClusterResourceId(DbClusterResourceIdT&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value); }
308 template<typename DbClusterResourceIdT = Aws::String>
309 AwsRdsDbClusterDetails& WithDbClusterResourceId(DbClusterResourceIdT&& value) { SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value)); return *this;}
311
313
316 inline const Aws::Vector<AwsRdsDbClusterAssociatedRole>& GetAssociatedRoles() const { return m_associatedRoles; }
317 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
318 template<typename AssociatedRolesT = Aws::Vector<AwsRdsDbClusterAssociatedRole>>
319 void SetAssociatedRoles(AssociatedRolesT&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = std::forward<AssociatedRolesT>(value); }
320 template<typename AssociatedRolesT = Aws::Vector<AwsRdsDbClusterAssociatedRole>>
321 AwsRdsDbClusterDetails& WithAssociatedRoles(AssociatedRolesT&& value) { SetAssociatedRoles(std::forward<AssociatedRolesT>(value)); return *this;}
322 template<typename AssociatedRolesT = AwsRdsDbClusterAssociatedRole>
323 AwsRdsDbClusterDetails& AddAssociatedRoles(AssociatedRolesT&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value)); return *this; }
325
327
333 inline const Aws::String& GetClusterCreateTime() const { return m_clusterCreateTime; }
334 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
335 template<typename ClusterCreateTimeT = Aws::String>
336 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
337 template<typename ClusterCreateTimeT = Aws::String>
338 AwsRdsDbClusterDetails& WithClusterCreateTime(ClusterCreateTimeT&& value) { SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value)); return *this;}
340
342
346 inline const Aws::Vector<Aws::String>& GetEnabledCloudWatchLogsExports() const { return m_enabledCloudWatchLogsExports; }
347 inline bool EnabledCloudWatchLogsExportsHasBeenSet() const { return m_enabledCloudWatchLogsExportsHasBeenSet; }
348 template<typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
349 void SetEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports = std::forward<EnabledCloudWatchLogsExportsT>(value); }
350 template<typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
351 AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) { SetEnabledCloudWatchLogsExports(std::forward<EnabledCloudWatchLogsExportsT>(value)); return *this;}
352 template<typename EnabledCloudWatchLogsExportsT = Aws::String>
353 AwsRdsDbClusterDetails& AddEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports.emplace_back(std::forward<EnabledCloudWatchLogsExportsT>(value)); return *this; }
355
357
364 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
365 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
366 template<typename EngineModeT = Aws::String>
367 void SetEngineMode(EngineModeT&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::forward<EngineModeT>(value); }
368 template<typename EngineModeT = Aws::String>
369 AwsRdsDbClusterDetails& WithEngineMode(EngineModeT&& value) { SetEngineMode(std::forward<EngineModeT>(value)); return *this;}
371
373
376 inline bool GetDeletionProtection() const { return m_deletionProtection; }
377 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
378 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
379 inline AwsRdsDbClusterDetails& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
381
383
386 inline bool GetHttpEndpointEnabled() const { return m_httpEndpointEnabled; }
387 inline bool HttpEndpointEnabledHasBeenSet() const { return m_httpEndpointEnabledHasBeenSet; }
388 inline void SetHttpEndpointEnabled(bool value) { m_httpEndpointEnabledHasBeenSet = true; m_httpEndpointEnabled = value; }
389 inline AwsRdsDbClusterDetails& WithHttpEndpointEnabled(bool value) { SetHttpEndpointEnabled(value); return *this;}
391
393
399 inline const Aws::String& GetActivityStreamStatus() const { return m_activityStreamStatus; }
400 inline bool ActivityStreamStatusHasBeenSet() const { return m_activityStreamStatusHasBeenSet; }
401 template<typename ActivityStreamStatusT = Aws::String>
402 void SetActivityStreamStatus(ActivityStreamStatusT&& value) { m_activityStreamStatusHasBeenSet = true; m_activityStreamStatus = std::forward<ActivityStreamStatusT>(value); }
403 template<typename ActivityStreamStatusT = Aws::String>
404 AwsRdsDbClusterDetails& WithActivityStreamStatus(ActivityStreamStatusT&& value) { SetActivityStreamStatus(std::forward<ActivityStreamStatusT>(value)); return *this;}
406
408
412 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
413 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
414 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
415 inline AwsRdsDbClusterDetails& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
417
419
423 inline bool GetCrossAccountClone() const { return m_crossAccountClone; }
424 inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; }
425 inline void SetCrossAccountClone(bool value) { m_crossAccountCloneHasBeenSet = true; m_crossAccountClone = value; }
426 inline AwsRdsDbClusterDetails& WithCrossAccountClone(bool value) { SetCrossAccountClone(value); return *this;}
428
430
434 inline const Aws::Vector<AwsRdsDbDomainMembership>& GetDomainMemberships() const { return m_domainMemberships; }
435 inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; }
436 template<typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
437 void SetDomainMemberships(DomainMembershipsT&& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships = std::forward<DomainMembershipsT>(value); }
438 template<typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
439 AwsRdsDbClusterDetails& WithDomainMemberships(DomainMembershipsT&& value) { SetDomainMemberships(std::forward<DomainMembershipsT>(value)); return *this;}
440 template<typename DomainMembershipsT = AwsRdsDbDomainMembership>
441 AwsRdsDbClusterDetails& AddDomainMemberships(DomainMembershipsT&& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships.emplace_back(std::forward<DomainMembershipsT>(value)); return *this; }
443
445
448 inline const Aws::String& GetDbClusterParameterGroup() const { return m_dbClusterParameterGroup; }
449 inline bool DbClusterParameterGroupHasBeenSet() const { return m_dbClusterParameterGroupHasBeenSet; }
450 template<typename DbClusterParameterGroupT = Aws::String>
451 void SetDbClusterParameterGroup(DbClusterParameterGroupT&& value) { m_dbClusterParameterGroupHasBeenSet = true; m_dbClusterParameterGroup = std::forward<DbClusterParameterGroupT>(value); }
452 template<typename DbClusterParameterGroupT = Aws::String>
453 AwsRdsDbClusterDetails& WithDbClusterParameterGroup(DbClusterParameterGroupT&& value) { SetDbClusterParameterGroup(std::forward<DbClusterParameterGroupT>(value)); return *this;}
455
457
461 inline const Aws::String& GetDbSubnetGroup() const { return m_dbSubnetGroup; }
462 inline bool DbSubnetGroupHasBeenSet() const { return m_dbSubnetGroupHasBeenSet; }
463 template<typename DbSubnetGroupT = Aws::String>
464 void SetDbSubnetGroup(DbSubnetGroupT&& value) { m_dbSubnetGroupHasBeenSet = true; m_dbSubnetGroup = std::forward<DbSubnetGroupT>(value); }
465 template<typename DbSubnetGroupT = Aws::String>
466 AwsRdsDbClusterDetails& WithDbSubnetGroup(DbSubnetGroupT&& value) { SetDbSubnetGroup(std::forward<DbSubnetGroupT>(value)); return *this;}
468
470
473 inline const Aws::Vector<AwsRdsDbClusterOptionGroupMembership>& GetDbClusterOptionGroupMemberships() const { return m_dbClusterOptionGroupMemberships; }
474 inline bool DbClusterOptionGroupMembershipsHasBeenSet() const { return m_dbClusterOptionGroupMembershipsHasBeenSet; }
475 template<typename DbClusterOptionGroupMembershipsT = Aws::Vector<AwsRdsDbClusterOptionGroupMembership>>
476 void SetDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships = std::forward<DbClusterOptionGroupMembershipsT>(value); }
477 template<typename DbClusterOptionGroupMembershipsT = Aws::Vector<AwsRdsDbClusterOptionGroupMembership>>
478 AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) { SetDbClusterOptionGroupMemberships(std::forward<DbClusterOptionGroupMembershipsT>(value)); return *this;}
479 template<typename DbClusterOptionGroupMembershipsT = AwsRdsDbClusterOptionGroupMembership>
480 AwsRdsDbClusterDetails& AddDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships.emplace_back(std::forward<DbClusterOptionGroupMembershipsT>(value)); return *this; }
482
484
488 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
489 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
490 template<typename DbClusterIdentifierT = Aws::String>
491 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value); }
492 template<typename DbClusterIdentifierT = Aws::String>
493 AwsRdsDbClusterDetails& WithDbClusterIdentifier(DbClusterIdentifierT&& value) { SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value)); return *this;}
495
497
500 inline const Aws::Vector<AwsRdsDbClusterMember>& GetDbClusterMembers() const { return m_dbClusterMembers; }
501 inline bool DbClusterMembersHasBeenSet() const { return m_dbClusterMembersHasBeenSet; }
502 template<typename DbClusterMembersT = Aws::Vector<AwsRdsDbClusterMember>>
503 void SetDbClusterMembers(DbClusterMembersT&& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers = std::forward<DbClusterMembersT>(value); }
504 template<typename DbClusterMembersT = Aws::Vector<AwsRdsDbClusterMember>>
505 AwsRdsDbClusterDetails& WithDbClusterMembers(DbClusterMembersT&& value) { SetDbClusterMembers(std::forward<DbClusterMembersT>(value)); return *this;}
506 template<typename DbClusterMembersT = AwsRdsDbClusterMember>
507 AwsRdsDbClusterDetails& AddDbClusterMembers(DbClusterMembersT&& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers.emplace_back(std::forward<DbClusterMembersT>(value)); return *this; }
509
511
514 inline bool GetIamDatabaseAuthenticationEnabled() const { return m_iamDatabaseAuthenticationEnabled; }
515 inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; }
516 inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; }
519
521
525 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
526 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
527 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
530 private:
531
532 int m_allocatedStorage{0};
533 bool m_allocatedStorageHasBeenSet = false;
534
535 Aws::Vector<Aws::String> m_availabilityZones;
536 bool m_availabilityZonesHasBeenSet = false;
537
538 int m_backupRetentionPeriod{0};
539 bool m_backupRetentionPeriodHasBeenSet = false;
540
541 Aws::String m_databaseName;
542 bool m_databaseNameHasBeenSet = false;
543
544 Aws::String m_status;
545 bool m_statusHasBeenSet = false;
546
547 Aws::String m_endpoint;
548 bool m_endpointHasBeenSet = false;
549
550 Aws::String m_readerEndpoint;
551 bool m_readerEndpointHasBeenSet = false;
552
553 Aws::Vector<Aws::String> m_customEndpoints;
554 bool m_customEndpointsHasBeenSet = false;
555
556 bool m_multiAz{false};
557 bool m_multiAzHasBeenSet = false;
558
559 Aws::String m_engine;
560 bool m_engineHasBeenSet = false;
561
562 Aws::String m_engineVersion;
563 bool m_engineVersionHasBeenSet = false;
564
565 int m_port{0};
566 bool m_portHasBeenSet = false;
567
568 Aws::String m_masterUsername;
569 bool m_masterUsernameHasBeenSet = false;
570
571 Aws::String m_preferredBackupWindow;
572 bool m_preferredBackupWindowHasBeenSet = false;
573
574 Aws::String m_preferredMaintenanceWindow;
575 bool m_preferredMaintenanceWindowHasBeenSet = false;
576
577 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
578 bool m_readReplicaIdentifiersHasBeenSet = false;
579
581 bool m_vpcSecurityGroupsHasBeenSet = false;
582
583 Aws::String m_hostedZoneId;
584 bool m_hostedZoneIdHasBeenSet = false;
585
586 bool m_storageEncrypted{false};
587 bool m_storageEncryptedHasBeenSet = false;
588
589 Aws::String m_kmsKeyId;
590 bool m_kmsKeyIdHasBeenSet = false;
591
592 Aws::String m_dbClusterResourceId;
593 bool m_dbClusterResourceIdHasBeenSet = false;
594
596 bool m_associatedRolesHasBeenSet = false;
597
598 Aws::String m_clusterCreateTime;
599 bool m_clusterCreateTimeHasBeenSet = false;
600
601 Aws::Vector<Aws::String> m_enabledCloudWatchLogsExports;
602 bool m_enabledCloudWatchLogsExportsHasBeenSet = false;
603
604 Aws::String m_engineMode;
605 bool m_engineModeHasBeenSet = false;
606
607 bool m_deletionProtection{false};
608 bool m_deletionProtectionHasBeenSet = false;
609
610 bool m_httpEndpointEnabled{false};
611 bool m_httpEndpointEnabledHasBeenSet = false;
612
613 Aws::String m_activityStreamStatus;
614 bool m_activityStreamStatusHasBeenSet = false;
615
616 bool m_copyTagsToSnapshot{false};
617 bool m_copyTagsToSnapshotHasBeenSet = false;
618
619 bool m_crossAccountClone{false};
620 bool m_crossAccountCloneHasBeenSet = false;
621
622 Aws::Vector<AwsRdsDbDomainMembership> m_domainMemberships;
623 bool m_domainMembershipsHasBeenSet = false;
624
625 Aws::String m_dbClusterParameterGroup;
626 bool m_dbClusterParameterGroupHasBeenSet = false;
627
628 Aws::String m_dbSubnetGroup;
629 bool m_dbSubnetGroupHasBeenSet = false;
630
631 Aws::Vector<AwsRdsDbClusterOptionGroupMembership> m_dbClusterOptionGroupMemberships;
632 bool m_dbClusterOptionGroupMembershipsHasBeenSet = false;
633
634 Aws::String m_dbClusterIdentifier;
635 bool m_dbClusterIdentifierHasBeenSet = false;
636
637 Aws::Vector<AwsRdsDbClusterMember> m_dbClusterMembers;
638 bool m_dbClusterMembersHasBeenSet = false;
639
640 bool m_iamDatabaseAuthenticationEnabled{false};
641 bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false;
642
643 bool m_autoMinorVersionUpgrade{false};
644 bool m_autoMinorVersionUpgradeHasBeenSet = false;
645 };
646
647} // namespace Model
648} // namespace SecurityHub
649} // namespace Aws
void SetDbClusterIdentifier(DbClusterIdentifierT &&value)
AwsRdsDbClusterDetails & WithReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
AwsRdsDbClusterDetails & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
AwsRdsDbClusterDetails & AddDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT &&value)
AwsRdsDbClusterDetails & WithMultiAz(bool value)
AwsRdsDbClusterDetails & WithDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT &&value)
AwsRdsDbClusterDetails & AddCustomEndpoints(CustomEndpointsT &&value)
AwsRdsDbClusterDetails & WithDbClusterResourceId(DbClusterResourceIdT &&value)
AwsRdsDbClusterDetails & WithDbClusterMembers(DbClusterMembersT &&value)
AwsRdsDbClusterDetails & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
AwsRdsDbClusterDetails & WithClusterCreateTime(ClusterCreateTimeT &&value)
AwsRdsDbClusterDetails & WithEngineMode(EngineModeT &&value)
AwsRdsDbClusterDetails & WithStatus(StatusT &&value)
const Aws::Vector< AwsRdsDbDomainMembership > & GetDomainMemberships() const
AwsRdsDbClusterDetails & WithMasterUsername(MasterUsernameT &&value)
const Aws::Vector< AwsRdsDbClusterMember > & GetDbClusterMembers() const
void SetAvailabilityZones(AvailabilityZonesT &&value)
AwsRdsDbClusterDetails & WithDbClusterParameterGroup(DbClusterParameterGroupT &&value)
AwsRdsDbClusterDetails & WithEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
AwsRdsDbClusterDetails & AddReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
AwsRdsDbClusterDetails & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT &&value)
const Aws::Vector< Aws::String > & GetEnabledCloudWatchLogsExports() const
AwsRdsDbClusterDetails & WithEngine(EngineT &&value)
AwsRdsDbClusterDetails & WithEndpoint(EndpointT &&value)
const Aws::Vector< AwsRdsDbClusterOptionGroupMembership > & GetDbClusterOptionGroupMemberships() const
AwsRdsDbClusterDetails & WithDatabaseName(DatabaseNameT &&value)
AwsRdsDbClusterDetails & AddDomainMemberships(DomainMembershipsT &&value)
AwsRdsDbClusterDetails & WithActivityStreamStatus(ActivityStreamStatusT &&value)
void SetEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
void SetActivityStreamStatus(ActivityStreamStatusT &&value)
AwsRdsDbClusterDetails & WithCopyTagsToSnapshot(bool value)
AwsRdsDbClusterDetails & WithEngineVersion(EngineVersionT &&value)
AwsRdsDbClusterDetails & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
AwsRdsDbClusterDetails & WithHostedZoneId(HostedZoneIdT &&value)
void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
AwsRdsDbClusterDetails & WithReaderEndpoint(ReaderEndpointT &&value)
AwsRdsDbClusterDetails & WithBackupRetentionPeriod(int value)
AwsRdsDbClusterDetails & WithHttpEndpointEnabled(bool value)
const Aws::Vector< Aws::String > & GetCustomEndpoints() const
const Aws::Vector< AwsRdsDbClusterAssociatedRole > & GetAssociatedRoles() const
AwsRdsDbClusterDetails & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
AwsRdsDbClusterDetails & WithCrossAccountClone(bool value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
AWS_SECURITYHUB_API AwsRdsDbClusterDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterDetails & WithCustomEndpoints(CustomEndpointsT &&value)
AwsRdsDbClusterDetails & WithDomainMemberships(DomainMembershipsT &&value)
AwsRdsDbClusterDetails & AddAssociatedRoles(AssociatedRolesT &&value)
AwsRdsDbClusterDetails & WithDbSubnetGroup(DbSubnetGroupT &&value)
AwsRdsDbClusterDetails & WithDeletionProtection(bool value)
AwsRdsDbClusterDetails & WithIamDatabaseAuthenticationEnabled(bool value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbClusterDetails & WithAssociatedRoles(AssociatedRolesT &&value)
AWS_SECURITYHUB_API AwsRdsDbClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterDetails & WithStorageEncrypted(bool value)
AwsRdsDbClusterDetails & WithAvailabilityZones(AvailabilityZonesT &&value)
AwsRdsDbClusterDetails & AddAvailabilityZones(AvailabilityZonesT &&value)
const Aws::Vector< AwsRdsDbInstanceVpcSecurityGroup > & GetVpcSecurityGroups() const
AwsRdsDbClusterDetails & WithAllocatedStorage(int value)
AwsRdsDbClusterDetails & AddDbClusterMembers(DbClusterMembersT &&value)
AwsRdsDbClusterDetails & WithAutoMinorVersionUpgrade(bool value)
AwsRdsDbClusterDetails & AddEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
void SetDbClusterParameterGroup(DbClusterParameterGroupT &&value)
AWS_SECURITYHUB_API AwsRdsDbClusterDetails()=default
AwsRdsDbClusterDetails & WithKmsKeyId(KmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue