/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the parameters of a database.See Also:
AWS
* API Reference
Specifies the valid range of values for the parameter.
*/ inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; } /** *Specifies the valid range of values for the parameter.
*/ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** *Specifies the valid range of values for the parameter.
*/ inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } /** *Specifies the valid range of values for the parameter.
*/ inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } /** *Specifies the valid range of values for the parameter.
*/ inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); } /** *Specifies the valid range of values for the parameter.
*/ inline RelationalDatabaseParameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;} /** *Specifies the valid range of values for the parameter.
*/ inline RelationalDatabaseParameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;} /** *Specifies the valid range of values for the parameter.
*/ inline RelationalDatabaseParameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;} /** *Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Indicates when parameter updates are applied.
Can be
* immediate
or pending-reboot
.
Specifies the engine-specific parameter type.
*/ inline const Aws::String& GetApplyType() const{ return m_applyType; } /** *Specifies the engine-specific parameter type.
*/ inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; } /** *Specifies the engine-specific parameter type.
*/ inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; } /** *Specifies the engine-specific parameter type.
*/ inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); } /** *Specifies the engine-specific parameter type.
*/ inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); } /** *Specifies the engine-specific parameter type.
*/ inline RelationalDatabaseParameter& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;} /** *Specifies the engine-specific parameter type.
*/ inline RelationalDatabaseParameter& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;} /** *Specifies the engine-specific parameter type.
*/ inline RelationalDatabaseParameter& WithApplyType(const char* value) { SetApplyType(value); return *this;} /** *Specifies the valid data type for the parameter.
*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *Specifies the valid data type for the parameter.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *Specifies the valid data type for the parameter.
*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *Specifies the valid data type for the parameter.
*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *Specifies the valid data type for the parameter.
*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *Specifies the valid data type for the parameter.
*/ inline RelationalDatabaseParameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *Specifies the valid data type for the parameter.
*/ inline RelationalDatabaseParameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *Specifies the valid data type for the parameter.
*/ inline RelationalDatabaseParameter& WithDataType(const char* value) { SetDataType(value); return *this;} /** *Provides a description of the parameter.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Provides a description of the parameter.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Provides a description of the parameter.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Provides a description of the parameter.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Provides a description of the parameter.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Provides a description of the parameter.
*/ inline RelationalDatabaseParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Provides a description of the parameter.
*/ inline RelationalDatabaseParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Provides a description of the parameter.
*/ inline RelationalDatabaseParameter& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A Boolean value indicating whether the parameter can be modified.
*/ inline bool GetIsModifiable() const{ return m_isModifiable; } /** *A Boolean value indicating whether the parameter can be modified.
*/ inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; } /** *A Boolean value indicating whether the parameter can be modified.
*/ inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; } /** *A Boolean value indicating whether the parameter can be modified.
*/ inline RelationalDatabaseParameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;} /** *Specifies the name of the parameter.
*/ inline const Aws::String& GetParameterName() const{ return m_parameterName; } /** *Specifies the name of the parameter.
*/ inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; } /** *Specifies the name of the parameter.
*/ inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; } /** *Specifies the name of the parameter.
*/ inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); } /** *Specifies the name of the parameter.
*/ inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); } /** *Specifies the name of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;} /** *Specifies the name of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;} /** *Specifies the name of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterName(const char* value) { SetParameterName(value); return *this;} /** *Specifies the value of the parameter.
*/ inline const Aws::String& GetParameterValue() const{ return m_parameterValue; } /** *Specifies the value of the parameter.
*/ inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; } /** *Specifies the value of the parameter.
*/ inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; } /** *Specifies the value of the parameter.
*/ inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); } /** *Specifies the value of the parameter.
*/ inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); } /** *Specifies the value of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;} /** *Specifies the value of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;} /** *Specifies the value of the parameter.
*/ inline RelationalDatabaseParameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;} private: Aws::String m_allowedValues; bool m_allowedValuesHasBeenSet = false; Aws::String m_applyMethod; bool m_applyMethodHasBeenSet = false; Aws::String m_applyType; bool m_applyTypeHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_isModifiable; bool m_isModifiableHasBeenSet = false; Aws::String m_parameterName; bool m_parameterNameHasBeenSet = false; Aws::String m_parameterValue; bool m_parameterValueHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws