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

Defines the possible values for a continuous hyperparameter.

See * Also:

AWS * API Reference

*/ class ContinuousParameterRangeSpecification { public: AWS_SAGEMAKER_API ContinuousParameterRangeSpecification(); AWS_SAGEMAKER_API ContinuousParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ContinuousParameterRangeSpecification& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The minimum floating-point value allowed.

*/ inline const Aws::String& GetMinValue() const{ return m_minValue; } /** *

The minimum floating-point value allowed.

*/ inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } /** *

The minimum floating-point value allowed.

*/ inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; } /** *

The minimum floating-point value allowed.

*/ inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); } /** *

The minimum floating-point value allowed.

*/ inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); } /** *

The minimum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;} /** *

The minimum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;} /** *

The minimum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMinValue(const char* value) { SetMinValue(value); return *this;} /** *

The maximum floating-point value allowed.

*/ inline const Aws::String& GetMaxValue() const{ return m_maxValue; } /** *

The maximum floating-point value allowed.

*/ inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } /** *

The maximum floating-point value allowed.

*/ inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; } /** *

The maximum floating-point value allowed.

*/ inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); } /** *

The maximum floating-point value allowed.

*/ inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); } /** *

The maximum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;} /** *

The maximum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;} /** *

The maximum floating-point value allowed.

*/ inline ContinuousParameterRangeSpecification& WithMaxValue(const char* value) { SetMaxValue(value); return *this;} private: Aws::String m_minValue; bool m_minValueHasBeenSet = false; Aws::String m_maxValue; bool m_maxValueHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws