/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is used as a response element in the
* ModifyDBInstance action. See Also:
AWS
* API Reference
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new DBInstanceClass for the DB instance that will
* be applied or is currently being applied.
Contains the new AllocatedStorage size for the DB instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage size for the DB instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage size for the DB instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage size for the DB instance that
* will be applied or is currently being applied.
Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline PendingModifiedValues& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *Contains the pending or currently-in-progress change of the master * credentials for the DB instance.
*/ 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;} /** *The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
The license model for the DB instance.
Valid values:
* license-included | bring-your-own-license |
* general-public-license
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.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier for the DB instance that
* will be applied or is currently being applied.
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;} inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; } inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; } inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; } inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); } inline PendingModifiedValues& WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { SetPendingCloudwatchLogsExports(value); return *this;} inline PendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { SetPendingCloudwatchLogsExports(std::move(value)); return *this;} /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; } /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline void SetProcessorFeatures(const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline void SetProcessorFeatures(Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline PendingModifiedValues& WithProcessorFeatures(const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline PendingModifiedValues& WithProcessorFeatures(Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline PendingModifiedValues& AddProcessorFeatures(const ProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; } /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline PendingModifiedValues& AddProcessorFeatures(ProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(std::move(value)); return *this; } private: Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet; int m_port; bool m_portHasBeenSet; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet; bool m_multiAZ; bool m_multiAZHasBeenSet; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet; int m_iops; bool m_iopsHasBeenSet; Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet; Aws::String m_storageType; bool m_storageTypeHasBeenSet; Aws::String m_cACertificateIdentifier; bool m_cACertificateIdentifierHasBeenSet; Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet; PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports; bool m_pendingCloudwatchLogsExportsHasBeenSet; Aws::Vector