7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
19namespace Personalize {
43 template <
typename TypeT = Aws::String>
45 m_typeHasBeenSet =
true;
46 m_type = std::forward<TypeT>(value);
48 template <
typename TypeT = Aws::String>
50 SetType(std::forward<TypeT>(value));
61 template <
typename MetricNameT = Aws::String>
63 m_metricNameHasBeenSet =
true;
64 m_metricName = std::forward<MetricNameT>(value);
66 template <
typename MetricNameT = Aws::String>
79 template <
typename MetricRegexT = Aws::String>
81 m_metricRegexHasBeenSet =
true;
82 m_metricRegex = std::forward<MetricRegexT>(value);
84 template <
typename MetricRegexT = Aws::String>
96 bool m_typeHasBeenSet =
false;
97 bool m_metricNameHasBeenSet =
false;
98 bool m_metricRegexHasBeenSet =
false;
const Aws::String & GetMetricRegex() const
AWS_PERSONALIZE_API HPOObjective()=default
void SetMetricName(MetricNameT &&value)
HPOObjective & WithMetricName(MetricNameT &&value)
const Aws::String & GetType() const
AWS_PERSONALIZE_API HPOObjective(Aws::Utils::Json::JsonView jsonValue)
bool MetricRegexHasBeenSet() const
bool TypeHasBeenSet() const
HPOObjective & WithMetricRegex(MetricRegexT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API HPOObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
HPOObjective & WithType(TypeT &&value)
void SetMetricRegex(MetricRegexT &&value)
bool MetricNameHasBeenSet() const
void SetType(TypeT &&value)
const Aws::String & GetMetricName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue