/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Neptune { namespace Model { /** *

This data type is used as a response element in the * ModifyDBCluster operation and contains changes that will be applied * during the next maintenance window.

See Also:

AWS * API Reference

*/ class ClusterPendingModifiedValues { public: AWS_NEPTUNE_API ClusterPendingModifiedValues(); AWS_NEPTUNE_API ClusterPendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API ClusterPendingModifiedValues& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; } /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; } /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; } /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); } /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { SetPendingCloudwatchLogsExports(value); return *this;} /** *

This PendingCloudwatchLogsExports structure specifies pending * changes to which CloudWatch logs are enabled and which are disabled.

*/ inline ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { SetPendingCloudwatchLogsExports(std::move(value)); return *this;} /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline ClusterPendingModifiedValues& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline ClusterPendingModifiedValues& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *

The DBClusterIdentifier value for the DB cluster.

*/ inline ClusterPendingModifiedValues& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *

A value that indicates whether mapping of Amazon Web Services Identity and * Access Management (IAM) accounts to database accounts is enabled.

*/ inline bool GetIAMDatabaseAuthenticationEnabled() const{ return m_iAMDatabaseAuthenticationEnabled; } /** *

A value that indicates whether mapping of Amazon Web Services Identity and * Access Management (IAM) accounts to database accounts is enabled.

*/ inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; } /** *

A value that indicates whether mapping of Amazon Web Services Identity and * Access Management (IAM) accounts to database accounts is enabled.

*/ inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; } /** *

A value that indicates whether mapping of Amazon Web Services Identity and * Access Management (IAM) accounts to database accounts is enabled.

*/ inline ClusterPendingModifiedValues& WithIAMDatabaseAuthenticationEnabled(bool value) { SetIAMDatabaseAuthenticationEnabled(value); return *this;} /** *

The database engine version.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The database engine version.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The database engine version.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The database engine version.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The database engine version.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The database engine version.

*/ inline ClusterPendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The database engine version.

*/ inline ClusterPendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The database engine version.

*/ inline ClusterPendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

The number of days for which automatic DB snapshots are retained.

*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *

The number of days for which automatic DB snapshots are retained.

*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *

The number of days for which automatic DB snapshots are retained.

*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *

The number of days for which automatic DB snapshots are retained.

*/ inline ClusterPendingModifiedValues& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** *

The allocated storage size in gibibytes (GiB) for database engines. For * Neptune, AllocatedStorage always returns 1, because Neptune DB * cluster storage size isn't fixed, but instead automatically adjusts as * needed.

*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *

The allocated storage size in gibibytes (GiB) for database engines. For * Neptune, AllocatedStorage always returns 1, because Neptune DB * cluster storage size isn't fixed, but instead automatically adjusts as * needed.

*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *

The allocated storage size in gibibytes (GiB) for database engines. For * Neptune, AllocatedStorage always returns 1, because Neptune DB * cluster storage size isn't fixed, but instead automatically adjusts as * needed.

*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *

The allocated storage size in gibibytes (GiB) for database engines. For * Neptune, AllocatedStorage always returns 1, because Neptune DB * cluster storage size isn't fixed, but instead automatically adjusts as * needed.

*/ inline ClusterPendingModifiedValues& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *

The Provisioned IOPS (I/O operations per second) value. This setting is only * for non-Aurora Multi-AZ DB clusters.

*/ inline int GetIops() const{ return m_iops; } /** *

The Provisioned IOPS (I/O operations per second) value. This setting is only * for non-Aurora Multi-AZ DB clusters.

*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *

The Provisioned IOPS (I/O operations per second) value. This setting is only * for non-Aurora Multi-AZ DB clusters.

*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *

The Provisioned IOPS (I/O operations per second) value. This setting is only * for non-Aurora Multi-AZ DB clusters.

*/ inline ClusterPendingModifiedValues& WithIops(int value) { SetIops(value); return *this;} private: PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports; bool m_pendingCloudwatchLogsExportsHasBeenSet = false; Aws::String m_dBClusterIdentifier; bool m_dBClusterIdentifierHasBeenSet = false; bool m_iAMDatabaseAuthenticationEnabled; bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws