AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
52 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
53 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
54 inline AutoMLConfig& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
55 inline AutoMLConfig& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
56 inline AutoMLConfig& WithMetricName(const char* value) { SetMetricName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetRecipeList() const{ return m_recipeList; }
64 inline bool RecipeListHasBeenSet() const { return m_recipeListHasBeenSet; }
65 inline void SetRecipeList(const Aws::Vector<Aws::String>& value) { m_recipeListHasBeenSet = true; m_recipeList = value; }
66 inline void SetRecipeList(Aws::Vector<Aws::String>&& value) { m_recipeListHasBeenSet = true; m_recipeList = std::move(value); }
67 inline AutoMLConfig& WithRecipeList(const Aws::Vector<Aws::String>& value) { SetRecipeList(value); return *this;}
68 inline AutoMLConfig& WithRecipeList(Aws::Vector<Aws::String>&& value) { SetRecipeList(std::move(value)); return *this;}
69 inline AutoMLConfig& AddRecipeList(const Aws::String& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; }
70 inline AutoMLConfig& AddRecipeList(Aws::String&& value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(std::move(value)); return *this; }
71 inline AutoMLConfig& AddRecipeList(const char* value) { m_recipeListHasBeenSet = true; m_recipeList.push_back(value); return *this; }
73 private:
74
75 Aws::String m_metricName;
76 bool m_metricNameHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_recipeList;
79 bool m_recipeListHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Personalize
84} // namespace Aws
void SetRecipeList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRecipeList() const
AWS_PERSONALIZE_API AutoMLConfig()
void SetRecipeList(const Aws::Vector< Aws::String > &value)
AutoMLConfig & AddRecipeList(Aws::String &&value)
void SetMetricName(const Aws::String &value)
AutoMLConfig & WithMetricName(const Aws::String &value)
AutoMLConfig & WithRecipeList(const Aws::Vector< Aws::String > &value)
void SetMetricName(Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API AutoMLConfig(Aws::Utils::Json::JsonView jsonValue)
AutoMLConfig & AddRecipeList(const char *value)
AutoMLConfig & WithRecipeList(Aws::Vector< Aws::String > &&value)
AutoMLConfig & WithMetricName(Aws::String &&value)
const Aws::String & GetMetricName() const
AutoMLConfig & WithMetricName(const char *value)
AWS_PERSONALIZE_API AutoMLConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLConfig & AddRecipeList(const Aws::String &value)
void SetMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue