/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the name and range of a continuous hyperparameter.See
* Also:
AWS
* API Reference
The name of the hyperparameter.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the hyperparameter.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the hyperparameter.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the hyperparameter.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the hyperparameter.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the hyperparameter.
*/ inline ContinuousHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the hyperparameter.
*/ inline ContinuousHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the hyperparameter.
*/ inline ContinuousHyperParameterRange& WithName(const char* value) { SetName(value); return *this;} /** *The minimum allowable value for the hyperparameter.
*/ inline double GetMinValue() const{ return m_minValue; } /** *The minimum allowable value for the hyperparameter.
*/ inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } /** *The minimum allowable value for the hyperparameter.
*/ inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; } /** *The minimum allowable value for the hyperparameter.
*/ inline ContinuousHyperParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;} /** *The maximum allowable value for the hyperparameter.
*/ inline double GetMaxValue() const{ return m_maxValue; } /** *The maximum allowable value for the hyperparameter.
*/ inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } /** *The maximum allowable value for the hyperparameter.
*/ inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; } /** *The maximum allowable value for the hyperparameter.
*/ inline ContinuousHyperParameterRange& WithMaxValue(double value) { SetMaxValue(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; double m_minValue; bool m_minValueHasBeenSet = false; double m_maxValue; bool m_maxValueHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws