AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HPOObjective.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PERSONALIZE_API HPOObjective();
37 AWS_PERSONALIZE_API HPOObjective(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API HPOObjective& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
52 inline HPOObjective& WithType(const Aws::String& value) { SetType(value); return *this;}
53 inline HPOObjective& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
54 inline HPOObjective& WithType(const char* value) { SetType(value); return *this;}
56
58
61 inline const Aws::String& GetMetricName() const{ return m_metricName; }
62 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
63 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
64 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
65 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
66 inline HPOObjective& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
67 inline HPOObjective& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
68 inline HPOObjective& WithMetricName(const char* value) { SetMetricName(value); return *this;}
70
72
75 inline const Aws::String& GetMetricRegex() const{ return m_metricRegex; }
76 inline bool MetricRegexHasBeenSet() const { return m_metricRegexHasBeenSet; }
77 inline void SetMetricRegex(const Aws::String& value) { m_metricRegexHasBeenSet = true; m_metricRegex = value; }
78 inline void SetMetricRegex(Aws::String&& value) { m_metricRegexHasBeenSet = true; m_metricRegex = std::move(value); }
79 inline void SetMetricRegex(const char* value) { m_metricRegexHasBeenSet = true; m_metricRegex.assign(value); }
80 inline HPOObjective& WithMetricRegex(const Aws::String& value) { SetMetricRegex(value); return *this;}
81 inline HPOObjective& WithMetricRegex(Aws::String&& value) { SetMetricRegex(std::move(value)); return *this;}
82 inline HPOObjective& WithMetricRegex(const char* value) { SetMetricRegex(value); return *this;}
84 private:
85
86 Aws::String m_type;
87 bool m_typeHasBeenSet = false;
88
89 Aws::String m_metricName;
90 bool m_metricNameHasBeenSet = false;
91
92 Aws::String m_metricRegex;
93 bool m_metricRegexHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Personalize
98} // namespace Aws
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)
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)
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