7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/Statistic.h>
47 template<
typename MetricNameT = Aws::String>
48 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
49 template<
typename MetricNameT = Aws::String>
59 template<
typename NamespaceT = Aws::String>
60 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
61 template<
typename NamespaceT = Aws::String>
77 bool m_metricNameHasBeenSet =
false;
80 bool m_namespaceHasBeenSet =
false;
83 bool m_statisticHasBeenSet =
false;
AWS_SAGEMAKER_API CustomizedMetricSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomizedMetricSpecification & WithNamespace(NamespaceT &&value)
const Aws::String & GetMetricName() const
CustomizedMetricSpecification & WithStatistic(Statistic value)
bool MetricNameHasBeenSet() const
bool StatisticHasBeenSet() const
AWS_SAGEMAKER_API CustomizedMetricSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(NamespaceT &&value)
bool NamespaceHasBeenSet() const
CustomizedMetricSpecification & WithMetricName(MetricNameT &&value)
Statistic GetStatistic() const
const Aws::String & GetNamespace() const
AWS_SAGEMAKER_API CustomizedMetricSpecification()=default
void SetStatistic(Statistic value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricName(MetricNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue