7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/Statistic.h>
41 template <
typename MetricNameT = Aws::String>
43 m_metricNameHasBeenSet =
true;
44 m_metricName = std::forward<MetricNameT>(value);
46 template <
typename MetricNameT = Aws::String>
59 template <
typename NamespaceT = Aws::String>
61 m_namespaceHasBeenSet =
true;
62 m_namespace = std::forward<NamespaceT>(value);
64 template <
typename NamespaceT = Aws::String>
78 m_statisticHasBeenSet =
true;
92 bool m_metricNameHasBeenSet =
false;
93 bool m_namespaceHasBeenSet =
false;
94 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