/** * 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 Personalize { namespace Model { /** *

Specifies the hyperparameters and their ranges. Hyperparameters can be * categorical, continuous, or integer-valued.

See Also:

AWS * API Reference

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

The integer-valued hyperparameters and their ranges.

*/ inline const Aws::Vector& GetIntegerHyperParameterRanges() const{ return m_integerHyperParameterRanges; } /** *

The integer-valued hyperparameters and their ranges.

*/ inline bool IntegerHyperParameterRangesHasBeenSet() const { return m_integerHyperParameterRangesHasBeenSet; } /** *

The integer-valued hyperparameters and their ranges.

*/ inline void SetIntegerHyperParameterRanges(const Aws::Vector& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = value; } /** *

The integer-valued hyperparameters and their ranges.

*/ inline void SetIntegerHyperParameterRanges(Aws::Vector&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = std::move(value); } /** *

The integer-valued hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithIntegerHyperParameterRanges(const Aws::Vector& value) { SetIntegerHyperParameterRanges(value); return *this;} /** *

The integer-valued hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithIntegerHyperParameterRanges(Aws::Vector&& value) { SetIntegerHyperParameterRanges(std::move(value)); return *this;} /** *

The integer-valued hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddIntegerHyperParameterRanges(const IntegerHyperParameterRange& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(value); return *this; } /** *

The integer-valued hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddIntegerHyperParameterRanges(IntegerHyperParameterRange&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(std::move(value)); return *this; } /** *

The continuous hyperparameters and their ranges.

*/ inline const Aws::Vector& GetContinuousHyperParameterRanges() const{ return m_continuousHyperParameterRanges; } /** *

The continuous hyperparameters and their ranges.

*/ inline bool ContinuousHyperParameterRangesHasBeenSet() const { return m_continuousHyperParameterRangesHasBeenSet; } /** *

The continuous hyperparameters and their ranges.

*/ inline void SetContinuousHyperParameterRanges(const Aws::Vector& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = value; } /** *

The continuous hyperparameters and their ranges.

*/ inline void SetContinuousHyperParameterRanges(Aws::Vector&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = std::move(value); } /** *

The continuous hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithContinuousHyperParameterRanges(const Aws::Vector& value) { SetContinuousHyperParameterRanges(value); return *this;} /** *

The continuous hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithContinuousHyperParameterRanges(Aws::Vector&& value) { SetContinuousHyperParameterRanges(std::move(value)); return *this;} /** *

The continuous hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddContinuousHyperParameterRanges(const ContinuousHyperParameterRange& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(value); return *this; } /** *

The continuous hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddContinuousHyperParameterRanges(ContinuousHyperParameterRange&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(std::move(value)); return *this; } /** *

The categorical hyperparameters and their ranges.

*/ inline const Aws::Vector& GetCategoricalHyperParameterRanges() const{ return m_categoricalHyperParameterRanges; } /** *

The categorical hyperparameters and their ranges.

*/ inline bool CategoricalHyperParameterRangesHasBeenSet() const { return m_categoricalHyperParameterRangesHasBeenSet; } /** *

The categorical hyperparameters and their ranges.

*/ inline void SetCategoricalHyperParameterRanges(const Aws::Vector& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = value; } /** *

The categorical hyperparameters and their ranges.

*/ inline void SetCategoricalHyperParameterRanges(Aws::Vector&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = std::move(value); } /** *

The categorical hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithCategoricalHyperParameterRanges(const Aws::Vector& value) { SetCategoricalHyperParameterRanges(value); return *this;} /** *

The categorical hyperparameters and their ranges.

*/ inline HyperParameterRanges& WithCategoricalHyperParameterRanges(Aws::Vector&& value) { SetCategoricalHyperParameterRanges(std::move(value)); return *this;} /** *

The categorical hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddCategoricalHyperParameterRanges(const CategoricalHyperParameterRange& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(value); return *this; } /** *

The categorical hyperparameters and their ranges.

*/ inline HyperParameterRanges& AddCategoricalHyperParameterRanges(CategoricalHyperParameterRange&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(std::move(value)); return *this; } private: Aws::Vector m_integerHyperParameterRanges; bool m_integerHyperParameterRangesHasBeenSet = false; Aws::Vector m_continuousHyperParameterRanges; bool m_continuousHyperParameterRangesHasBeenSet = false; Aws::Vector m_categoricalHyperParameterRanges; bool m_categoricalHyperParameterRangesHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws