/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Changes to a DB instance that are currently pending.See Also:
* AWS
* API Reference
The new DB instance class for the DB instance.
*/ inline const Aws::String& GetDbInstanceClass() const{ return m_dbInstanceClass; } /** *The new DB instance class for the DB instance.
*/ inline bool DbInstanceClassHasBeenSet() const { return m_dbInstanceClassHasBeenSet; } /** *The new DB instance class for the DB instance.
*/ inline void SetDbInstanceClass(const Aws::String& value) { m_dbInstanceClassHasBeenSet = true; m_dbInstanceClass = value; } /** *The new DB instance class for the DB instance.
*/ inline void SetDbInstanceClass(Aws::String&& value) { m_dbInstanceClassHasBeenSet = true; m_dbInstanceClass = std::move(value); } /** *The new DB instance class for the DB instance.
*/ inline void SetDbInstanceClass(const char* value) { m_dbInstanceClassHasBeenSet = true; m_dbInstanceClass.assign(value); } /** *The new DB instance class for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceClass(const Aws::String& value) { SetDbInstanceClass(value); return *this;} /** *The new DB instance class for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceClass(Aws::String&& value) { SetDbInstanceClass(std::move(value)); return *this;} /** *The new DB instance class for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceClass(const char* value) { SetDbInstanceClass(value); return *this;} /** *The new value of the allocated storage for the DB instance.
*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *The new value of the allocated storage for the DB instance.
*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *The new value of the allocated storage for the DB instance.
*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *The new value of the allocated storage for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *The new master user password for the DB instance.
*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *The new master user password for the DB instance.
*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *The new master user password for the DB instance.
*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *The new master user password for the DB instance.
*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *The new master user password for the DB instance.
*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *The new master user password for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *The new master user password for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *The new master user password for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *The new port for the DB instance.
*/ inline int GetPort() const{ return m_port; } /** *The new port for the DB instance.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The new port for the DB instance.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The new port for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithPort(int value) { SetPort(value); return *this;} /** *The new backup retention period for the DB instance.
*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *The new backup retention period for the DB instance.
*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *The new backup retention period for the DB instance.
*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *The new backup retention period for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** *Indicates that a single Availability Zone DB instance is changing to a * multiple Availability Zone deployment.
*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *Indicates that a single Availability Zone DB instance is changing to a * multiple Availability Zone deployment.
*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *Indicates that a single Availability Zone DB instance is changing to a * multiple Availability Zone deployment.
*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *Indicates that a single Availability Zone DB instance is changing to a * multiple Availability Zone deployment.
*/ inline AwsRdsDbPendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *The new engine version for the DB instance.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The new engine version for the DB instance.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The new engine version for the DB instance.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The new engine version for the DB instance.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The new engine version for the DB instance.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The new engine version for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The new engine version for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The new engine version for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The new license model value for the DB instance.
*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *The new license model value for the DB instance.
*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *The new license model value for the DB instance.
*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *The new license model value for the DB instance.
*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *The new license model value for the DB instance.
*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *The new license model value for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *The new license model value for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *The new license model value for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *The new provisioned IOPS value for the DB instance.
*/ inline int GetIops() const{ return m_iops; } /** *The new provisioned IOPS value for the DB instance.
*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *The new provisioned IOPS value for the DB instance.
*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *The new provisioned IOPS value for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithIops(int value) { SetIops(value); return *this;} /** *The new DB instance identifier for the DB instance.
*/ inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; } /** *The new DB instance identifier for the DB instance.
*/ inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; } /** *The new DB instance identifier for the DB instance.
*/ inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; } /** *The new DB instance identifier for the DB instance.
*/ inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); } /** *The new DB instance identifier for the DB instance.
*/ inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); } /** *The new DB instance identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;} /** *The new DB instance identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;} /** *The new DB instance identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;} /** *The new storage type for the DB instance.
*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *The new storage type for the DB instance.
*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *The new storage type for the DB instance.
*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *The new storage type for the DB instance.
*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *The new storage type for the DB instance.
*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *The new storage type for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *The new storage type for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *The new storage type for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *The new CA certificate identifier for the DB instance.
*/ inline const Aws::String& GetCaCertificateIdentifier() const{ return m_caCertificateIdentifier; } /** *The new CA certificate identifier for the DB instance.
*/ inline bool CaCertificateIdentifierHasBeenSet() const { return m_caCertificateIdentifierHasBeenSet; } /** *The new CA certificate identifier for the DB instance.
*/ inline void SetCaCertificateIdentifier(const Aws::String& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = value; } /** *The new CA certificate identifier for the DB instance.
*/ inline void SetCaCertificateIdentifier(Aws::String&& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = std::move(value); } /** *The new CA certificate identifier for the DB instance.
*/ inline void SetCaCertificateIdentifier(const char* value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier.assign(value); } /** *The new CA certificate identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithCaCertificateIdentifier(const Aws::String& value) { SetCaCertificateIdentifier(value); return *this;} /** *The new CA certificate identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithCaCertificateIdentifier(Aws::String&& value) { SetCaCertificateIdentifier(std::move(value)); return *this;} /** *The new CA certificate identifier for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithCaCertificateIdentifier(const char* value) { SetCaCertificateIdentifier(value); return *this;} /** *The name of the new subnet group for the DB instance.
*/ inline const Aws::String& GetDbSubnetGroupName() const{ return m_dbSubnetGroupName; } /** *The name of the new subnet group for the DB instance.
*/ inline bool DbSubnetGroupNameHasBeenSet() const { return m_dbSubnetGroupNameHasBeenSet; } /** *The name of the new subnet group for the DB instance.
*/ inline void SetDbSubnetGroupName(const Aws::String& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = value; } /** *The name of the new subnet group for the DB instance.
*/ inline void SetDbSubnetGroupName(Aws::String&& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = std::move(value); } /** *The name of the new subnet group for the DB instance.
*/ inline void SetDbSubnetGroupName(const char* value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName.assign(value); } /** *The name of the new subnet group for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbSubnetGroupName(const Aws::String& value) { SetDbSubnetGroupName(value); return *this;} /** *The name of the new subnet group for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbSubnetGroupName(Aws::String&& value) { SetDbSubnetGroupName(std::move(value)); return *this;} /** *The name of the new subnet group for the DB instance.
*/ inline AwsRdsDbPendingModifiedValues& WithDbSubnetGroupName(const char* value) { SetDbSubnetGroupName(value); return *this;} /** *A list of log types that are being enabled or disabled.
*/ inline const AwsRdsPendingCloudWatchLogsExports& GetPendingCloudWatchLogsExports() const{ return m_pendingCloudWatchLogsExports; } /** *A list of log types that are being enabled or disabled.
*/ inline bool PendingCloudWatchLogsExportsHasBeenSet() const { return m_pendingCloudWatchLogsExportsHasBeenSet; } /** *A list of log types that are being enabled or disabled.
*/ inline void SetPendingCloudWatchLogsExports(const AwsRdsPendingCloudWatchLogsExports& value) { m_pendingCloudWatchLogsExportsHasBeenSet = true; m_pendingCloudWatchLogsExports = value; } /** *A list of log types that are being enabled or disabled.
*/ inline void SetPendingCloudWatchLogsExports(AwsRdsPendingCloudWatchLogsExports&& value) { m_pendingCloudWatchLogsExportsHasBeenSet = true; m_pendingCloudWatchLogsExports = std::move(value); } /** *A list of log types that are being enabled or disabled.
*/ inline AwsRdsDbPendingModifiedValues& WithPendingCloudWatchLogsExports(const AwsRdsPendingCloudWatchLogsExports& value) { SetPendingCloudWatchLogsExports(value); return *this;} /** *A list of log types that are being enabled or disabled.
*/ inline AwsRdsDbPendingModifiedValues& WithPendingCloudWatchLogsExports(AwsRdsPendingCloudWatchLogsExports&& value) { SetPendingCloudWatchLogsExports(std::move(value)); return *this;} /** *Processor features that are being updated.
*/ inline const Aws::VectorProcessor features that are being updated.
*/ inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; } /** *Processor features that are being updated.
*/ inline void SetProcessorFeatures(const Aws::VectorProcessor features that are being updated.
*/ inline void SetProcessorFeatures(Aws::VectorProcessor features that are being updated.
*/ inline AwsRdsDbPendingModifiedValues& WithProcessorFeatures(const Aws::VectorProcessor features that are being updated.
*/ inline AwsRdsDbPendingModifiedValues& WithProcessorFeatures(Aws::VectorProcessor features that are being updated.
*/ inline AwsRdsDbPendingModifiedValues& AddProcessorFeatures(const AwsRdsDbProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; } /** *Processor features that are being updated.
*/ inline AwsRdsDbPendingModifiedValues& AddProcessorFeatures(AwsRdsDbProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(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; AwsRdsPendingCloudWatchLogsExports m_pendingCloudWatchLogsExports; bool m_pendingCloudWatchLogsExportsHasBeenSet = false; Aws::Vector