7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
65 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
79 inline void SetMetricRegex(
const char* value) { m_metricRegexHasBeenSet =
true; m_metricRegex.assign(value); }
87 bool m_typeHasBeenSet =
false;
90 bool m_metricNameHasBeenSet =
false;
93 bool m_metricRegexHasBeenSet =
false;
const Aws::String & GetMetricRegex() const
HPOObjective & WithMetricRegex(const char *value)
void SetMetricName(const Aws::String &value)
HPOObjective & WithMetricName(const char *value)
const Aws::String & GetType() const
void SetType(Aws::String &&value)
AWS_PERSONALIZE_API HPOObjective(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(const char *value)
void SetMetricRegex(Aws::String &&value)
bool MetricRegexHasBeenSet() const
bool TypeHasBeenSet() const
void SetType(const Aws::String &value)
void SetMetricRegex(const char *value)
AWS_PERSONALIZE_API HPOObjective()
HPOObjective & WithMetricRegex(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
HPOObjective & WithType(const char *value)
void SetMetricRegex(const Aws::String &value)
void SetMetricName(Aws::String &&value)
AWS_PERSONALIZE_API HPOObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
HPOObjective & WithMetricRegex(Aws::String &&value)
HPOObjective & WithType(const Aws::String &value)
bool MetricNameHasBeenSet() const
HPOObjective & WithMetricName(const Aws::String &value)
HPOObjective & WithType(Aws::String &&value)
HPOObjective & WithMetricName(Aws::String &&value)
void SetType(const char *value)
const Aws::String & GetMetricName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue