7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb/model/Endpoint.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/docdb/model/DBSubnetGroup.h>
14#include <aws/docdb/model/PendingModifiedValues.h>
15#include <aws/docdb/model/CertificateDetails.h>
16#include <aws/docdb/model/VpcSecurityGroupMembership.h>
17#include <aws/docdb/model/DBInstanceStatusInfo.h>
59 inline void SetDBInstanceIdentifier(
const char* value) { m_dBInstanceIdentifierHasBeenSet =
true; m_dBInstanceIdentifier.assign(value); }
74 inline void SetDBInstanceClass(
const char* value) { m_dBInstanceClassHasBeenSet =
true; m_dBInstanceClass.assign(value); }
88 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
102 inline void SetDBInstanceStatus(
const char* value) { m_dBInstanceStatusHasBeenSet =
true; m_dBInstanceStatus.assign(value); }
142 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
182 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
251 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
276 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
304 inline void SetDBClusterIdentifier(
const char* value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier.assign(value); }
316 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
329 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
345 inline void SetDbiResourceId(
const char* value) { m_dbiResourceIdHasBeenSet =
true; m_dbiResourceId.assign(value); }
359 inline void SetCACertificateIdentifier(
const char* value) { m_cACertificateIdentifierHasBeenSet =
true; m_cACertificateIdentifier.assign(value); }
372 inline void SetCopyTagsToSnapshot(
bool value) { m_copyTagsToSnapshotHasBeenSet =
true; m_copyTagsToSnapshot = value; }
384 inline void SetPromotionTier(
int value) { m_promotionTierHasBeenSet =
true; m_promotionTier = value; }
396 inline void SetDBInstanceArn(
const char* value) { m_dBInstanceArnHasBeenSet =
true; m_dBInstanceArn.assign(value); }
459 bool m_dBInstanceIdentifierHasBeenSet =
false;
462 bool m_dBInstanceClassHasBeenSet =
false;
465 bool m_engineHasBeenSet =
false;
468 bool m_dBInstanceStatusHasBeenSet =
false;
471 bool m_endpointHasBeenSet =
false;
474 bool m_instanceCreateTimeHasBeenSet =
false;
477 bool m_preferredBackupWindowHasBeenSet =
false;
479 int m_backupRetentionPeriod;
480 bool m_backupRetentionPeriodHasBeenSet =
false;
483 bool m_vpcSecurityGroupsHasBeenSet =
false;
486 bool m_availabilityZoneHasBeenSet =
false;
489 bool m_dBSubnetGroupHasBeenSet =
false;
492 bool m_preferredMaintenanceWindowHasBeenSet =
false;
495 bool m_pendingModifiedValuesHasBeenSet =
false;
498 bool m_latestRestorableTimeHasBeenSet =
false;
501 bool m_engineVersionHasBeenSet =
false;
503 bool m_autoMinorVersionUpgrade;
504 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
506 bool m_publiclyAccessible;
507 bool m_publiclyAccessibleHasBeenSet =
false;
510 bool m_statusInfosHasBeenSet =
false;
513 bool m_dBClusterIdentifierHasBeenSet =
false;
515 bool m_storageEncrypted;
516 bool m_storageEncryptedHasBeenSet =
false;
519 bool m_kmsKeyIdHasBeenSet =
false;
522 bool m_dbiResourceIdHasBeenSet =
false;
525 bool m_cACertificateIdentifierHasBeenSet =
false;
527 bool m_copyTagsToSnapshot;
528 bool m_copyTagsToSnapshotHasBeenSet =
false;
531 bool m_promotionTierHasBeenSet =
false;
534 bool m_dBInstanceArnHasBeenSet =
false;
537 bool m_enabledCloudwatchLogsExportsHasBeenSet =
false;
540 bool m_certificateDetailsHasBeenSet =
false;
542 bool m_performanceInsightsEnabled;
543 bool m_performanceInsightsEnabledHasBeenSet =
false;
546 bool m_performanceInsightsKMSKeyIdHasBeenSet =
false;
DBInstance & WithCACertificateIdentifier(Aws::String &&value)
DBInstance & WithCopyTagsToSnapshot(bool value)
bool DbiResourceIdHasBeenSet() const
const Aws::Utils::DateTime & GetLatestRestorableTime() const
AWS_DOCDB_API DBInstance()
const Aws::String & GetDBInstanceStatus() const
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
bool CertificateDetailsHasBeenSet() const
bool AutoMinorVersionUpgradeHasBeenSet() const
DBInstance & WithEngine(const Aws::String &value)
DBInstance & AddEnabledCloudwatchLogsExports(Aws::String &&value)
bool StatusInfosHasBeenSet() const
bool InstanceCreateTimeHasBeenSet() const
void SetDBInstanceStatus(const char *value)
void SetPubliclyAccessible(bool value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
DBInstance & WithStorageEncrypted(bool value)
void SetCACertificateIdentifier(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
DBInstance & WithDBInstanceArn(Aws::String &&value)
bool VpcSecurityGroupsHasBeenSet() const
DBInstance & WithDBInstanceClass(const Aws::String &value)
const PendingModifiedValues & GetPendingModifiedValues() const
DBInstance & WithDBInstanceIdentifier(Aws::String &&value)
void SetDBInstanceIdentifier(Aws::String &&value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
bool DBInstanceArnHasBeenSet() const
int GetPromotionTier() const
DBInstance & WithPerformanceInsightsKMSKeyId(Aws::String &&value)
DBInstance & WithEndpoint(const Endpoint &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBInstance & AddStatusInfos(DBInstanceStatusInfo &&value)
DBInstance & WithKmsKeyId(Aws::String &&value)
int GetBackupRetentionPeriod() const
bool PendingModifiedValuesHasBeenSet() const
DBInstance & WithPreferredBackupWindow(const Aws::String &value)
DBInstance & WithPerformanceInsightsEnabled(bool value)
void SetDBInstanceStatus(Aws::String &&value)
void SetDBInstanceClass(const char *value)
DBInstance & WithCACertificateIdentifier(const Aws::String &value)
DBInstance & AddStatusInfos(const DBInstanceStatusInfo &value)
DBInstance & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
void SetDBSubnetGroup(const DBSubnetGroup &value)
void SetInstanceCreateTime(const Aws::Utils::DateTime &value)
DBInstance & WithPendingModifiedValues(PendingModifiedValues &&value)
DBInstance & WithKmsKeyId(const Aws::String &value)
bool CopyTagsToSnapshotHasBeenSet() const
void SetDbiResourceId(const Aws::String &value)
void SetDbiResourceId(const char *value)
void SetAvailabilityZone(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
bool DBInstanceClassHasBeenSet() const
DBInstance & AddEnabledCloudwatchLogsExports(const char *value)
void SetPreferredBackupWindow(Aws::String &&value)
DBInstance & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
DBInstance & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool BackupRetentionPeriodHasBeenSet() const
void SetEndpoint(Endpoint &&value)
bool EndpointHasBeenSet() const
void SetDBInstanceClass(const Aws::String &value)
DBInstance & WithDbiResourceId(Aws::String &&value)
void SetAvailabilityZone(const char *value)
void SetDBInstanceArn(const Aws::String &value)
void SetDBClusterIdentifier(const Aws::String &value)
bool PreferredBackupWindowHasBeenSet() const
void SetAutoMinorVersionUpgrade(bool value)
const Aws::String & GetCACertificateIdentifier() const
void SetPreferredMaintenanceWindow(const Aws::String &value)
DBInstance & WithKmsKeyId(const char *value)
const Aws::String & GetPreferredBackupWindow() const
void SetPreferredBackupWindow(const Aws::String &value)
DBInstance & WithDBClusterIdentifier(const Aws::String &value)
bool DBClusterIdentifierHasBeenSet() const
DBInstance & WithDBInstanceClass(const char *value)
bool PubliclyAccessibleHasBeenSet() const
void SetCACertificateIdentifier(Aws::String &&value)
void SetCertificateDetails(const CertificateDetails &value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
DBInstance & WithAutoMinorVersionUpgrade(bool value)
bool LatestRestorableTimeHasBeenSet() const
void SetEngine(const char *value)
bool EngineVersionHasBeenSet() const
void SetStatusInfos(Aws::Vector< DBInstanceStatusInfo > &&value)
void SetPreferredMaintenanceWindow(const char *value)
void SetCertificateDetails(CertificateDetails &&value)
DBInstance & WithPendingModifiedValues(const PendingModifiedValues &value)
DBInstance & WithInstanceCreateTime(const Aws::Utils::DateTime &value)
bool DBInstanceIdentifierHasBeenSet() const
DBInstance & WithCertificateDetails(CertificateDetails &&value)
DBInstance & WithDBInstanceIdentifier(const Aws::String &value)
bool GetPerformanceInsightsEnabled() const
void SetPerformanceInsightsEnabled(bool value)
const Aws::String & GetDBInstanceArn() const
DBInstance & WithEngineVersion(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDbiResourceId() const
void SetCACertificateIdentifier(const char *value)
DBInstance & WithDBInstanceStatus(Aws::String &&value)
DBInstance & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
DBInstance & WithEndpoint(Endpoint &&value)
bool GetStorageEncrypted() const
void SetDBSubnetGroup(DBSubnetGroup &&value)
bool KmsKeyIdHasBeenSet() const
bool StorageEncryptedHasBeenSet() const
void SetEngine(Aws::String &&value)
DBInstance & WithEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetKmsKeyId(const char *value)
void SetInstanceCreateTime(Aws::Utils::DateTime &&value)
DBInstance & WithDBInstanceClass(Aws::String &&value)
DBInstance & WithPreferredMaintenanceWindow(Aws::String &&value)
DBInstance & WithDbiResourceId(const char *value)
DBInstance & WithCACertificateIdentifier(const char *value)
DBInstance & WithDBInstanceArn(const Aws::String &value)
DBInstance & WithAvailabilityZone(Aws::String &&value)
void SetPromotionTier(int value)
DBInstance & WithDBInstanceIdentifier(const char *value)
DBInstance & WithInstanceCreateTime(Aws::Utils::DateTime &&value)
void SetDBInstanceStatus(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
DBInstance & WithDBSubnetGroup(const DBSubnetGroup &value)
void SetDBInstanceClass(Aws::String &&value)
DBInstance & WithPreferredBackupWindow(const char *value)
DBInstance & WithPromotionTier(int value)
bool GetPubliclyAccessible() const
bool PerformanceInsightsEnabledHasBeenSet() const
const Aws::String & GetDBClusterIdentifier() const
void SetDbiResourceId(Aws::String &&value)
bool PerformanceInsightsKMSKeyIdHasBeenSet() const
DBInstance & WithPubliclyAccessible(bool value)
const Aws::String & GetDBInstanceIdentifier() const
DBInstance & WithPerformanceInsightsKMSKeyId(const Aws::String &value)
void SetDBInstanceArn(Aws::String &&value)
const Aws::String & GetPerformanceInsightsKMSKeyId() const
const DBSubnetGroup & GetDBSubnetGroup() const
bool EnabledCloudwatchLogsExportsHasBeenSet() const
void SetPendingModifiedValues(PendingModifiedValues &&value)
void SetPerformanceInsightsKMSKeyId(const Aws::String &value)
DBInstance & WithEngine(const char *value)
const Aws::Vector< DBInstanceStatusInfo > & GetStatusInfos() const
void SetPreferredBackupWindow(const char *value)
DBInstance & WithDBClusterIdentifier(Aws::String &&value)
DBInstance & WithDBInstanceStatus(const char *value)
void SetEngineVersion(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
void SetDBInstanceIdentifier(const Aws::String &value)
void SetDBClusterIdentifier(Aws::String &&value)
DBInstance & WithEngineVersion(const Aws::String &value)
DBInstance & WithStatusInfos(Aws::Vector< DBInstanceStatusInfo > &&value)
DBInstance & WithDBClusterIdentifier(const char *value)
bool EngineHasBeenSet() const
DBInstance & WithAvailabilityZone(const char *value)
bool GetAutoMinorVersionUpgrade() const
void SetLatestRestorableTime(Aws::Utils::DateTime &&value)
bool DBSubnetGroupHasBeenSet() const
const Endpoint & GetEndpoint() const
void SetEngine(const Aws::String &value)
DBInstance & WithDBInstanceStatus(const Aws::String &value)
DBInstance & WithPerformanceInsightsKMSKeyId(const char *value)
void SetCopyTagsToSnapshot(bool value)
void SetStatusInfos(const Aws::Vector< DBInstanceStatusInfo > &value)
bool PromotionTierHasBeenSet() const
const CertificateDetails & GetCertificateDetails() const
void SetEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZone(Aws::String &&value)
void SetBackupRetentionPeriod(int value)
AWS_DOCDB_API DBInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPendingModifiedValues(const PendingModifiedValues &value)
DBInstance & WithEngine(Aws::String &&value)
DBInstance & WithDBInstanceArn(const char *value)
void SetEngineVersion(const char *value)
void SetPerformanceInsightsKMSKeyId(const char *value)
bool GetCopyTagsToSnapshot() const
DBInstance & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
const Aws::String & GetEngine() const
DBInstance & WithEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
DBInstance & WithDbiResourceId(const Aws::String &value)
DBInstance & AddEnabledCloudwatchLogsExports(const Aws::String &value)
void SetStorageEncrypted(bool value)
bool CACertificateIdentifierHasBeenSet() const
void SetDBClusterIdentifier(const char *value)
void SetEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetEndpoint(const Endpoint &value)
const Aws::String & GetEngineVersion() const
DBInstance & WithPreferredBackupWindow(Aws::String &&value)
void SetDBInstanceArn(const char *value)
DBInstance & WithAvailabilityZone(const Aws::String &value)
bool PreferredMaintenanceWindowHasBeenSet() const
DBInstance & WithStatusInfos(const Aws::Vector< DBInstanceStatusInfo > &value)
const Aws::String & GetPreferredMaintenanceWindow() const
void SetKmsKeyId(Aws::String &&value)
DBInstance & WithEngineVersion(const char *value)
DBInstance & WithDBSubnetGroup(DBSubnetGroup &&value)
DBInstance & WithBackupRetentionPeriod(int value)
DBInstance & WithCertificateDetails(const CertificateDetails &value)
DBInstance & WithLatestRestorableTime(Aws::Utils::DateTime &&value)
bool DBInstanceStatusHasBeenSet() const
DBInstance & WithPreferredMaintenanceWindow(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBInstance & WithLatestRestorableTime(const Aws::Utils::DateTime &value)
AWS_DOCDB_API DBInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPerformanceInsightsKMSKeyId(Aws::String &&value)
void SetDBInstanceIdentifier(const char *value)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetDBInstanceClass() const
const Aws::Utils::DateTime & GetInstanceCreateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream