AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsRdsDbClusterDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsRdsDbClusterAssociatedRole.h>
11#include <aws/securityhub/model/AwsRdsDbClusterMember.h>
12#include <aws/securityhub/model/AwsRdsDbClusterOptionGroupMembership.h>
13#include <aws/securityhub/model/AwsRdsDbDomainMembership.h>
14#include <aws/securityhub/model/AwsRdsDbInstanceVpcSecurityGroup.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
27
34 public:
35 AWS_SECURITYHUB_API AwsRdsDbClusterDetails() = default;
36 AWS_SECURITYHUB_API AwsRdsDbClusterDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
46 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
47 inline void SetAllocatedStorage(int value) {
48 m_allocatedStorageHasBeenSet = true;
49 m_allocatedStorage = value;
50 }
53 return *this;
54 }
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) {
66 m_availabilityZonesHasBeenSet = true;
67 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
68 }
69 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
70 AwsRdsDbClusterDetails& WithAvailabilityZones(AvailabilityZonesT&& value) {
71 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
72 return *this;
73 }
74 template <typename AvailabilityZonesT = Aws::String>
75 AwsRdsDbClusterDetails& AddAvailabilityZones(AvailabilityZonesT&& value) {
76 m_availabilityZonesHasBeenSet = true;
77 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
78 return *this;
79 }
81
83
86 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
87 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
88 inline void SetBackupRetentionPeriod(int value) {
89 m_backupRetentionPeriodHasBeenSet = true;
90 m_backupRetentionPeriod = value;
91 }
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
103 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
104 template <typename DatabaseNameT = Aws::String>
105 void SetDatabaseName(DatabaseNameT&& value) {
106 m_databaseNameHasBeenSet = true;
107 m_databaseName = std::forward<DatabaseNameT>(value);
108 }
109 template <typename DatabaseNameT = Aws::String>
110 AwsRdsDbClusterDetails& WithDatabaseName(DatabaseNameT&& value) {
111 SetDatabaseName(std::forward<DatabaseNameT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 template <typename StatusT = Aws::String>
123 void SetStatus(StatusT&& value) {
124 m_statusHasBeenSet = true;
125 m_status = std::forward<StatusT>(value);
126 }
127 template <typename StatusT = Aws::String>
129 SetStatus(std::forward<StatusT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
139 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
140 template <typename EndpointT = Aws::String>
141 void SetEndpoint(EndpointT&& value) {
142 m_endpointHasBeenSet = true;
143 m_endpoint = std::forward<EndpointT>(value);
144 }
145 template <typename EndpointT = Aws::String>
147 SetEndpoint(std::forward<EndpointT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
157 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
158 template <typename ReaderEndpointT = Aws::String>
159 void SetReaderEndpoint(ReaderEndpointT&& value) {
160 m_readerEndpointHasBeenSet = true;
161 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
162 }
163 template <typename ReaderEndpointT = Aws::String>
164 AwsRdsDbClusterDetails& WithReaderEndpoint(ReaderEndpointT&& value) {
165 SetReaderEndpoint(std::forward<ReaderEndpointT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Vector<Aws::String>& GetCustomEndpoints() const { return m_customEndpoints; }
175 inline bool CustomEndpointsHasBeenSet() const { return m_customEndpointsHasBeenSet; }
176 template <typename CustomEndpointsT = Aws::Vector<Aws::String>>
177 void SetCustomEndpoints(CustomEndpointsT&& value) {
178 m_customEndpointsHasBeenSet = true;
179 m_customEndpoints = std::forward<CustomEndpointsT>(value);
180 }
181 template <typename CustomEndpointsT = Aws::Vector<Aws::String>>
182 AwsRdsDbClusterDetails& WithCustomEndpoints(CustomEndpointsT&& value) {
183 SetCustomEndpoints(std::forward<CustomEndpointsT>(value));
184 return *this;
185 }
186 template <typename CustomEndpointsT = Aws::String>
187 AwsRdsDbClusterDetails& AddCustomEndpoints(CustomEndpointsT&& value) {
188 m_customEndpointsHasBeenSet = true;
189 m_customEndpoints.emplace_back(std::forward<CustomEndpointsT>(value));
190 return *this;
191 }
193
195
198 inline bool GetMultiAz() const { return m_multiAz; }
199 inline bool MultiAzHasBeenSet() const { return m_multiAzHasBeenSet; }
200 inline void SetMultiAz(bool value) {
201 m_multiAzHasBeenSet = true;
202 m_multiAz = value;
203 }
205 SetMultiAz(value);
206 return *this;
207 }
209
211
217 inline const Aws::String& GetEngine() const { return m_engine; }
218 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
219 template <typename EngineT = Aws::String>
220 void SetEngine(EngineT&& value) {
221 m_engineHasBeenSet = true;
222 m_engine = std::forward<EngineT>(value);
223 }
224 template <typename EngineT = Aws::String>
226 SetEngine(std::forward<EngineT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
236 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
237 template <typename EngineVersionT = Aws::String>
238 void SetEngineVersion(EngineVersionT&& value) {
239 m_engineVersionHasBeenSet = true;
240 m_engineVersion = std::forward<EngineVersionT>(value);
241 }
242 template <typename EngineVersionT = Aws::String>
243 AwsRdsDbClusterDetails& WithEngineVersion(EngineVersionT&& value) {
244 SetEngineVersion(std::forward<EngineVersionT>(value));
245 return *this;
246 }
248
250
254 inline int GetPort() const { return m_port; }
255 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
256 inline void SetPort(int value) {
257 m_portHasBeenSet = true;
258 m_port = value;
259 }
260 inline AwsRdsDbClusterDetails& WithPort(int value) {
261 SetPort(value);
262 return *this;
263 }
265
267
270 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
271 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
272 template <typename MasterUsernameT = Aws::String>
273 void SetMasterUsername(MasterUsernameT&& value) {
274 m_masterUsernameHasBeenSet = true;
275 m_masterUsername = std::forward<MasterUsernameT>(value);
276 }
277 template <typename MasterUsernameT = Aws::String>
278 AwsRdsDbClusterDetails& WithMasterUsername(MasterUsernameT&& value) {
279 SetMasterUsername(std::forward<MasterUsernameT>(value));
280 return *this;
281 }
283
285
290 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
291 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
292 template <typename PreferredBackupWindowT = Aws::String>
293 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
294 m_preferredBackupWindowHasBeenSet = true;
295 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
296 }
297 template <typename PreferredBackupWindowT = Aws::String>
298 AwsRdsDbClusterDetails& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
299 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
300 return *this;
301 }
303
305
312 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
313 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
314 template <typename PreferredMaintenanceWindowT = Aws::String>
315 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
316 m_preferredMaintenanceWindowHasBeenSet = true;
317 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
318 }
319 template <typename PreferredMaintenanceWindowT = Aws::String>
320 AwsRdsDbClusterDetails& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
321 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
322 return *this;
323 }
325
327
331 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
332 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
333 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
334 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
335 m_readReplicaIdentifiersHasBeenSet = true;
336 m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value);
337 }
338 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
339 AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
340 SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value));
341 return *this;
342 }
343 template <typename ReadReplicaIdentifiersT = Aws::String>
344 AwsRdsDbClusterDetails& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
345 m_readReplicaIdentifiersHasBeenSet = true;
346 m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value));
347 return *this;
348 }
350
352
355 inline const Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
356 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
357 template <typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
358 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
359 m_vpcSecurityGroupsHasBeenSet = true;
360 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
361 }
362 template <typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
363 AwsRdsDbClusterDetails& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
364 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
365 return *this;
366 }
367 template <typename VpcSecurityGroupsT = AwsRdsDbInstanceVpcSecurityGroup>
368 AwsRdsDbClusterDetails& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
369 m_vpcSecurityGroupsHasBeenSet = true;
370 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
371 return *this;
372 }
374
376
380 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
381 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
382 template <typename HostedZoneIdT = Aws::String>
383 void SetHostedZoneId(HostedZoneIdT&& value) {
384 m_hostedZoneIdHasBeenSet = true;
385 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
386 }
387 template <typename HostedZoneIdT = Aws::String>
388 AwsRdsDbClusterDetails& WithHostedZoneId(HostedZoneIdT&& value) {
389 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
390 return *this;
391 }
393
395
398 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
399 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
400 inline void SetStorageEncrypted(bool value) {
401 m_storageEncryptedHasBeenSet = true;
402 m_storageEncrypted = value;
403 }
405 SetStorageEncrypted(value);
406 return *this;
407 }
409
411
415 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
416 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
417 template <typename KmsKeyIdT = Aws::String>
418 void SetKmsKeyId(KmsKeyIdT&& value) {
419 m_kmsKeyIdHasBeenSet = true;
420 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
421 }
422 template <typename KmsKeyIdT = Aws::String>
424 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
425 return *this;
426 }
428
430
434 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
435 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
436 template <typename DbClusterResourceIdT = Aws::String>
437 void SetDbClusterResourceId(DbClusterResourceIdT&& value) {
438 m_dbClusterResourceIdHasBeenSet = true;
439 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
440 }
441 template <typename DbClusterResourceIdT = Aws::String>
442 AwsRdsDbClusterDetails& WithDbClusterResourceId(DbClusterResourceIdT&& value) {
443 SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value));
444 return *this;
445 }
447
449
452 inline const Aws::Vector<AwsRdsDbClusterAssociatedRole>& GetAssociatedRoles() const { return m_associatedRoles; }
453 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
454 template <typename AssociatedRolesT = Aws::Vector<AwsRdsDbClusterAssociatedRole>>
455 void SetAssociatedRoles(AssociatedRolesT&& value) {
456 m_associatedRolesHasBeenSet = true;
457 m_associatedRoles = std::forward<AssociatedRolesT>(value);
458 }
459 template <typename AssociatedRolesT = Aws::Vector<AwsRdsDbClusterAssociatedRole>>
460 AwsRdsDbClusterDetails& WithAssociatedRoles(AssociatedRolesT&& value) {
461 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
462 return *this;
463 }
464 template <typename AssociatedRolesT = AwsRdsDbClusterAssociatedRole>
465 AwsRdsDbClusterDetails& AddAssociatedRoles(AssociatedRolesT&& value) {
466 m_associatedRolesHasBeenSet = true;
467 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
468 return *this;
469 }
471
473
479 inline const Aws::String& GetClusterCreateTime() const { return m_clusterCreateTime; }
480 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
481 template <typename ClusterCreateTimeT = Aws::String>
482 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
483 m_clusterCreateTimeHasBeenSet = true;
484 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
485 }
486 template <typename ClusterCreateTimeT = Aws::String>
487 AwsRdsDbClusterDetails& WithClusterCreateTime(ClusterCreateTimeT&& value) {
488 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
489 return *this;
490 }
492
494
498 inline const Aws::Vector<Aws::String>& GetEnabledCloudWatchLogsExports() const { return m_enabledCloudWatchLogsExports; }
499 inline bool EnabledCloudWatchLogsExportsHasBeenSet() const { return m_enabledCloudWatchLogsExportsHasBeenSet; }
500 template <typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
501 void SetEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
502 m_enabledCloudWatchLogsExportsHasBeenSet = true;
503 m_enabledCloudWatchLogsExports = std::forward<EnabledCloudWatchLogsExportsT>(value);
504 }
505 template <typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
506 AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
507 SetEnabledCloudWatchLogsExports(std::forward<EnabledCloudWatchLogsExportsT>(value));
508 return *this;
509 }
510 template <typename EnabledCloudWatchLogsExportsT = Aws::String>
511 AwsRdsDbClusterDetails& AddEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
512 m_enabledCloudWatchLogsExportsHasBeenSet = true;
513 m_enabledCloudWatchLogsExports.emplace_back(std::forward<EnabledCloudWatchLogsExportsT>(value));
514 return *this;
515 }
517
519
526 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
527 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
528 template <typename EngineModeT = Aws::String>
529 void SetEngineMode(EngineModeT&& value) {
530 m_engineModeHasBeenSet = true;
531 m_engineMode = std::forward<EngineModeT>(value);
532 }
533 template <typename EngineModeT = Aws::String>
535 SetEngineMode(std::forward<EngineModeT>(value));
536 return *this;
537 }
539
541
544 inline bool GetDeletionProtection() const { return m_deletionProtection; }
545 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
546 inline void SetDeletionProtection(bool value) {
547 m_deletionProtectionHasBeenSet = true;
548 m_deletionProtection = value;
549 }
552 return *this;
553 }
555
557
560 inline bool GetHttpEndpointEnabled() const { return m_httpEndpointEnabled; }
561 inline bool HttpEndpointEnabledHasBeenSet() const { return m_httpEndpointEnabledHasBeenSet; }
562 inline void SetHttpEndpointEnabled(bool value) {
563 m_httpEndpointEnabledHasBeenSet = true;
564 m_httpEndpointEnabled = value;
565 }
568 return *this;
569 }
571
573
579 inline const Aws::String& GetActivityStreamStatus() const { return m_activityStreamStatus; }
580 inline bool ActivityStreamStatusHasBeenSet() const { return m_activityStreamStatusHasBeenSet; }
581 template <typename ActivityStreamStatusT = Aws::String>
582 void SetActivityStreamStatus(ActivityStreamStatusT&& value) {
583 m_activityStreamStatusHasBeenSet = true;
584 m_activityStreamStatus = std::forward<ActivityStreamStatusT>(value);
585 }
586 template <typename ActivityStreamStatusT = Aws::String>
587 AwsRdsDbClusterDetails& WithActivityStreamStatus(ActivityStreamStatusT&& value) {
588 SetActivityStreamStatus(std::forward<ActivityStreamStatusT>(value));
589 return *this;
590 }
592
594
598 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
599 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
600 inline void SetCopyTagsToSnapshot(bool value) {
601 m_copyTagsToSnapshotHasBeenSet = true;
602 m_copyTagsToSnapshot = value;
603 }
606 return *this;
607 }
609
611
615 inline bool GetCrossAccountClone() const { return m_crossAccountClone; }
616 inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; }
617 inline void SetCrossAccountClone(bool value) {
618 m_crossAccountCloneHasBeenSet = true;
619 m_crossAccountClone = value;
620 }
623 return *this;
624 }
626
628
632 inline const Aws::Vector<AwsRdsDbDomainMembership>& GetDomainMemberships() const { return m_domainMemberships; }
633 inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; }
634 template <typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
635 void SetDomainMemberships(DomainMembershipsT&& value) {
636 m_domainMembershipsHasBeenSet = true;
637 m_domainMemberships = std::forward<DomainMembershipsT>(value);
638 }
639 template <typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
640 AwsRdsDbClusterDetails& WithDomainMemberships(DomainMembershipsT&& value) {
641 SetDomainMemberships(std::forward<DomainMembershipsT>(value));
642 return *this;
643 }
644 template <typename DomainMembershipsT = AwsRdsDbDomainMembership>
645 AwsRdsDbClusterDetails& AddDomainMemberships(DomainMembershipsT&& value) {
646 m_domainMembershipsHasBeenSet = true;
647 m_domainMemberships.emplace_back(std::forward<DomainMembershipsT>(value));
648 return *this;
649 }
651
653
656 inline const Aws::String& GetDbClusterParameterGroup() const { return m_dbClusterParameterGroup; }
657 inline bool DbClusterParameterGroupHasBeenSet() const { return m_dbClusterParameterGroupHasBeenSet; }
658 template <typename DbClusterParameterGroupT = Aws::String>
659 void SetDbClusterParameterGroup(DbClusterParameterGroupT&& value) {
660 m_dbClusterParameterGroupHasBeenSet = true;
661 m_dbClusterParameterGroup = std::forward<DbClusterParameterGroupT>(value);
662 }
663 template <typename DbClusterParameterGroupT = Aws::String>
664 AwsRdsDbClusterDetails& WithDbClusterParameterGroup(DbClusterParameterGroupT&& value) {
665 SetDbClusterParameterGroup(std::forward<DbClusterParameterGroupT>(value));
666 return *this;
667 }
669
671
675 inline const Aws::String& GetDbSubnetGroup() const { return m_dbSubnetGroup; }
676 inline bool DbSubnetGroupHasBeenSet() const { return m_dbSubnetGroupHasBeenSet; }
677 template <typename DbSubnetGroupT = Aws::String>
678 void SetDbSubnetGroup(DbSubnetGroupT&& value) {
679 m_dbSubnetGroupHasBeenSet = true;
680 m_dbSubnetGroup = std::forward<DbSubnetGroupT>(value);
681 }
682 template <typename DbSubnetGroupT = Aws::String>
683 AwsRdsDbClusterDetails& WithDbSubnetGroup(DbSubnetGroupT&& value) {
684 SetDbSubnetGroup(std::forward<DbSubnetGroupT>(value));
685 return *this;
686 }
688
690
694 return m_dbClusterOptionGroupMemberships;
695 }
696 inline bool DbClusterOptionGroupMembershipsHasBeenSet() const { return m_dbClusterOptionGroupMembershipsHasBeenSet; }
697 template <typename DbClusterOptionGroupMembershipsT = Aws::Vector<AwsRdsDbClusterOptionGroupMembership>>
698 void SetDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) {
699 m_dbClusterOptionGroupMembershipsHasBeenSet = true;
700 m_dbClusterOptionGroupMemberships = std::forward<DbClusterOptionGroupMembershipsT>(value);
701 }
702 template <typename DbClusterOptionGroupMembershipsT = Aws::Vector<AwsRdsDbClusterOptionGroupMembership>>
703 AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) {
704 SetDbClusterOptionGroupMemberships(std::forward<DbClusterOptionGroupMembershipsT>(value));
705 return *this;
706 }
707 template <typename DbClusterOptionGroupMembershipsT = AwsRdsDbClusterOptionGroupMembership>
708 AwsRdsDbClusterDetails& AddDbClusterOptionGroupMemberships(DbClusterOptionGroupMembershipsT&& value) {
709 m_dbClusterOptionGroupMembershipsHasBeenSet = true;
710 m_dbClusterOptionGroupMemberships.emplace_back(std::forward<DbClusterOptionGroupMembershipsT>(value));
711 return *this;
712 }
714
716
720 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
721 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
722 template <typename DbClusterIdentifierT = Aws::String>
723 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) {
724 m_dbClusterIdentifierHasBeenSet = true;
725 m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value);
726 }
727 template <typename DbClusterIdentifierT = Aws::String>
728 AwsRdsDbClusterDetails& WithDbClusterIdentifier(DbClusterIdentifierT&& value) {
729 SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value));
730 return *this;
731 }
733
735
738 inline const Aws::Vector<AwsRdsDbClusterMember>& GetDbClusterMembers() const { return m_dbClusterMembers; }
739 inline bool DbClusterMembersHasBeenSet() const { return m_dbClusterMembersHasBeenSet; }
740 template <typename DbClusterMembersT = Aws::Vector<AwsRdsDbClusterMember>>
741 void SetDbClusterMembers(DbClusterMembersT&& value) {
742 m_dbClusterMembersHasBeenSet = true;
743 m_dbClusterMembers = std::forward<DbClusterMembersT>(value);
744 }
745 template <typename DbClusterMembersT = Aws::Vector<AwsRdsDbClusterMember>>
746 AwsRdsDbClusterDetails& WithDbClusterMembers(DbClusterMembersT&& value) {
747 SetDbClusterMembers(std::forward<DbClusterMembersT>(value));
748 return *this;
749 }
750 template <typename DbClusterMembersT = AwsRdsDbClusterMember>
751 AwsRdsDbClusterDetails& AddDbClusterMembers(DbClusterMembersT&& value) {
752 m_dbClusterMembersHasBeenSet = true;
753 m_dbClusterMembers.emplace_back(std::forward<DbClusterMembersT>(value));
754 return *this;
755 }
757
759
762 inline bool GetIamDatabaseAuthenticationEnabled() const { return m_iamDatabaseAuthenticationEnabled; }
763 inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; }
764 inline void SetIamDatabaseAuthenticationEnabled(bool value) {
765 m_iamDatabaseAuthenticationEnabledHasBeenSet = true;
766 m_iamDatabaseAuthenticationEnabled = value;
767 }
770 return *this;
771 }
773
775
779 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
780 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
781 inline void SetAutoMinorVersionUpgrade(bool value) {
782 m_autoMinorVersionUpgradeHasBeenSet = true;
783 m_autoMinorVersionUpgrade = value;
784 }
787 return *this;
788 }
790 private:
791 int m_allocatedStorage{0};
792
793 Aws::Vector<Aws::String> m_availabilityZones;
794
795 int m_backupRetentionPeriod{0};
796
797 Aws::String m_databaseName;
798
799 Aws::String m_status;
800
801 Aws::String m_endpoint;
802
803 Aws::String m_readerEndpoint;
804
805 Aws::Vector<Aws::String> m_customEndpoints;
806
807 bool m_multiAz{false};
808
809 Aws::String m_engine;
810
811 Aws::String m_engineVersion;
812
813 int m_port{0};
814
815 Aws::String m_masterUsername;
816
817 Aws::String m_preferredBackupWindow;
818
819 Aws::String m_preferredMaintenanceWindow;
820
821 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
822
824
825 Aws::String m_hostedZoneId;
826
827 bool m_storageEncrypted{false};
828
829 Aws::String m_kmsKeyId;
830
831 Aws::String m_dbClusterResourceId;
832
834
835 Aws::String m_clusterCreateTime;
836
837 Aws::Vector<Aws::String> m_enabledCloudWatchLogsExports;
838
839 Aws::String m_engineMode;
840
841 bool m_deletionProtection{false};
842
843 bool m_httpEndpointEnabled{false};
844
845 Aws::String m_activityStreamStatus;
846
847 bool m_copyTagsToSnapshot{false};
848
849 bool m_crossAccountClone{false};
850
851 Aws::Vector<AwsRdsDbDomainMembership> m_domainMemberships;
852
853 Aws::String m_dbClusterParameterGroup;
854
855 Aws::String m_dbSubnetGroup;
856
857 Aws::Vector<AwsRdsDbClusterOptionGroupMembership> m_dbClusterOptionGroupMemberships;
858
859 Aws::String m_dbClusterIdentifier;
860
861 Aws::Vector<AwsRdsDbClusterMember> m_dbClusterMembers;
862
863 bool m_iamDatabaseAuthenticationEnabled{false};
864
865 bool m_autoMinorVersionUpgrade{false};
866 bool m_allocatedStorageHasBeenSet = false;
867 bool m_availabilityZonesHasBeenSet = false;
868 bool m_backupRetentionPeriodHasBeenSet = false;
869 bool m_databaseNameHasBeenSet = false;
870 bool m_statusHasBeenSet = false;
871 bool m_endpointHasBeenSet = false;
872 bool m_readerEndpointHasBeenSet = false;
873 bool m_customEndpointsHasBeenSet = false;
874 bool m_multiAzHasBeenSet = false;
875 bool m_engineHasBeenSet = false;
876 bool m_engineVersionHasBeenSet = false;
877 bool m_portHasBeenSet = false;
878 bool m_masterUsernameHasBeenSet = false;
879 bool m_preferredBackupWindowHasBeenSet = false;
880 bool m_preferredMaintenanceWindowHasBeenSet = false;
881 bool m_readReplicaIdentifiersHasBeenSet = false;
882 bool m_vpcSecurityGroupsHasBeenSet = false;
883 bool m_hostedZoneIdHasBeenSet = false;
884 bool m_storageEncryptedHasBeenSet = false;
885 bool m_kmsKeyIdHasBeenSet = false;
886 bool m_dbClusterResourceIdHasBeenSet = false;
887 bool m_associatedRolesHasBeenSet = false;
888 bool m_clusterCreateTimeHasBeenSet = false;
889 bool m_enabledCloudWatchLogsExportsHasBeenSet = false;
890 bool m_engineModeHasBeenSet = false;
891 bool m_deletionProtectionHasBeenSet = false;
892 bool m_httpEndpointEnabledHasBeenSet = false;
893 bool m_activityStreamStatusHasBeenSet = false;
894 bool m_copyTagsToSnapshotHasBeenSet = false;
895 bool m_crossAccountCloneHasBeenSet = false;
896 bool m_domainMembershipsHasBeenSet = false;
897 bool m_dbClusterParameterGroupHasBeenSet = false;
898 bool m_dbSubnetGroupHasBeenSet = false;
899 bool m_dbClusterOptionGroupMembershipsHasBeenSet = false;
900 bool m_dbClusterIdentifierHasBeenSet = false;
901 bool m_dbClusterMembersHasBeenSet = false;
902 bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false;
903 bool m_autoMinorVersionUpgradeHasBeenSet = false;
904};
905
906} // namespace Model
907} // namespace SecurityHub
908} // 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