/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input to ModifyDBInstance.See Also:
* AWS
* API Reference
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The instance identifier. This value is stored as a lowercase string.
*Constraints:
Must match the identifier of an existing
* DBInstance
.
The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} /** *The new compute and memory capacity of the instance; for example,
* db.r5.large
. Not all instance classes are available in all Amazon
* Web Services Regions.
If you modify the instance class, an outage occurs
* during the change. The change is applied during the next maintenance window,
* unless ApplyImmediately
is specified as true
for this
* request.
Default: Uses existing setting.
*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} /** *Specifies whether the modifications in this request and any pending
* modifications are asynchronously applied as soon as possible, regardless of the
* PreferredMaintenanceWindow
setting for the instance.
If
* this parameter is set to false
, changes to the instance are applied
* during the next maintenance window. Some parameter changes can cause an outage
* and are applied on the next reboot.
Default: false
Specifies whether the modifications in this request and any pending
* modifications are asynchronously applied as soon as possible, regardless of the
* PreferredMaintenanceWindow
setting for the instance.
If
* this parameter is set to false
, changes to the instance are applied
* during the next maintenance window. Some parameter changes can cause an outage
* and are applied on the next reboot.
Default: false
Specifies whether the modifications in this request and any pending
* modifications are asynchronously applied as soon as possible, regardless of the
* PreferredMaintenanceWindow
setting for the instance.
If
* this parameter is set to false
, changes to the instance are applied
* during the next maintenance window. Some parameter changes can cause an outage
* and are applied on the next reboot.
Default: false
Specifies whether the modifications in this request and any pending
* modifications are asynchronously applied as soon as possible, regardless of the
* PreferredMaintenanceWindow
setting for the instance.
If
* this parameter is set to false
, changes to the instance are applied
* during the next maintenance window. Some parameter changes can cause an outage
* and are applied on the next reboot.
Default: false
The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline ModifyDBInstanceRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline ModifyDBInstanceRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, changing this * parameter causes a reboot of the instance. If you are moving this window to the * current time, there must be at least 30 minutes between the current time and end * of the window to ensure that pending changes are applied.
Default: Uses * existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Must be at * least 30 minutes.
*/ inline ModifyDBInstanceRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does * not perform minor version upgrades regardless of the value set.
*/ inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } /** *This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does * not perform minor version upgrades regardless of the value set.
*/ inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; } /** *This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does * not perform minor version upgrades regardless of the value set.
*/ inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; } /** *This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does * not perform minor version upgrades regardless of the value set.
*/ inline ModifyDBInstanceRequest& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} /** * The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
The new instance identifier for the instance when renaming an instance. When
* you change the instance identifier, an instance reboot occurs immediately if you
* set Apply Immediately
to true
. It occurs during the
* next maintenance window if you set Apply Immediately
to
* false
. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
Indicates the certificate that needs to be associated with the instance.
*/ inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; } /** *Indicates the certificate that needs to be associated with the instance.
*/ inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; } /** *Indicates the certificate that needs to be associated with the instance.
*/ inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; } /** *Indicates the certificate that needs to be associated with the instance.
*/ inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); } /** *Indicates the certificate that needs to be associated with the instance.
*/ inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); } /** *Indicates the certificate that needs to be associated with the instance.
*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const Aws::String& value) { SetCACertificateIdentifier(value); return *this;} /** *Indicates the certificate that needs to be associated with the instance.
*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;} /** *Indicates the certificate that needs to be associated with the instance.
*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;} /** *A value that indicates whether to copy all tags from the DB instance to * snapshots of the DB instance. By default, tags are not copied.
*/ inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } /** *A value that indicates whether to copy all tags from the DB instance to * snapshots of the DB instance. By default, tags are not copied.
*/ inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } /** *A value that indicates whether to copy all tags from the DB instance to * snapshots of the DB instance. By default, tags are not copied.
*/ inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } /** *A value that indicates whether to copy all tags from the DB instance to * snapshots of the DB instance. By default, tags are not copied.
*/ inline ModifyDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} /** *A value that specifies the order in which an Amazon DocumentDB replica is * promoted to the primary instance after a failure of the existing primary * instance.
Default: 1
Valid values: 0-15
*/ inline int GetPromotionTier() const{ return m_promotionTier; } /** *A value that specifies the order in which an Amazon DocumentDB replica is * promoted to the primary instance after a failure of the existing primary * instance.
Default: 1
Valid values: 0-15
*/ inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; } /** *A value that specifies the order in which an Amazon DocumentDB replica is * promoted to the primary instance after a failure of the existing primary * instance.
Default: 1
Valid values: 0-15
*/ inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; } /** *A value that specifies the order in which an Amazon DocumentDB replica is * promoted to the primary instance after a failure of the existing primary * instance.
Default: 1
Valid values: 0-15
*/ inline ModifyDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;} /** *A value that indicates whether to enable Performance Insights for the DB * Instance. For more information, see Using * Amazon Performance Insights.
*/ inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; } /** *A value that indicates whether to enable Performance Insights for the DB * Instance. For more information, see Using * Amazon Performance Insights.
*/ inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; } /** *A value that indicates whether to enable Performance Insights for the DB * Instance. For more information, see Using * Amazon Performance Insights.
*/ inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; } /** *A value that indicates whether to enable Performance Insights for the DB * Instance. For more information, see Using * Amazon Performance Insights.
*/ inline ModifyDBInstanceRequest& WithEnablePerformanceInsights(bool value) { SetEnablePerformanceInsights(value); return *this;} /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; } /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; } /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; } /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); } /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); } /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const Aws::String& value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(Aws::String&& value) { SetPerformanceInsightsKMSKeyId(std::move(value)); return *this;} /** *The KMS key identifier for encryption of Performance Insights data.
*The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for * the KMS key.
If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. * There is a default KMS key for your Amazon Web Services account. Your Amazon Web * Services account has a different default KMS key for each Amazon Web Services * region.
*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;} private: Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet = false; bool m_applyImmediately; bool m_applyImmediatelyHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; bool m_autoMinorVersionUpgrade; bool m_autoMinorVersionUpgradeHasBeenSet = false; Aws::String m_newDBInstanceIdentifier; bool m_newDBInstanceIdentifierHasBeenSet = false; Aws::String m_cACertificateIdentifier; bool m_cACertificateIdentifierHasBeenSet = false; bool m_copyTagsToSnapshot; bool m_copyTagsToSnapshotHasBeenSet = false; int m_promotionTier; bool m_promotionTierHasBeenSet = false; bool m_enablePerformanceInsights; bool m_enablePerformanceInsightsHasBeenSet = false; Aws::String m_performanceInsightsKMSKeyId; bool m_performanceInsightsKMSKeyIdHasBeenSet = false; }; } // namespace Model } // namespace DocDB } // namespace Aws