AWS SDK for C++  1.9.108
AWS SDK for C++
AutoMLConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetMetricName() const{ return m_metricName; }
48 
52  inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
53 
57  inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
58 
62  inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
63 
67  inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
68 
72  inline AutoMLConfig& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
73 
77  inline AutoMLConfig& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
78 
82  inline AutoMLConfig& WithMetricName(const char* value) { SetMetricName(value); return *this;}
83 
84 
88  inline const Aws::Vector<Aws::String>& GetRecipeList() const{ return m_recipeList; }
89 
93  inline bool RecipeListHasBeenSet() const { return m_recipeListHasBeenSet; }
94 
98  inline void SetRecipeList(const Aws::Vector<Aws::String>& value) { m_recipeListHasBeenSet = true; m_recipeList = value; }
99 
103  inline void SetRecipeList(Aws::Vector<Aws::String>&& value) { m_recipeListHasBeenSet = true; m_recipeList = std::move(value); }
104 
108  inline AutoMLConfig& WithRecipeList(const Aws::Vector<Aws::String>& value) { SetRecipeList(value); return *this;}
109 
113  inline AutoMLConfig& WithRecipeList(Aws::Vector<Aws::String>&& value) { SetRecipeList(std::move(value)); return *this;}
114 
118  inline AutoMLConfig& AddRecipeList(const Aws::String& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; }
119 
123  inline AutoMLConfig& AddRecipeList(Aws::String&& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(std::move(value)); return *this; }
124 
128  inline AutoMLConfig& AddRecipeList(const char* value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; }
129 
130  private:
131 
132  Aws::String m_metricName;
133  bool m_metricNameHasBeenSet;
134 
135  Aws::Vector<Aws::String> m_recipeList;
136  bool m_recipeListHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace Personalize
141 } // namespace Aws
Aws::Personalize::Model::AutoMLConfig::operator=
AutoMLConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::AutoMLConfig
Definition: AutoMLConfig.h:36
Aws::Personalize::Model::AutoMLConfig::AddRecipeList
AutoMLConfig & AddRecipeList(const Aws::String &value)
Definition: AutoMLConfig.h:118
Aws::Personalize::Model::AutoMLConfig::WithMetricName
AutoMLConfig & WithMetricName(const char *value)
Definition: AutoMLConfig.h:82
Aws::Personalize::Model::AutoMLConfig::AutoMLConfig
AutoMLConfig()
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Personalize::Model::AutoMLConfig::WithRecipeList
AutoMLConfig & WithRecipeList(Aws::Vector< Aws::String > &&value)
Definition: AutoMLConfig.h:113
AWSVector.h
Aws::Personalize::Model::AutoMLConfig::WithMetricName
AutoMLConfig & WithMetricName(const Aws::String &value)
Definition: AutoMLConfig.h:72
Aws::Personalize::Model::AutoMLConfig::GetRecipeList
const Aws::Vector< Aws::String > & GetRecipeList() const
Definition: AutoMLConfig.h:88
Aws::Personalize::Model::AutoMLConfig::GetMetricName
const Aws::String & GetMetricName() const
Definition: AutoMLConfig.h:47
Aws::Personalize::Model::AutoMLConfig::MetricNameHasBeenSet
bool MetricNameHasBeenSet() const
Definition: AutoMLConfig.h:52
Aws::Personalize::Model::AutoMLConfig::SetMetricName
void SetMetricName(const char *value)
Definition: AutoMLConfig.h:67
Aws::Personalize::Model::AutoMLConfig::WithMetricName
AutoMLConfig & WithMetricName(Aws::String &&value)
Definition: AutoMLConfig.h:77
Aws::Personalize::Model::AutoMLConfig::SetMetricName
void SetMetricName(const Aws::String &value)
Definition: AutoMLConfig.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::AutoMLConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::AutoMLConfig::WithRecipeList
AutoMLConfig & WithRecipeList(const Aws::Vector< Aws::String > &value)
Definition: AutoMLConfig.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::AutoMLConfig::AddRecipeList
AutoMLConfig & AddRecipeList(Aws::String &&value)
Definition: AutoMLConfig.h:123
Aws::Personalize::Model::AutoMLConfig::SetRecipeList
void SetRecipeList(Aws::Vector< Aws::String > &&value)
Definition: AutoMLConfig.h:103
Aws::Personalize::Model::AutoMLConfig::SetMetricName
void SetMetricName(Aws::String &&value)
Definition: AutoMLConfig.h:62
Aws::Personalize::Model::AutoMLConfig::RecipeListHasBeenSet
bool RecipeListHasBeenSet() const
Definition: AutoMLConfig.h:93
Aws::Personalize::Model::AutoMLConfig::AutoMLConfig
AutoMLConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::AutoMLConfig::SetRecipeList
void SetRecipeList(const Aws::Vector< Aws::String > &value)
Definition: AutoMLConfig.h:98
Personalize_EXPORTS.h
Aws::Personalize::Model::AutoMLConfig::AddRecipeList
AutoMLConfig & AddRecipeList(const char *value)
Definition: AutoMLConfig.h:128