AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsRdsDbInstanceDetails.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/AwsRdsDbDomainMembership.h>
11#include <aws/securityhub/model/AwsRdsDbInstanceAssociatedRole.h>
12#include <aws/securityhub/model/AwsRdsDbInstanceEndpoint.h>
13#include <aws/securityhub/model/AwsRdsDbInstanceVpcSecurityGroup.h>
14#include <aws/securityhub/model/AwsRdsDbOptionGroupMembership.h>
15#include <aws/securityhub/model/AwsRdsDbParameterGroup.h>
16#include <aws/securityhub/model/AwsRdsDbPendingModifiedValues.h>
17#include <aws/securityhub/model/AwsRdsDbProcessorFeature.h>
18#include <aws/securityhub/model/AwsRdsDbStatusInfo.h>
19#include <aws/securityhub/model/AwsRdsDbSubnetGroup.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SecurityHub {
31namespace Model {
32
40 public:
41 AWS_SECURITYHUB_API AwsRdsDbInstanceDetails() = default;
44 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
50 inline const Aws::Vector<AwsRdsDbInstanceAssociatedRole>& GetAssociatedRoles() const { return m_associatedRoles; }
51 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
52 template <typename AssociatedRolesT = Aws::Vector<AwsRdsDbInstanceAssociatedRole>>
53 void SetAssociatedRoles(AssociatedRolesT&& value) {
54 m_associatedRolesHasBeenSet = true;
55 m_associatedRoles = std::forward<AssociatedRolesT>(value);
56 }
57 template <typename AssociatedRolesT = Aws::Vector<AwsRdsDbInstanceAssociatedRole>>
58 AwsRdsDbInstanceDetails& WithAssociatedRoles(AssociatedRolesT&& value) {
59 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
60 return *this;
61 }
62 template <typename AssociatedRolesT = AwsRdsDbInstanceAssociatedRole>
63 AwsRdsDbInstanceDetails& AddAssociatedRoles(AssociatedRolesT&& value) {
64 m_associatedRolesHasBeenSet = true;
65 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
75 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
76 template <typename CACertificateIdentifierT = Aws::String>
77 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
78 m_cACertificateIdentifierHasBeenSet = true;
79 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
80 }
81 template <typename CACertificateIdentifierT = Aws::String>
82 AwsRdsDbInstanceDetails& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
83 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
94 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
95 template <typename DBClusterIdentifierT = Aws::String>
96 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
97 m_dBClusterIdentifierHasBeenSet = true;
98 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
99 }
100 template <typename DBClusterIdentifierT = Aws::String>
101 AwsRdsDbInstanceDetails& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
102 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
113 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
114 template <typename DBInstanceIdentifierT = Aws::String>
115 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
116 m_dBInstanceIdentifierHasBeenSet = true;
117 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
118 }
119 template <typename DBInstanceIdentifierT = Aws::String>
120 AwsRdsDbInstanceDetails& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
121 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetDBInstanceClass() const { return m_dBInstanceClass; }
132 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
133 template <typename DBInstanceClassT = Aws::String>
134 void SetDBInstanceClass(DBInstanceClassT&& value) {
135 m_dBInstanceClassHasBeenSet = true;
136 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
137 }
138 template <typename DBInstanceClassT = Aws::String>
139 AwsRdsDbInstanceDetails& WithDBInstanceClass(DBInstanceClassT&& value) {
140 SetDBInstanceClass(std::forward<DBInstanceClassT>(value));
141 return *this;
142 }
144
146
150 inline int GetDbInstancePort() const { return m_dbInstancePort; }
151 inline bool DbInstancePortHasBeenSet() const { return m_dbInstancePortHasBeenSet; }
152 inline void SetDbInstancePort(int value) {
153 m_dbInstancePortHasBeenSet = true;
154 m_dbInstancePort = value;
155 }
157 SetDbInstancePort(value);
158 return *this;
159 }
161
163
168 inline const Aws::String& GetDbiResourceId() const { return m_dbiResourceId; }
169 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
170 template <typename DbiResourceIdT = Aws::String>
171 void SetDbiResourceId(DbiResourceIdT&& value) {
172 m_dbiResourceIdHasBeenSet = true;
173 m_dbiResourceId = std::forward<DbiResourceIdT>(value);
174 }
175 template <typename DbiResourceIdT = Aws::String>
177 SetDbiResourceId(std::forward<DbiResourceIdT>(value));
178 return *this;
179 }
181
183
192 inline const Aws::String& GetDBName() const { return m_dBName; }
193 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
194 template <typename DBNameT = Aws::String>
195 void SetDBName(DBNameT&& value) {
196 m_dBNameHasBeenSet = true;
197 m_dBName = std::forward<DBNameT>(value);
198 }
199 template <typename DBNameT = Aws::String>
201 SetDBName(std::forward<DBNameT>(value));
202 return *this;
203 }
205
207
211 inline bool GetDeletionProtection() const { return m_deletionProtection; }
212 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
213 inline void SetDeletionProtection(bool value) {
214 m_deletionProtectionHasBeenSet = true;
215 m_deletionProtection = value;
216 }
219 return *this;
220 }
222
224
227 inline const AwsRdsDbInstanceEndpoint& GetEndpoint() const { return m_endpoint; }
228 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
229 template <typename EndpointT = AwsRdsDbInstanceEndpoint>
230 void SetEndpoint(EndpointT&& value) {
231 m_endpointHasBeenSet = true;
232 m_endpoint = std::forward<EndpointT>(value);
233 }
234 template <typename EndpointT = AwsRdsDbInstanceEndpoint>
236 SetEndpoint(std::forward<EndpointT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::String& GetEngine() const { return m_engine; }
246 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
247 template <typename EngineT = Aws::String>
248 void SetEngine(EngineT&& value) {
249 m_engineHasBeenSet = true;
250 m_engine = std::forward<EngineT>(value);
251 }
252 template <typename EngineT = Aws::String>
254 SetEngine(std::forward<EngineT>(value));
255 return *this;
256 }
258
260
263 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
264 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
265 template <typename EngineVersionT = Aws::String>
266 void SetEngineVersion(EngineVersionT&& value) {
267 m_engineVersionHasBeenSet = true;
268 m_engineVersion = std::forward<EngineVersionT>(value);
269 }
270 template <typename EngineVersionT = Aws::String>
272 SetEngineVersion(std::forward<EngineVersionT>(value));
273 return *this;
274 }
276
278
285 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
286 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
287 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
288 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
289 m_iAMDatabaseAuthenticationEnabled = value;
290 }
293 return *this;
294 }
296
298
303 inline const Aws::String& GetInstanceCreateTime() const { return m_instanceCreateTime; }
304 inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
305 template <typename InstanceCreateTimeT = Aws::String>
306 void SetInstanceCreateTime(InstanceCreateTimeT&& value) {
307 m_instanceCreateTimeHasBeenSet = true;
308 m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value);
309 }
310 template <typename InstanceCreateTimeT = Aws::String>
311 AwsRdsDbInstanceDetails& WithInstanceCreateTime(InstanceCreateTimeT&& value) {
312 SetInstanceCreateTime(std::forward<InstanceCreateTimeT>(value));
313 return *this;
314 }
316
318
322 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
323 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
324 template <typename KmsKeyIdT = Aws::String>
325 void SetKmsKeyId(KmsKeyIdT&& value) {
326 m_kmsKeyIdHasBeenSet = true;
327 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
328 }
329 template <typename KmsKeyIdT = Aws::String>
331 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
332 return *this;
333 }
335
337
343 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
344 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
345 inline void SetPubliclyAccessible(bool value) {
346 m_publiclyAccessibleHasBeenSet = true;
347 m_publiclyAccessible = value;
348 }
351 return *this;
352 }
354
356
359 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
360 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
361 inline void SetStorageEncrypted(bool value) {
362 m_storageEncryptedHasBeenSet = true;
363 m_storageEncrypted = value;
364 }
366 SetStorageEncrypted(value);
367 return *this;
368 }
370
372
376 inline const Aws::String& GetTdeCredentialArn() const { return m_tdeCredentialArn; }
377 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
378 template <typename TdeCredentialArnT = Aws::String>
379 void SetTdeCredentialArn(TdeCredentialArnT&& value) {
380 m_tdeCredentialArnHasBeenSet = true;
381 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
382 }
383 template <typename TdeCredentialArnT = Aws::String>
384 AwsRdsDbInstanceDetails& WithTdeCredentialArn(TdeCredentialArnT&& value) {
385 SetTdeCredentialArn(std::forward<TdeCredentialArnT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
395 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
396 template <typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
397 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
398 m_vpcSecurityGroupsHasBeenSet = true;
399 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
400 }
401 template <typename VpcSecurityGroupsT = Aws::Vector<AwsRdsDbInstanceVpcSecurityGroup>>
402 AwsRdsDbInstanceDetails& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
403 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
404 return *this;
405 }
406 template <typename VpcSecurityGroupsT = AwsRdsDbInstanceVpcSecurityGroup>
407 AwsRdsDbInstanceDetails& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
408 m_vpcSecurityGroupsHasBeenSet = true;
409 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
410 return *this;
411 }
413
415
418 inline bool GetMultiAz() const { return m_multiAz; }
419 inline bool MultiAzHasBeenSet() const { return m_multiAzHasBeenSet; }
420 inline void SetMultiAz(bool value) {
421 m_multiAzHasBeenSet = true;
422 m_multiAz = value;
423 }
425 SetMultiAz(value);
426 return *this;
427 }
429
431
435 inline const Aws::String& GetEnhancedMonitoringResourceArn() const { return m_enhancedMonitoringResourceArn; }
436 inline bool EnhancedMonitoringResourceArnHasBeenSet() const { return m_enhancedMonitoringResourceArnHasBeenSet; }
437 template <typename EnhancedMonitoringResourceArnT = Aws::String>
438 void SetEnhancedMonitoringResourceArn(EnhancedMonitoringResourceArnT&& value) {
439 m_enhancedMonitoringResourceArnHasBeenSet = true;
440 m_enhancedMonitoringResourceArn = std::forward<EnhancedMonitoringResourceArnT>(value);
441 }
442 template <typename EnhancedMonitoringResourceArnT = Aws::String>
443 AwsRdsDbInstanceDetails& WithEnhancedMonitoringResourceArn(EnhancedMonitoringResourceArnT&& value) {
444 SetEnhancedMonitoringResourceArn(std::forward<EnhancedMonitoringResourceArnT>(value));
445 return *this;
446 }
448
450
453 inline const Aws::String& GetDbInstanceStatus() const { return m_dbInstanceStatus; }
454 inline bool DbInstanceStatusHasBeenSet() const { return m_dbInstanceStatusHasBeenSet; }
455 template <typename DbInstanceStatusT = Aws::String>
456 void SetDbInstanceStatus(DbInstanceStatusT&& value) {
457 m_dbInstanceStatusHasBeenSet = true;
458 m_dbInstanceStatus = std::forward<DbInstanceStatusT>(value);
459 }
460 template <typename DbInstanceStatusT = Aws::String>
461 AwsRdsDbInstanceDetails& WithDbInstanceStatus(DbInstanceStatusT&& value) {
462 SetDbInstanceStatus(std::forward<DbInstanceStatusT>(value));
463 return *this;
464 }
466
468
471 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
472 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
473 template <typename MasterUsernameT = Aws::String>
474 void SetMasterUsername(MasterUsernameT&& value) {
475 m_masterUsernameHasBeenSet = true;
476 m_masterUsername = std::forward<MasterUsernameT>(value);
477 }
478 template <typename MasterUsernameT = Aws::String>
479 AwsRdsDbInstanceDetails& WithMasterUsername(MasterUsernameT&& value) {
480 SetMasterUsername(std::forward<MasterUsernameT>(value));
481 return *this;
482 }
484
486
490 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
491 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
492 inline void SetAllocatedStorage(int value) {
493 m_allocatedStorageHasBeenSet = true;
494 m_allocatedStorage = value;
495 }
497 SetAllocatedStorage(value);
498 return *this;
499 }
501
503
508 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
509 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
510 template <typename PreferredBackupWindowT = Aws::String>
511 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
512 m_preferredBackupWindowHasBeenSet = true;
513 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
514 }
515 template <typename PreferredBackupWindowT = Aws::String>
516 AwsRdsDbInstanceDetails& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
517 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
518 return *this;
519 }
521
523
526 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
527 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
528 inline void SetBackupRetentionPeriod(int value) {
529 m_backupRetentionPeriodHasBeenSet = true;
530 m_backupRetentionPeriod = value;
531 }
534 return *this;
535 }
537
539
542 inline const Aws::Vector<Aws::String>& GetDbSecurityGroups() const { return m_dbSecurityGroups; }
543 inline bool DbSecurityGroupsHasBeenSet() const { return m_dbSecurityGroupsHasBeenSet; }
544 template <typename DbSecurityGroupsT = Aws::Vector<Aws::String>>
545 void SetDbSecurityGroups(DbSecurityGroupsT&& value) {
546 m_dbSecurityGroupsHasBeenSet = true;
547 m_dbSecurityGroups = std::forward<DbSecurityGroupsT>(value);
548 }
549 template <typename DbSecurityGroupsT = Aws::Vector<Aws::String>>
550 AwsRdsDbInstanceDetails& WithDbSecurityGroups(DbSecurityGroupsT&& value) {
551 SetDbSecurityGroups(std::forward<DbSecurityGroupsT>(value));
552 return *this;
553 }
554 template <typename DbSecurityGroupsT = Aws::String>
555 AwsRdsDbInstanceDetails& AddDbSecurityGroups(DbSecurityGroupsT&& value) {
556 m_dbSecurityGroupsHasBeenSet = true;
557 m_dbSecurityGroups.emplace_back(std::forward<DbSecurityGroupsT>(value));
558 return *this;
559 }
561
563
566 inline const Aws::Vector<AwsRdsDbParameterGroup>& GetDbParameterGroups() const { return m_dbParameterGroups; }
567 inline bool DbParameterGroupsHasBeenSet() const { return m_dbParameterGroupsHasBeenSet; }
568 template <typename DbParameterGroupsT = Aws::Vector<AwsRdsDbParameterGroup>>
569 void SetDbParameterGroups(DbParameterGroupsT&& value) {
570 m_dbParameterGroupsHasBeenSet = true;
571 m_dbParameterGroups = std::forward<DbParameterGroupsT>(value);
572 }
573 template <typename DbParameterGroupsT = Aws::Vector<AwsRdsDbParameterGroup>>
574 AwsRdsDbInstanceDetails& WithDbParameterGroups(DbParameterGroupsT&& value) {
575 SetDbParameterGroups(std::forward<DbParameterGroupsT>(value));
576 return *this;
577 }
578 template <typename DbParameterGroupsT = AwsRdsDbParameterGroup>
579 AwsRdsDbInstanceDetails& AddDbParameterGroups(DbParameterGroupsT&& value) {
580 m_dbParameterGroupsHasBeenSet = true;
581 m_dbParameterGroups.emplace_back(std::forward<DbParameterGroupsT>(value));
582 return *this;
583 }
585
587
590 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
591 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
592 template <typename AvailabilityZoneT = Aws::String>
593 void SetAvailabilityZone(AvailabilityZoneT&& value) {
594 m_availabilityZoneHasBeenSet = true;
595 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
596 }
597 template <typename AvailabilityZoneT = Aws::String>
598 AwsRdsDbInstanceDetails& WithAvailabilityZone(AvailabilityZoneT&& value) {
599 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
600 return *this;
601 }
603
605
609 inline const AwsRdsDbSubnetGroup& GetDbSubnetGroup() const { return m_dbSubnetGroup; }
610 inline bool DbSubnetGroupHasBeenSet() const { return m_dbSubnetGroupHasBeenSet; }
611 template <typename DbSubnetGroupT = AwsRdsDbSubnetGroup>
612 void SetDbSubnetGroup(DbSubnetGroupT&& value) {
613 m_dbSubnetGroupHasBeenSet = true;
614 m_dbSubnetGroup = std::forward<DbSubnetGroupT>(value);
615 }
616 template <typename DbSubnetGroupT = AwsRdsDbSubnetGroup>
618 SetDbSubnetGroup(std::forward<DbSubnetGroupT>(value));
619 return *this;
620 }
622
624
631 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
632 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
633 template <typename PreferredMaintenanceWindowT = Aws::String>
634 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
635 m_preferredMaintenanceWindowHasBeenSet = true;
636 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
637 }
638 template <typename PreferredMaintenanceWindowT = Aws::String>
639 AwsRdsDbInstanceDetails& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
640 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
641 return *this;
642 }
644
646
649 inline const AwsRdsDbPendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
650 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
651 template <typename PendingModifiedValuesT = AwsRdsDbPendingModifiedValues>
652 void SetPendingModifiedValues(PendingModifiedValuesT&& value) {
653 m_pendingModifiedValuesHasBeenSet = true;
654 m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value);
655 }
656 template <typename PendingModifiedValuesT = AwsRdsDbPendingModifiedValues>
657 AwsRdsDbInstanceDetails& WithPendingModifiedValues(PendingModifiedValuesT&& value) {
658 SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value));
659 return *this;
660 }
662
664
670 inline const Aws::String& GetLatestRestorableTime() const { return m_latestRestorableTime; }
671 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
672 template <typename LatestRestorableTimeT = Aws::String>
673 void SetLatestRestorableTime(LatestRestorableTimeT&& value) {
674 m_latestRestorableTimeHasBeenSet = true;
675 m_latestRestorableTime = std::forward<LatestRestorableTimeT>(value);
676 }
677 template <typename LatestRestorableTimeT = Aws::String>
678 AwsRdsDbInstanceDetails& WithLatestRestorableTime(LatestRestorableTimeT&& value) {
679 SetLatestRestorableTime(std::forward<LatestRestorableTimeT>(value));
680 return *this;
681 }
683
685
688 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
689 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
690 inline void SetAutoMinorVersionUpgrade(bool value) {
691 m_autoMinorVersionUpgradeHasBeenSet = true;
692 m_autoMinorVersionUpgrade = value;
693 }
696 return *this;
697 }
699
701
705 inline const Aws::String& GetReadReplicaSourceDBInstanceIdentifier() const { return m_readReplicaSourceDBInstanceIdentifier; }
706 inline bool ReadReplicaSourceDBInstanceIdentifierHasBeenSet() const { return m_readReplicaSourceDBInstanceIdentifierHasBeenSet; }
707 template <typename ReadReplicaSourceDBInstanceIdentifierT = Aws::String>
708 void SetReadReplicaSourceDBInstanceIdentifier(ReadReplicaSourceDBInstanceIdentifierT&& value) {
709 m_readReplicaSourceDBInstanceIdentifierHasBeenSet = true;
710 m_readReplicaSourceDBInstanceIdentifier = std::forward<ReadReplicaSourceDBInstanceIdentifierT>(value);
711 }
712 template <typename ReadReplicaSourceDBInstanceIdentifierT = Aws::String>
713 AwsRdsDbInstanceDetails& WithReadReplicaSourceDBInstanceIdentifier(ReadReplicaSourceDBInstanceIdentifierT&& value) {
714 SetReadReplicaSourceDBInstanceIdentifier(std::forward<ReadReplicaSourceDBInstanceIdentifierT>(value));
715 return *this;
716 }
718
720
724 inline const Aws::Vector<Aws::String>& GetReadReplicaDBInstanceIdentifiers() const { return m_readReplicaDBInstanceIdentifiers; }
725 inline bool ReadReplicaDBInstanceIdentifiersHasBeenSet() const { return m_readReplicaDBInstanceIdentifiersHasBeenSet; }
726 template <typename ReadReplicaDBInstanceIdentifiersT = Aws::Vector<Aws::String>>
727 void SetReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT&& value) {
728 m_readReplicaDBInstanceIdentifiersHasBeenSet = true;
729 m_readReplicaDBInstanceIdentifiers = std::forward<ReadReplicaDBInstanceIdentifiersT>(value);
730 }
731 template <typename ReadReplicaDBInstanceIdentifiersT = Aws::Vector<Aws::String>>
732 AwsRdsDbInstanceDetails& WithReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT&& value) {
733 SetReadReplicaDBInstanceIdentifiers(std::forward<ReadReplicaDBInstanceIdentifiersT>(value));
734 return *this;
735 }
736 template <typename ReadReplicaDBInstanceIdentifiersT = Aws::String>
737 AwsRdsDbInstanceDetails& AddReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT&& value) {
738 m_readReplicaDBInstanceIdentifiersHasBeenSet = true;
739 m_readReplicaDBInstanceIdentifiers.emplace_back(std::forward<ReadReplicaDBInstanceIdentifiersT>(value));
740 return *this;
741 }
743
745
749 inline const Aws::Vector<Aws::String>& GetReadReplicaDBClusterIdentifiers() const { return m_readReplicaDBClusterIdentifiers; }
750 inline bool ReadReplicaDBClusterIdentifiersHasBeenSet() const { return m_readReplicaDBClusterIdentifiersHasBeenSet; }
751 template <typename ReadReplicaDBClusterIdentifiersT = Aws::Vector<Aws::String>>
752 void SetReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT&& value) {
753 m_readReplicaDBClusterIdentifiersHasBeenSet = true;
754 m_readReplicaDBClusterIdentifiers = std::forward<ReadReplicaDBClusterIdentifiersT>(value);
755 }
756 template <typename ReadReplicaDBClusterIdentifiersT = Aws::Vector<Aws::String>>
757 AwsRdsDbInstanceDetails& WithReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT&& value) {
758 SetReadReplicaDBClusterIdentifiers(std::forward<ReadReplicaDBClusterIdentifiersT>(value));
759 return *this;
760 }
761 template <typename ReadReplicaDBClusterIdentifiersT = Aws::String>
762 AwsRdsDbInstanceDetails& AddReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT&& value) {
763 m_readReplicaDBClusterIdentifiersHasBeenSet = true;
764 m_readReplicaDBClusterIdentifiers.emplace_back(std::forward<ReadReplicaDBClusterIdentifiersT>(value));
765 return *this;
766 }
768
770
773 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
774 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
775 template <typename LicenseModelT = Aws::String>
776 void SetLicenseModel(LicenseModelT&& value) {
777 m_licenseModelHasBeenSet = true;
778 m_licenseModel = std::forward<LicenseModelT>(value);
779 }
780 template <typename LicenseModelT = Aws::String>
782 SetLicenseModel(std::forward<LicenseModelT>(value));
783 return *this;
784 }
786
788
792 inline int GetIops() const { return m_iops; }
793 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
794 inline void SetIops(int value) {
795 m_iopsHasBeenSet = true;
796 m_iops = value;
797 }
799 SetIops(value);
800 return *this;
801 }
803
805
808 inline const Aws::Vector<AwsRdsDbOptionGroupMembership>& GetOptionGroupMemberships() const { return m_optionGroupMemberships; }
809 inline bool OptionGroupMembershipsHasBeenSet() const { return m_optionGroupMembershipsHasBeenSet; }
810 template <typename OptionGroupMembershipsT = Aws::Vector<AwsRdsDbOptionGroupMembership>>
811 void SetOptionGroupMemberships(OptionGroupMembershipsT&& value) {
812 m_optionGroupMembershipsHasBeenSet = true;
813 m_optionGroupMemberships = std::forward<OptionGroupMembershipsT>(value);
814 }
815 template <typename OptionGroupMembershipsT = Aws::Vector<AwsRdsDbOptionGroupMembership>>
816 AwsRdsDbInstanceDetails& WithOptionGroupMemberships(OptionGroupMembershipsT&& value) {
817 SetOptionGroupMemberships(std::forward<OptionGroupMembershipsT>(value));
818 return *this;
819 }
820 template <typename OptionGroupMembershipsT = AwsRdsDbOptionGroupMembership>
821 AwsRdsDbInstanceDetails& AddOptionGroupMemberships(OptionGroupMembershipsT&& value) {
822 m_optionGroupMembershipsHasBeenSet = true;
823 m_optionGroupMemberships.emplace_back(std::forward<OptionGroupMembershipsT>(value));
824 return *this;
825 }
827
829
832 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
833 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
834 template <typename CharacterSetNameT = Aws::String>
835 void SetCharacterSetName(CharacterSetNameT&& value) {
836 m_characterSetNameHasBeenSet = true;
837 m_characterSetName = std::forward<CharacterSetNameT>(value);
838 }
839 template <typename CharacterSetNameT = Aws::String>
840 AwsRdsDbInstanceDetails& WithCharacterSetName(CharacterSetNameT&& value) {
841 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
842 return *this;
843 }
845
847
851 inline const Aws::String& GetSecondaryAvailabilityZone() const { return m_secondaryAvailabilityZone; }
852 inline bool SecondaryAvailabilityZoneHasBeenSet() const { return m_secondaryAvailabilityZoneHasBeenSet; }
853 template <typename SecondaryAvailabilityZoneT = Aws::String>
854 void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) {
855 m_secondaryAvailabilityZoneHasBeenSet = true;
856 m_secondaryAvailabilityZone = std::forward<SecondaryAvailabilityZoneT>(value);
857 }
858 template <typename SecondaryAvailabilityZoneT = Aws::String>
859 AwsRdsDbInstanceDetails& WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) {
860 SetSecondaryAvailabilityZone(std::forward<SecondaryAvailabilityZoneT>(value));
861 return *this;
862 }
864
866
870 inline const Aws::Vector<AwsRdsDbStatusInfo>& GetStatusInfos() const { return m_statusInfos; }
871 inline bool StatusInfosHasBeenSet() const { return m_statusInfosHasBeenSet; }
872 template <typename StatusInfosT = Aws::Vector<AwsRdsDbStatusInfo>>
873 void SetStatusInfos(StatusInfosT&& value) {
874 m_statusInfosHasBeenSet = true;
875 m_statusInfos = std::forward<StatusInfosT>(value);
876 }
877 template <typename StatusInfosT = Aws::Vector<AwsRdsDbStatusInfo>>
879 SetStatusInfos(std::forward<StatusInfosT>(value));
880 return *this;
881 }
882 template <typename StatusInfosT = AwsRdsDbStatusInfo>
884 m_statusInfosHasBeenSet = true;
885 m_statusInfos.emplace_back(std::forward<StatusInfosT>(value));
886 return *this;
887 }
889
891
894 inline const Aws::String& GetStorageType() const { return m_storageType; }
895 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
896 template <typename StorageTypeT = Aws::String>
897 void SetStorageType(StorageTypeT&& value) {
898 m_storageTypeHasBeenSet = true;
899 m_storageType = std::forward<StorageTypeT>(value);
900 }
901 template <typename StorageTypeT = Aws::String>
903 SetStorageType(std::forward<StorageTypeT>(value));
904 return *this;
905 }
907
909
913 inline const Aws::Vector<AwsRdsDbDomainMembership>& GetDomainMemberships() const { return m_domainMemberships; }
914 inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; }
915 template <typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
916 void SetDomainMemberships(DomainMembershipsT&& value) {
917 m_domainMembershipsHasBeenSet = true;
918 m_domainMemberships = std::forward<DomainMembershipsT>(value);
919 }
920 template <typename DomainMembershipsT = Aws::Vector<AwsRdsDbDomainMembership>>
921 AwsRdsDbInstanceDetails& WithDomainMemberships(DomainMembershipsT&& value) {
922 SetDomainMemberships(std::forward<DomainMembershipsT>(value));
923 return *this;
924 }
925 template <typename DomainMembershipsT = AwsRdsDbDomainMembership>
926 AwsRdsDbInstanceDetails& AddDomainMemberships(DomainMembershipsT&& value) {
927 m_domainMembershipsHasBeenSet = true;
928 m_domainMemberships.emplace_back(std::forward<DomainMembershipsT>(value));
929 return *this;
930 }
932
934
937 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
938 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
939 inline void SetCopyTagsToSnapshot(bool value) {
940 m_copyTagsToSnapshotHasBeenSet = true;
941 m_copyTagsToSnapshot = value;
942 }
945 return *this;
946 }
948
950
954 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
955 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
956 inline void SetMonitoringInterval(int value) {
957 m_monitoringIntervalHasBeenSet = true;
958 m_monitoringInterval = value;
959 }
962 return *this;
963 }
965
967
971 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
972 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
973 template <typename MonitoringRoleArnT = Aws::String>
974 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
975 m_monitoringRoleArnHasBeenSet = true;
976 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
977 }
978 template <typename MonitoringRoleArnT = Aws::String>
979 AwsRdsDbInstanceDetails& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
980 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
981 return *this;
982 }
984
986
990 inline int GetPromotionTier() const { return m_promotionTier; }
991 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
992 inline void SetPromotionTier(int value) {
993 m_promotionTierHasBeenSet = true;
994 m_promotionTier = value;
995 }
997 SetPromotionTier(value);
998 return *this;
999 }
1001
1003
1006 inline const Aws::String& GetTimezone() const { return m_timezone; }
1007 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
1008 template <typename TimezoneT = Aws::String>
1009 void SetTimezone(TimezoneT&& value) {
1010 m_timezoneHasBeenSet = true;
1011 m_timezone = std::forward<TimezoneT>(value);
1012 }
1013 template <typename TimezoneT = Aws::String>
1015 SetTimezone(std::forward<TimezoneT>(value));
1016 return *this;
1017 }
1019
1021
1024 inline bool GetPerformanceInsightsEnabled() const { return m_performanceInsightsEnabled; }
1025 inline bool PerformanceInsightsEnabledHasBeenSet() const { return m_performanceInsightsEnabledHasBeenSet; }
1026 inline void SetPerformanceInsightsEnabled(bool value) {
1027 m_performanceInsightsEnabledHasBeenSet = true;
1028 m_performanceInsightsEnabled = value;
1029 }
1032 return *this;
1033 }
1035
1037
1041 inline const Aws::String& GetPerformanceInsightsKmsKeyId() const { return m_performanceInsightsKmsKeyId; }
1042 inline bool PerformanceInsightsKmsKeyIdHasBeenSet() const { return m_performanceInsightsKmsKeyIdHasBeenSet; }
1043 template <typename PerformanceInsightsKmsKeyIdT = Aws::String>
1044 void SetPerformanceInsightsKmsKeyId(PerformanceInsightsKmsKeyIdT&& value) {
1045 m_performanceInsightsKmsKeyIdHasBeenSet = true;
1046 m_performanceInsightsKmsKeyId = std::forward<PerformanceInsightsKmsKeyIdT>(value);
1047 }
1048 template <typename PerformanceInsightsKmsKeyIdT = Aws::String>
1049 AwsRdsDbInstanceDetails& WithPerformanceInsightsKmsKeyId(PerformanceInsightsKmsKeyIdT&& value) {
1050 SetPerformanceInsightsKmsKeyId(std::forward<PerformanceInsightsKmsKeyIdT>(value));
1051 return *this;
1052 }
1054
1056
1059 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
1060 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
1062 m_performanceInsightsRetentionPeriodHasBeenSet = true;
1063 m_performanceInsightsRetentionPeriod = value;
1064 }
1067 return *this;
1068 }
1070
1072
1076 inline const Aws::Vector<Aws::String>& GetEnabledCloudWatchLogsExports() const { return m_enabledCloudWatchLogsExports; }
1077 inline bool EnabledCloudWatchLogsExportsHasBeenSet() const { return m_enabledCloudWatchLogsExportsHasBeenSet; }
1078 template <typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
1079 void SetEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
1080 m_enabledCloudWatchLogsExportsHasBeenSet = true;
1081 m_enabledCloudWatchLogsExports = std::forward<EnabledCloudWatchLogsExportsT>(value);
1082 }
1083 template <typename EnabledCloudWatchLogsExportsT = Aws::Vector<Aws::String>>
1084 AwsRdsDbInstanceDetails& WithEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
1085 SetEnabledCloudWatchLogsExports(std::forward<EnabledCloudWatchLogsExportsT>(value));
1086 return *this;
1087 }
1088 template <typename EnabledCloudWatchLogsExportsT = Aws::String>
1089 AwsRdsDbInstanceDetails& AddEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT&& value) {
1090 m_enabledCloudWatchLogsExportsHasBeenSet = true;
1091 m_enabledCloudWatchLogsExports.emplace_back(std::forward<EnabledCloudWatchLogsExportsT>(value));
1092 return *this;
1093 }
1095
1097
1101 inline const Aws::Vector<AwsRdsDbProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
1102 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
1103 template <typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
1104 void SetProcessorFeatures(ProcessorFeaturesT&& value) {
1105 m_processorFeaturesHasBeenSet = true;
1106 m_processorFeatures = std::forward<ProcessorFeaturesT>(value);
1107 }
1108 template <typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
1109 AwsRdsDbInstanceDetails& WithProcessorFeatures(ProcessorFeaturesT&& value) {
1110 SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value));
1111 return *this;
1112 }
1113 template <typename ProcessorFeaturesT = AwsRdsDbProcessorFeature>
1114 AwsRdsDbInstanceDetails& AddProcessorFeatures(ProcessorFeaturesT&& value) {
1115 m_processorFeaturesHasBeenSet = true;
1116 m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
1117 return *this;
1118 }
1120
1122
1123 inline const AwsRdsDbInstanceEndpoint& GetListenerEndpoint() const { return m_listenerEndpoint; }
1124 inline bool ListenerEndpointHasBeenSet() const { return m_listenerEndpointHasBeenSet; }
1125 template <typename ListenerEndpointT = AwsRdsDbInstanceEndpoint>
1126 void SetListenerEndpoint(ListenerEndpointT&& value) {
1127 m_listenerEndpointHasBeenSet = true;
1128 m_listenerEndpoint = std::forward<ListenerEndpointT>(value);
1129 }
1130 template <typename ListenerEndpointT = AwsRdsDbInstanceEndpoint>
1131 AwsRdsDbInstanceDetails& WithListenerEndpoint(ListenerEndpointT&& value) {
1132 SetListenerEndpoint(std::forward<ListenerEndpointT>(value));
1133 return *this;
1134 }
1136
1138
1142 inline int GetMaxAllocatedStorage() const { return m_maxAllocatedStorage; }
1143 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
1144 inline void SetMaxAllocatedStorage(int value) {
1145 m_maxAllocatedStorageHasBeenSet = true;
1146 m_maxAllocatedStorage = value;
1147 }
1150 return *this;
1151 }
1153 private:
1155
1156 Aws::String m_cACertificateIdentifier;
1157
1158 Aws::String m_dBClusterIdentifier;
1159
1160 Aws::String m_dBInstanceIdentifier;
1161
1162 Aws::String m_dBInstanceClass;
1163
1164 int m_dbInstancePort{0};
1165
1166 Aws::String m_dbiResourceId;
1167
1168 Aws::String m_dBName;
1169
1170 bool m_deletionProtection{false};
1171
1172 AwsRdsDbInstanceEndpoint m_endpoint;
1173
1174 Aws::String m_engine;
1175
1176 Aws::String m_engineVersion;
1177
1178 bool m_iAMDatabaseAuthenticationEnabled{false};
1179
1180 Aws::String m_instanceCreateTime;
1181
1182 Aws::String m_kmsKeyId;
1183
1184 bool m_publiclyAccessible{false};
1185
1186 bool m_storageEncrypted{false};
1187
1188 Aws::String m_tdeCredentialArn;
1189
1191
1192 bool m_multiAz{false};
1193
1194 Aws::String m_enhancedMonitoringResourceArn;
1195
1196 Aws::String m_dbInstanceStatus;
1197
1198 Aws::String m_masterUsername;
1199
1200 int m_allocatedStorage{0};
1201
1202 Aws::String m_preferredBackupWindow;
1203
1204 int m_backupRetentionPeriod{0};
1205
1206 Aws::Vector<Aws::String> m_dbSecurityGroups;
1207
1208 Aws::Vector<AwsRdsDbParameterGroup> m_dbParameterGroups;
1209
1210 Aws::String m_availabilityZone;
1211
1212 AwsRdsDbSubnetGroup m_dbSubnetGroup;
1213
1214 Aws::String m_preferredMaintenanceWindow;
1215
1216 AwsRdsDbPendingModifiedValues m_pendingModifiedValues;
1217
1218 Aws::String m_latestRestorableTime;
1219
1220 bool m_autoMinorVersionUpgrade{false};
1221
1222 Aws::String m_readReplicaSourceDBInstanceIdentifier;
1223
1224 Aws::Vector<Aws::String> m_readReplicaDBInstanceIdentifiers;
1225
1226 Aws::Vector<Aws::String> m_readReplicaDBClusterIdentifiers;
1227
1228 Aws::String m_licenseModel;
1229
1230 int m_iops{0};
1231
1232 Aws::Vector<AwsRdsDbOptionGroupMembership> m_optionGroupMemberships;
1233
1234 Aws::String m_characterSetName;
1235
1236 Aws::String m_secondaryAvailabilityZone;
1237
1238 Aws::Vector<AwsRdsDbStatusInfo> m_statusInfos;
1239
1240 Aws::String m_storageType;
1241
1242 Aws::Vector<AwsRdsDbDomainMembership> m_domainMemberships;
1243
1244 bool m_copyTagsToSnapshot{false};
1245
1246 int m_monitoringInterval{0};
1247
1248 Aws::String m_monitoringRoleArn;
1249
1250 int m_promotionTier{0};
1251
1252 Aws::String m_timezone;
1253
1254 bool m_performanceInsightsEnabled{false};
1255
1256 Aws::String m_performanceInsightsKmsKeyId;
1257
1258 int m_performanceInsightsRetentionPeriod{0};
1259
1260 Aws::Vector<Aws::String> m_enabledCloudWatchLogsExports;
1261
1262 Aws::Vector<AwsRdsDbProcessorFeature> m_processorFeatures;
1263
1264 AwsRdsDbInstanceEndpoint m_listenerEndpoint;
1265
1266 int m_maxAllocatedStorage{0};
1267 bool m_associatedRolesHasBeenSet = false;
1268 bool m_cACertificateIdentifierHasBeenSet = false;
1269 bool m_dBClusterIdentifierHasBeenSet = false;
1270 bool m_dBInstanceIdentifierHasBeenSet = false;
1271 bool m_dBInstanceClassHasBeenSet = false;
1272 bool m_dbInstancePortHasBeenSet = false;
1273 bool m_dbiResourceIdHasBeenSet = false;
1274 bool m_dBNameHasBeenSet = false;
1275 bool m_deletionProtectionHasBeenSet = false;
1276 bool m_endpointHasBeenSet = false;
1277 bool m_engineHasBeenSet = false;
1278 bool m_engineVersionHasBeenSet = false;
1279 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
1280 bool m_instanceCreateTimeHasBeenSet = false;
1281 bool m_kmsKeyIdHasBeenSet = false;
1282 bool m_publiclyAccessibleHasBeenSet = false;
1283 bool m_storageEncryptedHasBeenSet = false;
1284 bool m_tdeCredentialArnHasBeenSet = false;
1285 bool m_vpcSecurityGroupsHasBeenSet = false;
1286 bool m_multiAzHasBeenSet = false;
1287 bool m_enhancedMonitoringResourceArnHasBeenSet = false;
1288 bool m_dbInstanceStatusHasBeenSet = false;
1289 bool m_masterUsernameHasBeenSet = false;
1290 bool m_allocatedStorageHasBeenSet = false;
1291 bool m_preferredBackupWindowHasBeenSet = false;
1292 bool m_backupRetentionPeriodHasBeenSet = false;
1293 bool m_dbSecurityGroupsHasBeenSet = false;
1294 bool m_dbParameterGroupsHasBeenSet = false;
1295 bool m_availabilityZoneHasBeenSet = false;
1296 bool m_dbSubnetGroupHasBeenSet = false;
1297 bool m_preferredMaintenanceWindowHasBeenSet = false;
1298 bool m_pendingModifiedValuesHasBeenSet = false;
1299 bool m_latestRestorableTimeHasBeenSet = false;
1300 bool m_autoMinorVersionUpgradeHasBeenSet = false;
1301 bool m_readReplicaSourceDBInstanceIdentifierHasBeenSet = false;
1302 bool m_readReplicaDBInstanceIdentifiersHasBeenSet = false;
1303 bool m_readReplicaDBClusterIdentifiersHasBeenSet = false;
1304 bool m_licenseModelHasBeenSet = false;
1305 bool m_iopsHasBeenSet = false;
1306 bool m_optionGroupMembershipsHasBeenSet = false;
1307 bool m_characterSetNameHasBeenSet = false;
1308 bool m_secondaryAvailabilityZoneHasBeenSet = false;
1309 bool m_statusInfosHasBeenSet = false;
1310 bool m_storageTypeHasBeenSet = false;
1311 bool m_domainMembershipsHasBeenSet = false;
1312 bool m_copyTagsToSnapshotHasBeenSet = false;
1313 bool m_monitoringIntervalHasBeenSet = false;
1314 bool m_monitoringRoleArnHasBeenSet = false;
1315 bool m_promotionTierHasBeenSet = false;
1316 bool m_timezoneHasBeenSet = false;
1317 bool m_performanceInsightsEnabledHasBeenSet = false;
1318 bool m_performanceInsightsKmsKeyIdHasBeenSet = false;
1319 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
1320 bool m_enabledCloudWatchLogsExportsHasBeenSet = false;
1321 bool m_processorFeaturesHasBeenSet = false;
1322 bool m_listenerEndpointHasBeenSet = false;
1323 bool m_maxAllocatedStorageHasBeenSet = false;
1324};
1325
1326} // namespace Model
1327} // namespace SecurityHub
1328} // namespace Aws
AwsRdsDbInstanceDetails & WithTdeCredentialArn(TdeCredentialArnT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
AwsRdsDbInstanceDetails & AddOptionGroupMemberships(OptionGroupMembershipsT &&value)
AwsRdsDbInstanceDetails & WithEngineVersion(EngineVersionT &&value)
const Aws::Vector< Aws::String > & GetReadReplicaDBInstanceIdentifiers() const
AwsRdsDbInstanceDetails & WithMasterUsername(MasterUsernameT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
AwsRdsDbInstanceDetails & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
AwsRdsDbInstanceDetails & WithReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT &&value)
void SetEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
AwsRdsDbInstanceDetails & WithTimezone(TimezoneT &&value)
AwsRdsDbInstanceDetails & WithLicenseModel(LicenseModelT &&value)
void SetEnhancedMonitoringResourceArn(EnhancedMonitoringResourceArnT &&value)
AwsRdsDbInstanceDetails & WithAssociatedRoles(AssociatedRolesT &&value)
AwsRdsDbInstanceDetails & WithProcessorFeatures(ProcessorFeaturesT &&value)
const AwsRdsDbInstanceEndpoint & GetEndpoint() const
AwsRdsDbInstanceDetails & WithDbSecurityGroups(DbSecurityGroupsT &&value)
AwsRdsDbInstanceDetails & WithDeletionProtection(bool value)
AwsRdsDbInstanceDetails & WithDbiResourceId(DbiResourceIdT &&value)
AwsRdsDbInstanceDetails & WithAvailabilityZone(AvailabilityZoneT &&value)
AwsRdsDbInstanceDetails & WithAllocatedStorage(int value)
void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
AwsRdsDbInstanceDetails & WithStorageType(StorageTypeT &&value)
const AwsRdsDbInstanceEndpoint & GetListenerEndpoint() const
AwsRdsDbInstanceDetails & AddDbParameterGroups(DbParameterGroupsT &&value)
const Aws::Vector< AwsRdsDbOptionGroupMembership > & GetOptionGroupMemberships() const
AwsRdsDbInstanceDetails & WithMaxAllocatedStorage(int value)
const Aws::Vector< AwsRdsDbParameterGroup > & GetDbParameterGroups() const
const Aws::Vector< Aws::String > & GetEnabledCloudWatchLogsExports() const
AwsRdsDbInstanceDetails & AddReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT &&value)
AwsRdsDbInstanceDetails & WithPubliclyAccessible(bool value)
AwsRdsDbInstanceDetails & WithOptionGroupMemberships(OptionGroupMembershipsT &&value)
AwsRdsDbInstanceDetails & WithDBInstanceClass(DBInstanceClassT &&value)
AwsRdsDbInstanceDetails & WithEngine(EngineT &&value)
AwsRdsDbInstanceDetails & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
AwsRdsDbInstanceDetails & WithCharacterSetName(CharacterSetNameT &&value)
const Aws::Vector< AwsRdsDbInstanceVpcSecurityGroup > & GetVpcSecurityGroups() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
void SetReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT &&value)
AwsRdsDbInstanceDetails & WithInstanceCreateTime(InstanceCreateTimeT &&value)
const Aws::Vector< AwsRdsDbDomainMembership > & GetDomainMemberships() const
const Aws::Vector< AwsRdsDbStatusInfo > & GetStatusInfos() const
AwsRdsDbInstanceDetails & WithIAMDatabaseAuthenticationEnabled(bool value)
AwsRdsDbInstanceDetails & WithEnhancedMonitoringResourceArn(EnhancedMonitoringResourceArnT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceDetails()=default
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetReadReplicaSourceDBInstanceIdentifier(ReadReplicaSourceDBInstanceIdentifierT &&value)
void SetLatestRestorableTime(LatestRestorableTimeT &&value)
AwsRdsDbInstanceDetails & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
AwsRdsDbInstanceDetails & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
AWS_SECURITYHUB_API AwsRdsDbInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceDetails & AddAssociatedRoles(AssociatedRolesT &&value)
AwsRdsDbInstanceDetails & WithReadReplicaSourceDBInstanceIdentifier(ReadReplicaSourceDBInstanceIdentifierT &&value)
AwsRdsDbInstanceDetails & AddDbSecurityGroups(DbSecurityGroupsT &&value)
AwsRdsDbInstanceDetails & WithPerformanceInsightsKmsKeyId(PerformanceInsightsKmsKeyIdT &&value)
AwsRdsDbInstanceDetails & WithStorageEncrypted(bool value)
const Aws::Vector< Aws::String > & GetReadReplicaDBClusterIdentifiers() const
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
void SetPerformanceInsightsKmsKeyId(PerformanceInsightsKmsKeyIdT &&value)
const AwsRdsDbPendingModifiedValues & GetPendingModifiedValues() const
AwsRdsDbInstanceDetails & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
AwsRdsDbInstanceDetails & WithStatusInfos(StatusInfosT &&value)
AwsRdsDbInstanceDetails & WithLatestRestorableTime(LatestRestorableTimeT &&value)
AwsRdsDbInstanceDetails & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
AwsRdsDbInstanceDetails & AddEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
AwsRdsDbInstanceDetails & WithDbInstanceStatus(DbInstanceStatusT &&value)
AwsRdsDbInstanceDetails & WithMultiAz(bool value)
AwsRdsDbInstanceDetails & WithListenerEndpoint(ListenerEndpointT &&value)
AwsRdsDbInstanceDetails & WithBackupRetentionPeriod(int value)
AwsRdsDbInstanceDetails & WithAutoMinorVersionUpgrade(bool value)
void SetReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT &&value)
AwsRdsDbInstanceDetails & WithKmsKeyId(KmsKeyIdT &&value)
AwsRdsDbInstanceDetails & AddStatusInfos(StatusInfosT &&value)
AwsRdsDbInstanceDetails & WithCopyTagsToSnapshot(bool value)
AwsRdsDbInstanceDetails & AddProcessorFeatures(ProcessorFeaturesT &&value)
AwsRdsDbInstanceDetails & WithMonitoringInterval(int value)
AwsRdsDbInstanceDetails & WithDbInstancePort(int value)
AwsRdsDbInstanceDetails & WithDBName(DBNameT &&value)
AwsRdsDbInstanceDetails & WithPromotionTier(int value)
void SetOptionGroupMemberships(OptionGroupMembershipsT &&value)
const Aws::Vector< AwsRdsDbInstanceAssociatedRole > & GetAssociatedRoles() const
AwsRdsDbInstanceDetails & AddReadReplicaDBInstanceIdentifiers(ReadReplicaDBInstanceIdentifiersT &&value)
AwsRdsDbInstanceDetails & WithPerformanceInsightsRetentionPeriod(int value)
AWS_SECURITYHUB_API AwsRdsDbInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbInstanceDetails & WithEnabledCloudWatchLogsExports(EnabledCloudWatchLogsExportsT &&value)
const Aws::Vector< Aws::String > & GetDbSecurityGroups() const
AwsRdsDbInstanceDetails & WithDomainMemberships(DomainMembershipsT &&value)
AwsRdsDbInstanceDetails & WithPerformanceInsightsEnabled(bool value)
AwsRdsDbInstanceDetails & AddDomainMemberships(DomainMembershipsT &&value)
AwsRdsDbInstanceDetails & WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
AwsRdsDbInstanceDetails & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
AwsRdsDbInstanceDetails & WithDbSubnetGroup(DbSubnetGroupT &&value)
AwsRdsDbInstanceDetails & WithPendingModifiedValues(PendingModifiedValuesT &&value)
AwsRdsDbInstanceDetails & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
const Aws::Vector< AwsRdsDbProcessorFeature > & GetProcessorFeatures() const
AwsRdsDbInstanceDetails & WithEndpoint(EndpointT &&value)
AwsRdsDbInstanceDetails & WithDbParameterGroups(DbParameterGroupsT &&value)
AwsRdsDbInstanceDetails & WithReadReplicaDBClusterIdentifiers(ReadReplicaDBClusterIdentifiersT &&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