/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more modified settings for an instance. These modified settings have
* been requested, but haven't been applied yet.See Also:
AWS
* API Reference
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new DBInstanceClass
for the instance that will be
* applied or is currently being applied.
Contains the new AllocatedStorage
size for then instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage
size for then instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage
size for then instance that
* will be applied or is currently being applied.
Contains the new AllocatedStorage
size for then instance that
* will be applied or is currently being applied.
Contains the pending or currently in-progress change of the master * credentials for the instance.
*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *Contains the pending or currently in-progress change of the master * credentials for the instance.
*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *Contains the pending or currently in-progress change of the master * credentials for the 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 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 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 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 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 instance.
*/ inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *Specifies the pending port for the instance.
*/ inline int GetPort() const{ return m_port; } /** *Specifies the pending port for the instance.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *Specifies the pending port for the instance.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *Specifies the pending port for the 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 instance is to change to a Multi-AZ * deployment.
*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *Indicates that the Single-AZ instance is to change to a Multi-AZ * deployment.
*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *Indicates that the Single-AZ 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 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 instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
The license model for the instance.
Valid values:
* license-included
, bring-your-own-license
,
* general-public-license
Specifies the new Provisioned IOPS value for the 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 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 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 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 instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Contains the new DBInstanceIdentifier
for the instance that
* will be applied or is currently being applied.
Specifies the storage type to be associated with the instance.
*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *Specifies the storage type to be associated with the instance.
*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *Specifies the storage type to be associated with the instance.
*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *Specifies the storage type to be associated with the instance.
*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *Specifies the storage type to be associated with the instance.
*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *Specifies the storage type to be associated with the instance.
*/ inline PendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *Specifies the storage type to be associated with the instance.
*/ inline PendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *Specifies the storage type to be associated with the instance.
*/ inline PendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; } /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; } /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; } /** *Specifies the identifier of the certificate authority (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 certificate authority (CA) certificate for * the DB instance.
*/ inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); } /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline PendingModifiedValues& WithCACertificateIdentifier(const Aws::String& value) { SetCACertificateIdentifier(value); return *this;} /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline PendingModifiedValues& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;} /** *Specifies the identifier of the certificate authority (CA) certificate for * the DB instance.
*/ inline PendingModifiedValues& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;} /** *The new subnet group for the instance.
*/ inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } /** *The new subnet group for the instance.
*/ inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } /** *The new subnet group for the instance.
*/ inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } /** *The new subnet group for the instance.
*/ inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } /** *The new subnet group for the instance.
*/ inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } /** *The new subnet group for the instance.
*/ inline PendingModifiedValues& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} /** *The new subnet group for the instance.
*/ inline PendingModifiedValues& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} /** *The new subnet group for the instance.
*/ inline PendingModifiedValues& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; } /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; } /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; } /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); } /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ inline PendingModifiedValues& WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { SetPendingCloudwatchLogsExports(value); return *this;} /** *A list of the log types whose configuration is still pending. These log types * are in the process of being activated or deactivated.
*/ 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 DocDB } // namespace Aws