7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ParameterType.h>
10#include <aws/sagemaker/model/ParameterRange.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
85 template<
typename RangeT = ParameterRange>
86 void SetRange(RangeT&& value) { m_rangeHasBeenSet =
true; m_range = std::forward<RangeT>(value); }
87 template<
typename RangeT = ParameterRange>
98 inline void SetIsTunable(
bool value) { m_isTunableHasBeenSet =
true; m_isTunable = value; }
108 inline void SetIsRequired(
bool value) { m_isRequiredHasBeenSet =
true; m_isRequired = value; }
119 template<
typename DefaultValueT = Aws::String>
120 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
121 template<
typename DefaultValueT = Aws::String>
127 bool m_nameHasBeenSet =
false;
130 bool m_descriptionHasBeenSet =
false;
133 bool m_typeHasBeenSet =
false;
135 ParameterRange m_range;
136 bool m_rangeHasBeenSet =
false;
138 bool m_isTunable{
false};
139 bool m_isTunableHasBeenSet =
false;
141 bool m_isRequired{
false};
142 bool m_isRequiredHasBeenSet =
false;
145 bool m_defaultValueHasBeenSet =
false;
HyperParameterSpecification & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
const Aws::String & GetDefaultValue() const
bool RangeHasBeenSet() const
bool GetIsTunable() const
void SetDescription(DescriptionT &&value)
HyperParameterSpecification & WithType(ParameterType value)
HyperParameterSpecification & WithRange(RangeT &&value)
void SetType(ParameterType value)
void SetIsRequired(bool value)
ParameterType GetType() const
const Aws::String & GetDescription() const
bool DefaultValueHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterSpecification()=default
bool NameHasBeenSet() const
void SetDefaultValue(DefaultValueT &&value)
void SetIsTunable(bool value)
HyperParameterSpecification & WithIsRequired(bool value)
const ParameterRange & GetRange() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetIsRequired() const
bool DescriptionHasBeenSet() const
bool IsRequiredHasBeenSet() const
bool IsTunableHasBeenSet() const
AWS_SAGEMAKER_API HyperParameterSpecification(Aws::Utils::Json::JsonView jsonValue)
HyperParameterSpecification & WithDefaultValue(DefaultValueT &&value)
void SetName(NameT &&value)
bool TypeHasBeenSet() const
void SetRange(RangeT &&value)
HyperParameterSpecification & WithName(NameT &&value)
AWS_SAGEMAKER_API HyperParameterSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterSpecification & WithIsTunable(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue