/** * 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 { /** *

The name and an example value of the hyperparameter that you want to use in * Autotune. If Automatic model tuning (AMT) determines that your hyperparameter is * eligible for Autotune, an optimal hyperparameter range is selected for * you.

See Also:

AWS * API Reference

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

The name of the hyperparameter to optimize using Autotune.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithName(const char* value) { SetName(value); return *this;} /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline const Aws::String& GetValueHint() const{ return m_valueHint; } /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline bool ValueHintHasBeenSet() const { return m_valueHintHasBeenSet; } /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline void SetValueHint(const Aws::String& value) { m_valueHintHasBeenSet = true; m_valueHint = value; } /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline void SetValueHint(Aws::String&& value) { m_valueHintHasBeenSet = true; m_valueHint = std::move(value); } /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline void SetValueHint(const char* value) { m_valueHintHasBeenSet = true; m_valueHint.assign(value); } /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithValueHint(const Aws::String& value) { SetValueHint(value); return *this;} /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithValueHint(Aws::String&& value) { SetValueHint(std::move(value)); return *this;} /** *

An example value of the hyperparameter to optimize using Autotune.

*/ inline AutoParameter& WithValueHint(const char* value) { SetValueHint(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_valueHint; bool m_valueHintHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws