AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AutoMLConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_PERSONALIZE_API AutoMLConfig() = default;
40 AWS_PERSONALIZE_API AutoMLConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API AutoMLConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMetricName() const { return m_metricName; }
50 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
51 template<typename MetricNameT = Aws::String>
52 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet = true; m_metricName = std::forward<MetricNameT>(value); }
53 template<typename MetricNameT = Aws::String>
54 AutoMLConfig& WithMetricName(MetricNameT&& value) { SetMetricName(std::forward<MetricNameT>(value)); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetRecipeList() const { return m_recipeList; }
62 inline bool RecipeListHasBeenSet() const { return m_recipeListHasBeenSet; }
63 template<typename RecipeListT = Aws::Vector<Aws::String>>
64 void SetRecipeList(RecipeListT&& value) { m_recipeListHasBeenSet = true; m_recipeList = std::forward<RecipeListT>(value); }
65 template<typename RecipeListT = Aws::Vector<Aws::String>>
66 AutoMLConfig& WithRecipeList(RecipeListT&& value) { SetRecipeList(std::forward<RecipeListT>(value)); return *this;}
67 template<typename RecipeListT = Aws::String>
68 AutoMLConfig& AddRecipeList(RecipeListT&& value) { m_recipeListHasBeenSet = true; m_recipeList.emplace_back(std::forward<RecipeListT>(value)); return *this; }
70 private:
71
72 Aws::String m_metricName;
73 bool m_metricNameHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_recipeList;
76 bool m_recipeListHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Personalize
81} // namespace Aws
void SetRecipeList(RecipeListT &&value)
const Aws::Vector< Aws::String > & GetRecipeList() const
AutoMLConfig & AddRecipeList(RecipeListT &&value)
void SetMetricName(MetricNameT &&value)
AutoMLConfig & WithRecipeList(RecipeListT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API AutoMLConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API AutoMLConfig()=default
AutoMLConfig & WithMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
AWS_PERSONALIZE_API AutoMLConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue