AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 Recipe& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
61 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
62 template<typename RecipeArnT = Aws::String>
63 void SetRecipeArn(RecipeArnT&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::forward<RecipeArnT>(value); }
64 template<typename RecipeArnT = Aws::String>
65 Recipe& WithRecipeArn(RecipeArnT&& value) { SetRecipeArn(std::forward<RecipeArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
74 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
75 template<typename AlgorithmArnT = Aws::String>
76 void SetAlgorithmArn(AlgorithmArnT&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::forward<AlgorithmArnT>(value); }
77 template<typename AlgorithmArnT = Aws::String>
78 Recipe& WithAlgorithmArn(AlgorithmArnT&& value) { SetAlgorithmArn(std::forward<AlgorithmArnT>(value)); return *this;}
80
82
85 inline const Aws::String& GetFeatureTransformationArn() const { return m_featureTransformationArn; }
86 inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; }
87 template<typename FeatureTransformationArnT = Aws::String>
88 void SetFeatureTransformationArn(FeatureTransformationArnT&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::forward<FeatureTransformationArnT>(value); }
89 template<typename FeatureTransformationArnT = Aws::String>
90 Recipe& WithFeatureTransformationArn(FeatureTransformationArnT&& value) { SetFeatureTransformationArn(std::forward<FeatureTransformationArnT>(value)); return *this;}
92
94
97 inline const Aws::String& GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 template<typename StatusT = Aws::String>
100 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
101 template<typename StatusT = Aws::String>
102 Recipe& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template<typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
113 template<typename DescriptionT = Aws::String>
114 Recipe& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
122 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
123 template<typename CreationDateTimeT = Aws::Utils::DateTime>
124 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
125 template<typename CreationDateTimeT = Aws::Utils::DateTime>
126 Recipe& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
128
130
134 inline const Aws::String& GetRecipeType() const { return m_recipeType; }
135 inline bool RecipeTypeHasBeenSet() const { return m_recipeTypeHasBeenSet; }
136 template<typename RecipeTypeT = Aws::String>
137 void SetRecipeType(RecipeTypeT&& value) { m_recipeTypeHasBeenSet = true; m_recipeType = std::forward<RecipeTypeT>(value); }
138 template<typename RecipeTypeT = Aws::String>
139 Recipe& WithRecipeType(RecipeTypeT&& value) { SetRecipeType(std::forward<RecipeTypeT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
147 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
148 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
149 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
150 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
151 Recipe& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
153 private:
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_recipeArn;
159 bool m_recipeArnHasBeenSet = false;
160
161 Aws::String m_algorithmArn;
162 bool m_algorithmArnHasBeenSet = false;
163
164 Aws::String m_featureTransformationArn;
165 bool m_featureTransformationArnHasBeenSet = false;
166
167 Aws::String m_status;
168 bool m_statusHasBeenSet = false;
169
170 Aws::String m_description;
171 bool m_descriptionHasBeenSet = false;
172
173 Aws::Utils::DateTime m_creationDateTime{};
174 bool m_creationDateTimeHasBeenSet = false;
175
176 Aws::String m_recipeType;
177 bool m_recipeTypeHasBeenSet = false;
178
179 Aws::Utils::DateTime m_lastUpdatedDateTime{};
180 bool m_lastUpdatedDateTimeHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Personalize
185} // namespace Aws
AWS_PERSONALIZE_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Recipe.h:48
const Aws::String & GetAlgorithmArn() const
Definition Recipe.h:73
bool FeatureTransformationArnHasBeenSet() const
Definition Recipe.h:86
void SetCreationDateTime(CreationDateTimeT &&value)
Definition Recipe.h:124
Recipe & WithDescription(DescriptionT &&value)
Definition Recipe.h:114
Recipe & WithAlgorithmArn(AlgorithmArnT &&value)
Definition Recipe.h:78
void SetDescription(DescriptionT &&value)
Definition Recipe.h:112
bool RecipeArnHasBeenSet() const
Definition Recipe.h:61
bool LastUpdatedDateTimeHasBeenSet() const
Definition Recipe.h:147
bool CreationDateTimeHasBeenSet() const
Definition Recipe.h:122
const Aws::String & GetDescription() const
Definition Recipe.h:109
const Aws::String & GetRecipeType() const
Definition Recipe.h:134
void SetAlgorithmArn(AlgorithmArnT &&value)
Definition Recipe.h:76
AWS_PERSONALIZE_API Recipe()=default
void SetStatus(StatusT &&value)
Definition Recipe.h:100
Recipe & WithRecipeType(RecipeTypeT &&value)
Definition Recipe.h:139
void SetRecipeArn(RecipeArnT &&value)
Definition Recipe.h:63
Recipe & WithFeatureTransformationArn(FeatureTransformationArnT &&value)
Definition Recipe.h:90
void SetFeatureTransformationArn(FeatureTransformationArnT &&value)
Definition Recipe.h:88
const Aws::String & GetStatus() const
Definition Recipe.h:97
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Recipe.h:146
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecipeType(RecipeTypeT &&value)
Definition Recipe.h:137
const Aws::String & GetFeatureTransformationArn() const
Definition Recipe.h:85
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Recipe.h:121
AWS_PERSONALIZE_API Recipe(Aws::Utils::Json::JsonView jsonValue)
Recipe & WithStatus(StatusT &&value)
Definition Recipe.h:102
void SetName(NameT &&value)
Definition Recipe.h:51
Recipe & WithCreationDateTime(CreationDateTimeT &&value)
Definition Recipe.h:126
bool RecipeTypeHasBeenSet() const
Definition Recipe.h:135
Recipe & WithRecipeArn(RecipeArnT &&value)
Definition Recipe.h:65
bool DescriptionHasBeenSet() const
Definition Recipe.h:110
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Recipe.h:149
const Aws::String & GetRecipeArn() const
Definition Recipe.h:60
bool StatusHasBeenSet() const
Definition Recipe.h:98
Recipe & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Recipe.h:151
bool AlgorithmArnHasBeenSet() const
Definition Recipe.h:74
Recipe & WithName(NameT &&value)
Definition Recipe.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue