/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Neptune { namespace Model { /** *

Specifies a parameter.

See Also:

AWS * API Reference

*/ class Parameter { public: AWS_NEPTUNE_API Parameter(); AWS_NEPTUNE_API Parameter(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API Parameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

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 Parameter& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;} /** *

Specifies the name of the parameter.

*/ inline Parameter& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;} /** *

Specifies the name of the parameter.

*/ inline Parameter& 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 Parameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;} /** *

Specifies the value of the parameter.

*/ inline Parameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;} /** *

Specifies the value of the parameter.

*/ inline Parameter& WithParameterValue(const char* value) { SetParameterValue(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 Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Provides a description of the parameter.

*/ inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Provides a description of the parameter.

*/ inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Indicates the source of the parameter value.

*/ inline const Aws::String& GetSource() const{ return m_source; } /** *

Indicates the source of the parameter value.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

Indicates the source of the parameter value.

*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

Indicates the source of the parameter value.

*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

Indicates the source of the parameter value.

*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *

Indicates the source of the parameter value.

*/ inline Parameter& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

Indicates the source of the parameter value.

*/ inline Parameter& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

Indicates the source of the parameter value.

*/ inline Parameter& WithSource(const char* value) { SetSource(value); return *this;} /** *

Specifies the engine specific parameters type.

*/ inline const Aws::String& GetApplyType() const{ return m_applyType; } /** *

Specifies the engine specific parameters type.

*/ inline bool ApplyTypeHasBeenSet() const { return m_applyTypeHasBeenSet; } /** *

Specifies the engine specific parameters type.

*/ inline void SetApplyType(const Aws::String& value) { m_applyTypeHasBeenSet = true; m_applyType = value; } /** *

Specifies the engine specific parameters type.

*/ inline void SetApplyType(Aws::String&& value) { m_applyTypeHasBeenSet = true; m_applyType = std::move(value); } /** *

Specifies the engine specific parameters type.

*/ inline void SetApplyType(const char* value) { m_applyTypeHasBeenSet = true; m_applyType.assign(value); } /** *

Specifies the engine specific parameters type.

*/ inline Parameter& WithApplyType(const Aws::String& value) { SetApplyType(value); return *this;} /** *

Specifies the engine specific parameters type.

*/ inline Parameter& WithApplyType(Aws::String&& value) { SetApplyType(std::move(value)); return *this;} /** *

Specifies the engine specific parameters type.

*/ inline Parameter& 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 Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *

Specifies the valid data type for the parameter.

*/ inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *

Specifies the valid data type for the parameter.

*/ inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;} /** *

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 Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;} /** *

Specifies the valid range of values for the parameter.

*/ inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;} /** *

Specifies the valid range of values for the parameter.

*/ inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(value); return *this;} /** *

Indicates whether (true) or not (false) the * parameter can be modified. Some parameters have security or operational * implications that prevent them from being changed.

*/ inline bool GetIsModifiable() const{ return m_isModifiable; } /** *

Indicates whether (true) or not (false) the * parameter can be modified. Some parameters have security or operational * implications that prevent them from being changed.

*/ inline bool IsModifiableHasBeenSet() const { return m_isModifiableHasBeenSet; } /** *

Indicates whether (true) or not (false) the * parameter can be modified. Some parameters have security or operational * implications that prevent them from being changed.

*/ inline void SetIsModifiable(bool value) { m_isModifiableHasBeenSet = true; m_isModifiable = value; } /** *

Indicates whether (true) or not (false) the * parameter can be modified. Some parameters have security or operational * implications that prevent them from being changed.

*/ inline Parameter& WithIsModifiable(bool value) { SetIsModifiable(value); return *this;} /** *

The earliest engine version to which the parameter can apply.

*/ inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; } /** *

The earliest engine version to which the parameter can apply.

*/ inline bool MinimumEngineVersionHasBeenSet() const { return m_minimumEngineVersionHasBeenSet; } /** *

The earliest engine version to which the parameter can apply.

*/ inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = value; } /** *

The earliest engine version to which the parameter can apply.

*/ inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion = std::move(value); } /** *

The earliest engine version to which the parameter can apply.

*/ inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersionHasBeenSet = true; m_minimumEngineVersion.assign(value); } /** *

The earliest engine version to which the parameter can apply.

*/ inline Parameter& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;} /** *

The earliest engine version to which the parameter can apply.

*/ inline Parameter& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;} /** *

The earliest engine version to which the parameter can apply.

*/ inline Parameter& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;} /** *

Indicates when to apply parameter updates.

*/ inline const ApplyMethod& GetApplyMethod() const{ return m_applyMethod; } /** *

Indicates when to apply parameter updates.

*/ inline bool ApplyMethodHasBeenSet() const { return m_applyMethodHasBeenSet; } /** *

Indicates when to apply parameter updates.

*/ inline void SetApplyMethod(const ApplyMethod& value) { m_applyMethodHasBeenSet = true; m_applyMethod = value; } /** *

Indicates when to apply parameter updates.

*/ inline void SetApplyMethod(ApplyMethod&& value) { m_applyMethodHasBeenSet = true; m_applyMethod = std::move(value); } /** *

Indicates when to apply parameter updates.

*/ inline Parameter& WithApplyMethod(const ApplyMethod& value) { SetApplyMethod(value); return *this;} /** *

Indicates when to apply parameter updates.

*/ inline Parameter& WithApplyMethod(ApplyMethod&& value) { SetApplyMethod(std::move(value)); return *this;} private: Aws::String m_parameterName; bool m_parameterNameHasBeenSet = false; Aws::String m_parameterValue; bool m_parameterValueHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_source; bool m_sourceHasBeenSet = false; Aws::String m_applyType; bool m_applyTypeHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_allowedValues; bool m_allowedValuesHasBeenSet = false; bool m_isModifiable; bool m_isModifiableHasBeenSet = false; Aws::String m_minimumEngineVersion; bool m_minimumEngineVersionHasBeenSet = false; ApplyMethod m_applyMethod; bool m_applyMethodHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws