AWS SDK for C++  1.9.102
AWS SDK for C++
Recipe.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 
35  {
36  public:
37  Recipe();
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline Recipe& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline Recipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline Recipe& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
88 
92  inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
93 
97  inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
98 
102  inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
103 
107  inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
108 
112  inline Recipe& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
113 
117  inline Recipe& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
118 
122  inline Recipe& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
123 
124 
129  inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; }
130 
135  inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
136 
141  inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; }
142 
147  inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); }
148 
153  inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); }
154 
159  inline Recipe& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;}
160 
165  inline Recipe& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;}
166 
171  inline Recipe& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;}
172 
173 
177  inline const Aws::String& GetFeatureTransformationArn() const{ return m_featureTransformationArn; }
178 
182  inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; }
183 
187  inline void SetFeatureTransformationArn(const Aws::String& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = value; }
188 
192  inline void SetFeatureTransformationArn(Aws::String&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::move(value); }
193 
197  inline void SetFeatureTransformationArn(const char* value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn.assign(value); }
198 
202  inline Recipe& WithFeatureTransformationArn(const Aws::String& value) { SetFeatureTransformationArn(value); return *this;}
203 
207  inline Recipe& WithFeatureTransformationArn(Aws::String&& value) { SetFeatureTransformationArn(std::move(value)); return *this;}
208 
212  inline Recipe& WithFeatureTransformationArn(const char* value) { SetFeatureTransformationArn(value); return *this;}
213 
214 
218  inline const Aws::String& GetStatus() const{ return m_status; }
219 
223  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
224 
228  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
229 
233  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
234 
238  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
239 
243  inline Recipe& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
244 
248  inline Recipe& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
249 
253  inline Recipe& WithStatus(const char* value) { SetStatus(value); return *this;}
254 
255 
259  inline const Aws::String& GetDescription() const{ return m_description; }
260 
264  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
265 
269  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
270 
274  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
275 
279  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
280 
284  inline Recipe& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
285 
289  inline Recipe& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
290 
294  inline Recipe& WithDescription(const char* value) { SetDescription(value); return *this;}
295 
296 
300  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
301 
305  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
306 
310  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
311 
315  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
316 
320  inline Recipe& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
321 
325  inline Recipe& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
326 
327 
332  inline const Aws::String& GetRecipeType() const{ return m_recipeType; }
333 
338  inline bool RecipeTypeHasBeenSet() const { return m_recipeTypeHasBeenSet; }
339 
344  inline void SetRecipeType(const Aws::String& value) { m_recipeTypeHasBeenSet = true; m_recipeType = value; }
345 
350  inline void SetRecipeType(Aws::String&& value) { m_recipeTypeHasBeenSet = true; m_recipeType = std::move(value); }
351 
356  inline void SetRecipeType(const char* value) { m_recipeTypeHasBeenSet = true; m_recipeType.assign(value); }
357 
362  inline Recipe& WithRecipeType(const Aws::String& value) { SetRecipeType(value); return *this;}
363 
368  inline Recipe& WithRecipeType(Aws::String&& value) { SetRecipeType(std::move(value)); return *this;}
369 
374  inline Recipe& WithRecipeType(const char* value) { SetRecipeType(value); return *this;}
375 
376 
380  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
381 
385  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
386 
390  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
391 
395  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
396 
400  inline Recipe& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
401 
405  inline Recipe& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
406 
407  private:
408 
409  Aws::String m_name;
410  bool m_nameHasBeenSet;
411 
412  Aws::String m_recipeArn;
413  bool m_recipeArnHasBeenSet;
414 
415  Aws::String m_algorithmArn;
416  bool m_algorithmArnHasBeenSet;
417 
418  Aws::String m_featureTransformationArn;
419  bool m_featureTransformationArnHasBeenSet;
420 
421  Aws::String m_status;
422  bool m_statusHasBeenSet;
423 
424  Aws::String m_description;
425  bool m_descriptionHasBeenSet;
426 
427  Aws::Utils::DateTime m_creationDateTime;
428  bool m_creationDateTimeHasBeenSet;
429 
430  Aws::String m_recipeType;
431  bool m_recipeTypeHasBeenSet;
432 
433  Aws::Utils::DateTime m_lastUpdatedDateTime;
434  bool m_lastUpdatedDateTimeHasBeenSet;
435  };
436 
437 } // namespace Model
438 } // namespace Personalize
439 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::Recipe::SetName
void SetName(const Aws::String &value)
Definition: Recipe.h:56
Aws::Personalize::Model::Recipe::SetAlgorithmArn
void SetAlgorithmArn(Aws::String &&value)
Definition: Recipe.h:147
Aws::Personalize::Model::Recipe::operator=
Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Recipe::GetAlgorithmArn
const Aws::String & GetAlgorithmArn() const
Definition: Recipe.h:129
Aws::Personalize::Model::Recipe::WithDescription
Recipe & WithDescription(const Aws::String &value)
Definition: Recipe.h:284
Aws::Personalize::Model::Recipe::WithCreationDateTime
Recipe & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Recipe.h:320
Aws::Personalize::Model::Recipe::SetRecipeArn
void SetRecipeArn(const Aws::String &value)
Definition: Recipe.h:97
Aws::Personalize::Model::Recipe::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: Recipe.h:305
Aws::Personalize::Model::Recipe::WithLastUpdatedDateTime
Recipe & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Recipe.h:405
Aws::Personalize::Model::Recipe::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Recipe.h:390
Aws::Personalize::Model::Recipe::WithLastUpdatedDateTime
Recipe & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Recipe.h:400
Aws::Personalize::Model::Recipe::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::Recipe::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Recipe.h:395
Aws::Personalize::Model::Recipe::RecipeTypeHasBeenSet
bool RecipeTypeHasBeenSet() const
Definition: Recipe.h:338
Aws::Personalize::Model::Recipe::SetStatus
void SetStatus(const char *value)
Definition: Recipe.h:238
Aws::Personalize::Model::Recipe::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Recipe.h:51
Aws::Personalize::Model::Recipe::SetFeatureTransformationArn
void SetFeatureTransformationArn(Aws::String &&value)
Definition: Recipe.h:192
DateTime.h
Aws::Personalize::Model::Recipe::WithName
Recipe & WithName(const char *value)
Definition: Recipe.h:81
Aws::Personalize::Model::Recipe::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Recipe.h:223
Aws::Personalize::Model::Recipe::GetRecipeType
const Aws::String & GetRecipeType() const
Definition: Recipe.h:332
Aws::Personalize::Model::Recipe::WithCreationDateTime
Recipe & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Recipe.h:325
Aws::Personalize::Model::Recipe::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: Recipe.h:385
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::Recipe::WithAlgorithmArn
Recipe & WithAlgorithmArn(const char *value)
Definition: Recipe.h:171
Aws::Personalize::Model::Recipe::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: Recipe.h:300
Aws::Personalize::Model::Recipe::WithRecipeArn
Recipe & WithRecipeArn(const char *value)
Definition: Recipe.h:122
Aws::Personalize::Model::Recipe::WithRecipeArn
Recipe & WithRecipeArn(const Aws::String &value)
Definition: Recipe.h:112
Aws::Personalize::Model::Recipe::SetRecipeArn
void SetRecipeArn(Aws::String &&value)
Definition: Recipe.h:102
Aws::Personalize::Model::Recipe::SetRecipeArn
void SetRecipeArn(const char *value)
Definition: Recipe.h:107
Aws::Personalize::Model::Recipe::SetDescription
void SetDescription(const char *value)
Definition: Recipe.h:279
Aws::Personalize::Model::Recipe::FeatureTransformationArnHasBeenSet
bool FeatureTransformationArnHasBeenSet() const
Definition: Recipe.h:182
Aws::Personalize::Model::Recipe::WithAlgorithmArn
Recipe & WithAlgorithmArn(Aws::String &&value)
Definition: Recipe.h:165
Aws::Personalize::Model::Recipe::WithStatus
Recipe & WithStatus(Aws::String &&value)
Definition: Recipe.h:248
Aws::Personalize::Model::Recipe::WithName
Recipe & WithName(Aws::String &&value)
Definition: Recipe.h:76
Aws::Personalize::Model::Recipe::AlgorithmArnHasBeenSet
bool AlgorithmArnHasBeenSet() const
Definition: Recipe.h:135
Aws::Personalize::Model::Recipe::GetRecipeArn
const Aws::String & GetRecipeArn() const
Definition: Recipe.h:87
Aws::Personalize::Model::Recipe::SetAlgorithmArn
void SetAlgorithmArn(const Aws::String &value)
Definition: Recipe.h:141
Aws::Personalize::Model::Recipe::WithName
Recipe & WithName(const Aws::String &value)
Definition: Recipe.h:71
Aws::Personalize::Model::Recipe::SetName
void SetName(Aws::String &&value)
Definition: Recipe.h:61
Aws::Personalize::Model::Recipe::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: Recipe.h:380
Aws::Personalize::Model::Recipe::WithDescription
Recipe & WithDescription(Aws::String &&value)
Definition: Recipe.h:289
Aws::Personalize::Model::Recipe::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Recipe.h:264
Aws::Personalize::Model::Recipe::SetFeatureTransformationArn
void SetFeatureTransformationArn(const Aws::String &value)
Definition: Recipe.h:187
Aws::Personalize::Model::Recipe::SetDescription
void SetDescription(const Aws::String &value)
Definition: Recipe.h:269
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::Recipe::WithStatus
Recipe & WithStatus(const Aws::String &value)
Definition: Recipe.h:243
Aws::Personalize::Model::Recipe::WithAlgorithmArn
Recipe & WithAlgorithmArn(const Aws::String &value)
Definition: Recipe.h:159
AWSString.h
Aws::Personalize::Model::Recipe::RecipeArnHasBeenSet
bool RecipeArnHasBeenSet() const
Definition: Recipe.h:92
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::Recipe::Recipe
Recipe()
Aws::Personalize::Model::Recipe::SetRecipeType
void SetRecipeType(const char *value)
Definition: Recipe.h:356
Aws::Personalize::Model::Recipe::WithFeatureTransformationArn
Recipe & WithFeatureTransformationArn(const char *value)
Definition: Recipe.h:212
Aws::Personalize::Model::Recipe::SetRecipeType
void SetRecipeType(Aws::String &&value)
Definition: Recipe.h:350
Aws::Personalize::Model::Recipe::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Recipe.h:310
Aws::Personalize::Model::Recipe::SetName
void SetName(const char *value)
Definition: Recipe.h:66
Aws::Personalize::Model::Recipe::WithRecipeArn
Recipe & WithRecipeArn(Aws::String &&value)
Definition: Recipe.h:117
Aws::Personalize::Model::Recipe::Recipe
Recipe(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Recipe::SetStatus
void SetStatus(const Aws::String &value)
Definition: Recipe.h:228
Aws::Personalize::Model::Recipe::SetRecipeType
void SetRecipeType(const Aws::String &value)
Definition: Recipe.h:344
Aws::Personalize::Model::Recipe::WithRecipeType
Recipe & WithRecipeType(const Aws::String &value)
Definition: Recipe.h:362
Aws::Personalize::Model::Recipe::WithFeatureTransformationArn
Recipe & WithFeatureTransformationArn(Aws::String &&value)
Definition: Recipe.h:207
Aws::Personalize::Model::Recipe::GetStatus
const Aws::String & GetStatus() const
Definition: Recipe.h:218
Aws::Personalize::Model::Recipe::SetFeatureTransformationArn
void SetFeatureTransformationArn(const char *value)
Definition: Recipe.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Recipe::WithDescription
Recipe & WithDescription(const char *value)
Definition: Recipe.h:294
Aws::Personalize::Model::Recipe::GetDescription
const Aws::String & GetDescription() const
Definition: Recipe.h:259
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::Recipe::SetStatus
void SetStatus(Aws::String &&value)
Definition: Recipe.h:233
Aws::Personalize::Model::Recipe
Definition: Recipe.h:35
Aws::Personalize::Model::Recipe::GetFeatureTransformationArn
const Aws::String & GetFeatureTransformationArn() const
Definition: Recipe.h:177
Aws::Personalize::Model::Recipe::SetAlgorithmArn
void SetAlgorithmArn(const char *value)
Definition: Recipe.h:153
Aws::Personalize::Model::Recipe::GetName
const Aws::String & GetName() const
Definition: Recipe.h:46
Aws::Personalize::Model::Recipe::WithStatus
Recipe & WithStatus(const char *value)
Definition: Recipe.h:253
Personalize_EXPORTS.h
Aws::Personalize::Model::Recipe::SetDescription
void SetDescription(Aws::String &&value)
Definition: Recipe.h:274
Aws::Personalize::Model::Recipe::WithRecipeType
Recipe & WithRecipeType(const char *value)
Definition: Recipe.h:374
Aws::Personalize::Model::Recipe::WithRecipeType
Recipe & WithRecipeType(Aws::String &&value)
Definition: Recipe.h:368
Aws::Personalize::Model::Recipe::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Recipe.h:315
Aws::Personalize::Model::Recipe::WithFeatureTransformationArn
Recipe & WithFeatureTransformationArn(const Aws::String &value)
Definition: Recipe.h:202