AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recipe.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/DateTime.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
35 class Recipe
36 {
37 public:
38 AWS_PERSONALIZE_API Recipe();
39 AWS_PERSONALIZE_API Recipe(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Recipe& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline Recipe& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline Recipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline Recipe& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
63 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
64 inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
65 inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
66 inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
67 inline Recipe& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
68 inline Recipe& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
69 inline Recipe& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
71
73
77 inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; }
78 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
79 inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; }
80 inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); }
81 inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); }
82 inline Recipe& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;}
83 inline Recipe& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;}
84 inline Recipe& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;}
86
88
91 inline const Aws::String& GetFeatureTransformationArn() const{ return m_featureTransformationArn; }
92 inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; }
93 inline void SetFeatureTransformationArn(const Aws::String& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = value; }
94 inline void SetFeatureTransformationArn(Aws::String&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::move(value); }
95 inline void SetFeatureTransformationArn(const char* value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn.assign(value); }
96 inline Recipe& WithFeatureTransformationArn(const Aws::String& value) { SetFeatureTransformationArn(value); return *this;}
97 inline Recipe& WithFeatureTransformationArn(Aws::String&& value) { SetFeatureTransformationArn(std::move(value)); return *this;}
98 inline Recipe& WithFeatureTransformationArn(const char* value) { SetFeatureTransformationArn(value); return *this;}
100
102
105 inline const Aws::String& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
110 inline Recipe& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
111 inline Recipe& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
112 inline Recipe& WithStatus(const char* value) { SetStatus(value); return *this;}
114
116
119 inline const Aws::String& GetDescription() const{ return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
124 inline Recipe& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline Recipe& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline Recipe& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
134 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
135 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
136 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
137 inline Recipe& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
138 inline Recipe& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
140
142
146 inline const Aws::String& GetRecipeType() const{ return m_recipeType; }
147 inline bool RecipeTypeHasBeenSet() const { return m_recipeTypeHasBeenSet; }
148 inline void SetRecipeType(const Aws::String& value) { m_recipeTypeHasBeenSet = true; m_recipeType = value; }
149 inline void SetRecipeType(Aws::String&& value) { m_recipeTypeHasBeenSet = true; m_recipeType = std::move(value); }
150 inline void SetRecipeType(const char* value) { m_recipeTypeHasBeenSet = true; m_recipeType.assign(value); }
151 inline Recipe& WithRecipeType(const Aws::String& value) { SetRecipeType(value); return *this;}
152 inline Recipe& WithRecipeType(Aws::String&& value) { SetRecipeType(std::move(value)); return *this;}
153 inline Recipe& WithRecipeType(const char* value) { SetRecipeType(value); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
161 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
162 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
163 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
164 inline Recipe& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
165 inline Recipe& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
167 private:
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 Aws::String m_recipeArn;
173 bool m_recipeArnHasBeenSet = false;
174
175 Aws::String m_algorithmArn;
176 bool m_algorithmArnHasBeenSet = false;
177
178 Aws::String m_featureTransformationArn;
179 bool m_featureTransformationArnHasBeenSet = false;
180
181 Aws::String m_status;
182 bool m_statusHasBeenSet = false;
183
184 Aws::String m_description;
185 bool m_descriptionHasBeenSet = false;
186
187 Aws::Utils::DateTime m_creationDateTime;
188 bool m_creationDateTimeHasBeenSet = false;
189
190 Aws::String m_recipeType;
191 bool m_recipeTypeHasBeenSet = false;
192
193 Aws::Utils::DateTime m_lastUpdatedDateTime;
194 bool m_lastUpdatedDateTimeHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Personalize
199} // namespace Aws
void SetRecipeType(const Aws::String &value)
Definition Recipe.h:148
Recipe & WithDescription(const char *value)
Definition Recipe.h:126
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition Recipe.h:136
Recipe & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Recipe.h:165
Recipe & WithRecipeArn(const Aws::String &value)
Definition Recipe.h:67
AWS_PERSONALIZE_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Recipe.h:48
void SetRecipeType(Aws::String &&value)
Definition Recipe.h:149
void SetStatus(const char *value)
Definition Recipe.h:109
const Aws::String & GetAlgorithmArn() const
Definition Recipe.h:77
bool FeatureTransformationArnHasBeenSet() const
Definition Recipe.h:92
void SetDescription(Aws::String &&value)
Definition Recipe.h:122
Recipe & WithFeatureTransformationArn(const char *value)
Definition Recipe.h:98
Recipe & WithStatus(const char *value)
Definition Recipe.h:112
Recipe & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition Recipe.h:138
void SetFeatureTransformationArn(const char *value)
Definition Recipe.h:95
bool RecipeArnHasBeenSet() const
Definition Recipe.h:63
bool LastUpdatedDateTimeHasBeenSet() const
Definition Recipe.h:161
bool CreationDateTimeHasBeenSet() const
Definition Recipe.h:134
Recipe & WithName(const char *value)
Definition Recipe.h:55
const Aws::String & GetDescription() const
Definition Recipe.h:119
const Aws::String & GetRecipeType() const
Definition Recipe.h:146
Recipe & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition Recipe.h:137
Recipe & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Recipe.h:164
void SetAlgorithmArn(Aws::String &&value)
Definition Recipe.h:80
void SetName(const char *value)
Definition Recipe.h:52
void SetName(Aws::String &&value)
Definition Recipe.h:51
Recipe & WithRecipeArn(const char *value)
Definition Recipe.h:69
void SetStatus(Aws::String &&value)
Definition Recipe.h:108
void SetRecipeArn(const Aws::String &value)
Definition Recipe.h:64
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Recipe.h:163
Recipe & WithRecipeArn(Aws::String &&value)
Definition Recipe.h:68
void SetDescription(const Aws::String &value)
Definition Recipe.h:121
Recipe & WithRecipeType(Aws::String &&value)
Definition Recipe.h:152
const Aws::String & GetStatus() const
Definition Recipe.h:105
void SetStatus(const Aws::String &value)
Definition Recipe.h:107
void SetRecipeArn(const char *value)
Definition Recipe.h:66
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Recipe.h:160
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Recipe.h:162
const Aws::String & GetFeatureTransformationArn() const
Definition Recipe.h:91
Recipe & WithStatus(const Aws::String &value)
Definition Recipe.h:110
AWS_PERSONALIZE_API Recipe()
void SetRecipeArn(Aws::String &&value)
Definition Recipe.h:65
Recipe & WithName(const Aws::String &value)
Definition Recipe.h:53
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Recipe.h:133
AWS_PERSONALIZE_API Recipe(Aws::Utils::Json::JsonView jsonValue)
Recipe & WithStatus(Aws::String &&value)
Definition Recipe.h:111
Recipe & WithDescription(const Aws::String &value)
Definition Recipe.h:124
void SetFeatureTransformationArn(const Aws::String &value)
Definition Recipe.h:93
Recipe & WithRecipeType(const Aws::String &value)
Definition Recipe.h:151
void SetFeatureTransformationArn(Aws::String &&value)
Definition Recipe.h:94
void SetAlgorithmArn(const Aws::String &value)
Definition Recipe.h:79
bool RecipeTypeHasBeenSet() const
Definition Recipe.h:147
Recipe & WithDescription(Aws::String &&value)
Definition Recipe.h:125
bool DescriptionHasBeenSet() const
Definition Recipe.h:120
Recipe & WithAlgorithmArn(const Aws::String &value)
Definition Recipe.h:82
Recipe & WithFeatureTransformationArn(Aws::String &&value)
Definition Recipe.h:97
Recipe & WithRecipeType(const char *value)
Definition Recipe.h:153
const Aws::String & GetRecipeArn() const
Definition Recipe.h:62
void SetDescription(const char *value)
Definition Recipe.h:123
void SetName(const Aws::String &value)
Definition Recipe.h:50
Recipe & WithName(Aws::String &&value)
Definition Recipe.h:54
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition Recipe.h:135
Recipe & WithFeatureTransformationArn(const Aws::String &value)
Definition Recipe.h:96
void SetAlgorithmArn(const char *value)
Definition Recipe.h:81
bool AlgorithmArnHasBeenSet() const
Definition Recipe.h:78
Recipe & WithAlgorithmArn(const char *value)
Definition Recipe.h:84
void SetRecipeType(const char *value)
Definition Recipe.h:150
Recipe & WithAlgorithmArn(Aws::String &&value)
Definition Recipe.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue