/** * 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 ModifyDBInstance * action.

See Also:

AWS * API Reference

*/ class PendingModifiedValues { public: AWS_NEPTUNE_API PendingModifiedValues(); AWS_NEPTUNE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API PendingModifiedValues& 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; /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} /** *

Contains the new DBInstanceClass for the DB instance that will * be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} /** *

Contains the new AllocatedStorage size for the DB instance that * will be applied or is currently being applied.

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

Contains the new AllocatedStorage size for the DB instance that * will be applied or is currently being applied.

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

Contains the new AllocatedStorage size for the DB instance that * will be applied or is currently being applied.

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

Contains the new AllocatedStorage size for the DB instance that * will be applied or is currently being applied.

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

Not supported by Neptune.

*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *

Not supported by Neptune.

*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *

Specifies the pending port for the DB instance.

*/ inline int GetPort() const{ return m_port; } /** *

Specifies the pending port for the DB instance.

*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *

Specifies the pending port for the DB instance.

*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *

Specifies the pending port for the DB instance.

*/ inline PendingModifiedValues& WithPort(int value) { SetPort(value); return *this;} /** *

Specifies the pending number of days for which automated backups are * retained.

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

Specifies the pending number of days for which automated backups are * retained.

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

Specifies the pending number of days for which automated backups are * retained.

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

Specifies the pending number of days for which automated backups are * retained.

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

Indicates that the Single-AZ DB instance is to change to a Multi-AZ * deployment.

*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *

Indicates that the Single-AZ DB instance is to change to a Multi-AZ * deployment.

*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *

Indicates that the Single-AZ DB instance is to change to a Multi-AZ * deployment.

*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *

Indicates that the Single-AZ DB instance is to change to a Multi-AZ * deployment.

*/ inline PendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Indicates the database engine version.

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

Not supported by Neptune.

*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *

Not supported by Neptune.

*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline PendingModifiedValues& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *

Specifies the new Provisioned IOPS value for the DB instance that will be * applied or is currently being applied.

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

Specifies the new Provisioned IOPS value for the DB instance that will be * applied or is currently being applied.

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

Specifies the new Provisioned IOPS value for the DB instance that will be * applied or is currently being applied.

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

Specifies the new Provisioned IOPS value for the DB instance that will be * applied or is currently being applied.

*/ inline PendingModifiedValues& WithIops(int value) { SetIops(value); return *this;} /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *

Contains the new DBInstanceIdentifier for the DB instance that * will be applied or is currently being applied.

*/ inline PendingModifiedValues& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *

Specifies the storage type to be associated with the DB instance.

*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *

Specifies the storage type to be associated with the DB instance.

*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *

Specifies the storage type to be associated with the DB instance.

*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *

Specifies the storage type to be associated with the DB instance.

*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *

Specifies the storage type to be associated with the DB instance.

*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *

Specifies the storage type to be associated with the DB instance.

*/ inline PendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *

Specifies the storage type to be associated with the DB instance.

*/ inline PendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *

Specifies the storage type to be associated with the DB instance.

*/ inline PendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; } /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; } /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; } /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); } /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); } /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline PendingModifiedValues& WithCACertificateIdentifier(const Aws::String& value) { SetCACertificateIdentifier(value); return *this;} /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline PendingModifiedValues& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;} /** *

Specifies the identifier of the CA certificate for the DB instance.

*/ inline PendingModifiedValues& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;} /** *

The new DB subnet group for the DB instance.

*/ inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } /** *

The new DB subnet group for the DB instance.

*/ inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } /** *

The new DB subnet group for the DB instance.

*/ inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } /** *

The new DB subnet group for the DB instance.

*/ inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } /** *

The new DB subnet group for the DB instance.

*/ inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } /** *

The new DB subnet group for the DB instance.

*/ inline PendingModifiedValues& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} /** *

The new DB subnet group for the DB instance.

*/ inline PendingModifiedValues& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} /** *

The new DB subnet group for the DB instance.

*/ inline PendingModifiedValues& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} /** *

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 PendingModifiedValues& 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 PendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { SetPendingCloudwatchLogsExports(std::move(value)); return *this;} private: Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; bool m_multiAZ; bool m_multiAZHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; Aws::String m_storageType; bool m_storageTypeHasBeenSet = false; Aws::String m_cACertificateIdentifier; bool m_cACertificateIdentifierHasBeenSet = false; Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports; bool m_pendingCloudwatchLogsExportsHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws