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

Specifies the categorical, continuous, and integer hyperparameters, and their * ranges of tunable values. The range of tunable values determines which values * that a hyperparameter tuning job can choose for the specified hyperparameter. * This object is part of the HyperParameterTuningJobConfig * object.

See Also:

AWS * API Reference

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

Specifies the tunable range for each categorical hyperparameter.

*/ inline const Aws::Vector& GetCategoricalParameterRanges() const{ return m_categoricalParameterRanges; } /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline bool CategoricalParameterRangesHasBeenSet() const { return m_categoricalParameterRangesHasBeenSet; } /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline void SetCategoricalParameterRanges(const Aws::Vector& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = value; } /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline void SetCategoricalParameterRanges(Aws::Vector&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = std::move(value); } /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline ParameterRanges& WithCategoricalParameterRanges(const Aws::Vector& value) { SetCategoricalParameterRanges(value); return *this;} /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline ParameterRanges& WithCategoricalParameterRanges(Aws::Vector&& value) { SetCategoricalParameterRanges(std::move(value)); return *this;} /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline ParameterRanges& AddCategoricalParameterRanges(const CategoricalParameterRange& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(value); return *this; } /** *

Specifies the tunable range for each categorical hyperparameter.

*/ inline ParameterRanges& AddCategoricalParameterRanges(CategoricalParameterRange&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(std::move(value)); return *this; } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline const Aws::Vector& GetContinuousParameterRanges() const{ return m_continuousParameterRanges; } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline bool ContinuousParameterRangesHasBeenSet() const { return m_continuousParameterRangesHasBeenSet; } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline void SetContinuousParameterRanges(const Aws::Vector& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = value; } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline void SetContinuousParameterRanges(Aws::Vector&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = std::move(value); } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline ParameterRanges& WithContinuousParameterRanges(const Aws::Vector& value) { SetContinuousParameterRanges(value); return *this;} /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline ParameterRanges& WithContinuousParameterRanges(Aws::Vector&& value) { SetContinuousParameterRanges(std::move(value)); return *this;} /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline ParameterRanges& AddContinuousParameterRanges(const ContinuousParameterRange& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(value); return *this; } /** *

Specifies the tunable range for each continuous hyperparameter.

*/ inline ParameterRanges& AddContinuousParameterRanges(ContinuousParameterRange&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(std::move(value)); return *this; } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline const Aws::Vector& GetIntegerParameterRanges() const{ return m_integerParameterRanges; } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline bool IntegerParameterRangesHasBeenSet() const { return m_integerParameterRangesHasBeenSet; } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline void SetIntegerParameterRanges(const Aws::Vector& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = value; } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline void SetIntegerParameterRanges(Aws::Vector&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = std::move(value); } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline ParameterRanges& WithIntegerParameterRanges(const Aws::Vector& value) { SetIntegerParameterRanges(value); return *this;} /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline ParameterRanges& WithIntegerParameterRanges(Aws::Vector&& value) { SetIntegerParameterRanges(std::move(value)); return *this;} /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline ParameterRanges& AddIntegerParameterRanges(const IntegerParameterRange& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(value); return *this; } /** *

Specifies the tunable range for each integer hyperparameter.

*/ inline ParameterRanges& AddIntegerParameterRanges(IntegerParameterRange&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(std::move(value)); return *this; } private: Aws::Vector m_categoricalParameterRanges; bool m_categoricalParameterRangesHasBeenSet = false; Aws::Vector m_continuousParameterRanges; bool m_continuousParameterRangesHasBeenSet = false; Aws::Vector m_integerParameterRanges; bool m_integerParameterRangesHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws