7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ParameterRange.h>
10#include <aws/sagemaker/model/ParameterType.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
82 m_typeHasBeenSet =
true;
97 template <
typename RangeT = ParameterRange>
99 m_rangeHasBeenSet =
true;
100 m_range = std::forward<RangeT>(value);
102 template <
typename RangeT = ParameterRange>
104 SetRange(std::forward<RangeT>(value));
117 m_isTunableHasBeenSet =
true;
133 m_isRequiredHasBeenSet =
true;
134 m_isRequired = value;
149 template <
typename DefaultValueT = Aws::String>
151 m_defaultValueHasBeenSet =
true;
152 m_defaultValue = std::forward<DefaultValueT>(value);
154 template <
typename DefaultValueT = Aws::String>
167 ParameterRange m_range;
169 bool m_isTunable{
false};
171 bool m_isRequired{
false};
174 bool m_nameHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
176 bool m_typeHasBeenSet =
false;
177 bool m_rangeHasBeenSet =
false;
178 bool m_isTunableHasBeenSet =
false;
179 bool m_isRequiredHasBeenSet =
false;
180 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