7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/HyperParameterTuningJobObjectiveType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
75 bool m_typeHasBeenSet =
false;
78 bool m_metricNameHasBeenSet =
false;
HyperParameterTuningJobObjective & WithType(HyperParameterTuningJobObjectiveType &&value)
HyperParameterTuningJobObjective & WithType(const HyperParameterTuningJobObjectiveType &value)
const HyperParameterTuningJobObjectiveType & GetType() const
HyperParameterTuningJobObjective & WithMetricName(Aws::String &&value)
void SetMetricName(const char *value)
void SetType(HyperParameterTuningJobObjectiveType &&value)
AWS_SAGEMAKER_API HyperParameterTuningJobObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetType(const HyperParameterTuningJobObjectiveType &value)
HyperParameterTuningJobObjective & WithMetricName(const char *value)
HyperParameterTuningJobObjective & WithMetricName(const Aws::String &value)
AWS_SAGEMAKER_API HyperParameterTuningJobObjective()
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HyperParameterTuningJobObjective(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(Aws::String &&value)
bool MetricNameHasBeenSet() const
void SetMetricName(const Aws::String &value)
const Aws::String & GetMetricName() const
HyperParameterTuningJobObjectiveType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue