/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an individual setting that controls some aspect of MemoryDB
* behavior.See Also:
AWS
* API Reference
The name of the parameter
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the parameter
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the parameter
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the parameter
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the parameter
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the parameter
*/ inline Parameter& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the parameter
*/ inline Parameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the parameter
*/ inline Parameter& WithName(const char* value) { SetName(value); return *this;} /** *The value of the parameter
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value of the parameter
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the parameter
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the parameter
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the parameter
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of the parameter
*/ inline Parameter& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of the parameter
*/ inline Parameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of the parameter
*/ inline Parameter& WithValue(const char* value) { SetValue(value); return *this;} /** *A description of the parameter
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the parameter
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the parameter
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the parameter
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the parameter
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the parameter
*/ inline Parameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the parameter
*/ inline Parameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the parameter
*/ inline Parameter& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The parameter's data type
*/ inline const Aws::String& GetDataType() const{ return m_dataType; } /** *The parameter's data type
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The parameter's data type
*/ inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The parameter's data type
*/ inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The parameter's data type
*/ inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); } /** *The parameter's data type
*/ inline Parameter& WithDataType(const Aws::String& value) { SetDataType(value); return *this;} /** *The parameter's data type
*/ inline Parameter& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;} /** *The parameter's data type
*/ inline Parameter& WithDataType(const char* value) { SetDataType(value); return *this;} /** *The valid range of values for the parameter.
*/ inline const Aws::String& GetAllowedValues() const{ return m_allowedValues; } /** *The valid range of values for the parameter.
*/ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** *The valid range of values for the parameter.
*/ inline void SetAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } /** *The valid range of values for the parameter.
*/ inline void SetAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } /** *The valid range of values for the parameter.
*/ inline void SetAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.assign(value); } /** *The valid range of values for the parameter.
*/ inline Parameter& WithAllowedValues(const Aws::String& value) { SetAllowedValues(value); return *this;} /** *The valid range of values for the parameter.
*/ inline Parameter& WithAllowedValues(Aws::String&& value) { SetAllowedValues(std::move(value)); return *this;} /** *The valid range of values for the parameter.
*/ inline Parameter& WithAllowedValues(const char* value) { SetAllowedValues(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;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_allowedValues; bool m_allowedValuesHasBeenSet = false; Aws::String m_minimumEngineVersion; bool m_minimumEngineVersionHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws