/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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