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/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/databrew/model/RecipeStep.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace GlueDataBrew
26{
27namespace Model
28{
29
36 class Recipe
37 {
38 public:
39 AWS_GLUEDATABREW_API Recipe();
40 AWS_GLUEDATABREW_API Recipe(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Recipe& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
50 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
51 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
52 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
53 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
54 inline Recipe& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
55 inline Recipe& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
56 inline Recipe& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
64 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
65 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
66 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
67 inline Recipe& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
68 inline Recipe& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
76 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
77 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
78 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
79 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
80 inline Recipe& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
81 inline Recipe& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
82 inline Recipe& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
90 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
91 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
92 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
93 inline Recipe& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
94 inline Recipe& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetProjectName() const{ return m_projectName; }
102 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
103 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
104 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
105 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
106 inline Recipe& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
107 inline Recipe& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
108 inline Recipe& WithProjectName(const char* value) { SetProjectName(value); return *this;}
110
112
115 inline const Aws::String& GetPublishedBy() const{ return m_publishedBy; }
116 inline bool PublishedByHasBeenSet() const { return m_publishedByHasBeenSet; }
117 inline void SetPublishedBy(const Aws::String& value) { m_publishedByHasBeenSet = true; m_publishedBy = value; }
118 inline void SetPublishedBy(Aws::String&& value) { m_publishedByHasBeenSet = true; m_publishedBy = std::move(value); }
119 inline void SetPublishedBy(const char* value) { m_publishedByHasBeenSet = true; m_publishedBy.assign(value); }
120 inline Recipe& WithPublishedBy(const Aws::String& value) { SetPublishedBy(value); return *this;}
121 inline Recipe& WithPublishedBy(Aws::String&& value) { SetPublishedBy(std::move(value)); return *this;}
122 inline Recipe& WithPublishedBy(const char* value) { SetPublishedBy(value); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetPublishedDate() const{ return m_publishedDate; }
130 inline bool PublishedDateHasBeenSet() const { return m_publishedDateHasBeenSet; }
131 inline void SetPublishedDate(const Aws::Utils::DateTime& value) { m_publishedDateHasBeenSet = true; m_publishedDate = value; }
132 inline void SetPublishedDate(Aws::Utils::DateTime&& value) { m_publishedDateHasBeenSet = true; m_publishedDate = std::move(value); }
133 inline Recipe& WithPublishedDate(const Aws::Utils::DateTime& value) { SetPublishedDate(value); return *this;}
134 inline Recipe& WithPublishedDate(Aws::Utils::DateTime&& value) { SetPublishedDate(std::move(value)); return *this;}
136
138
141 inline const Aws::String& GetDescription() const{ return m_description; }
142 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
146 inline Recipe& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
147 inline Recipe& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
148 inline Recipe& WithDescription(const char* value) { SetDescription(value); return *this;}
150
152
155 inline const Aws::String& GetName() const{ return m_name; }
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
158 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
159 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
160 inline Recipe& WithName(const Aws::String& value) { SetName(value); return *this;}
161 inline Recipe& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
162 inline Recipe& WithName(const char* value) { SetName(value); return *this;}
164
166
169 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
170 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
171 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
172 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
173 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
174 inline Recipe& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
175 inline Recipe& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
176 inline Recipe& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
178
180
183 inline const Aws::Vector<RecipeStep>& GetSteps() const{ return m_steps; }
184 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
185 inline void SetSteps(const Aws::Vector<RecipeStep>& value) { m_stepsHasBeenSet = true; m_steps = value; }
186 inline void SetSteps(Aws::Vector<RecipeStep>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
187 inline Recipe& WithSteps(const Aws::Vector<RecipeStep>& value) { SetSteps(value); return *this;}
188 inline Recipe& WithSteps(Aws::Vector<RecipeStep>&& value) { SetSteps(std::move(value)); return *this;}
189 inline Recipe& AddSteps(const RecipeStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
190 inline Recipe& AddSteps(RecipeStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
192
194
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
198 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
199 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
200 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
201 inline Recipe& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
202 inline Recipe& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
203 inline Recipe& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
204 inline Recipe& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 inline Recipe& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
206 inline Recipe& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline Recipe& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
208 inline Recipe& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209 inline Recipe& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
211
213
223 inline const Aws::String& GetRecipeVersion() const{ return m_recipeVersion; }
224 inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; }
225 inline void SetRecipeVersion(const Aws::String& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = value; }
226 inline void SetRecipeVersion(Aws::String&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::move(value); }
227 inline void SetRecipeVersion(const char* value) { m_recipeVersionHasBeenSet = true; m_recipeVersion.assign(value); }
228 inline Recipe& WithRecipeVersion(const Aws::String& value) { SetRecipeVersion(value); return *this;}
229 inline Recipe& WithRecipeVersion(Aws::String&& value) { SetRecipeVersion(std::move(value)); return *this;}
230 inline Recipe& WithRecipeVersion(const char* value) { SetRecipeVersion(value); return *this;}
232 private:
233
234 Aws::String m_createdBy;
235 bool m_createdByHasBeenSet = false;
236
237 Aws::Utils::DateTime m_createDate;
238 bool m_createDateHasBeenSet = false;
239
240 Aws::String m_lastModifiedBy;
241 bool m_lastModifiedByHasBeenSet = false;
242
243 Aws::Utils::DateTime m_lastModifiedDate;
244 bool m_lastModifiedDateHasBeenSet = false;
245
246 Aws::String m_projectName;
247 bool m_projectNameHasBeenSet = false;
248
249 Aws::String m_publishedBy;
250 bool m_publishedByHasBeenSet = false;
251
252 Aws::Utils::DateTime m_publishedDate;
253 bool m_publishedDateHasBeenSet = false;
254
255 Aws::String m_description;
256 bool m_descriptionHasBeenSet = false;
257
258 Aws::String m_name;
259 bool m_nameHasBeenSet = false;
260
261 Aws::String m_resourceArn;
262 bool m_resourceArnHasBeenSet = false;
263
265 bool m_stepsHasBeenSet = false;
266
268 bool m_tagsHasBeenSet = false;
269
270 Aws::String m_recipeVersion;
271 bool m_recipeVersionHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace GlueDataBrew
276} // namespace Aws
Recipe & AddTags(Aws::String &&key, Aws::String &&value)
Definition Recipe.h:206
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Recipe.h:197
AWS_GLUEDATABREW_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:92
void SetLastModifiedBy(Aws::String &&value)
Definition Recipe.h:78
Recipe & AddTags(const Aws::String &key, Aws::String &&value)
Definition Recipe.h:205
Recipe & AddTags(const Aws::String &key, const Aws::String &value)
Definition Recipe.h:203
void SetCreatedBy(const Aws::String &value)
Definition Recipe.h:51
bool LastModifiedByHasBeenSet() const
Definition Recipe.h:76
void SetProjectName(const Aws::String &value)
Definition Recipe.h:103
const Aws::Vector< RecipeStep > & GetSteps() const
Definition Recipe.h:183
Recipe & AddTags(const char *key, const char *value)
Definition Recipe.h:209
Recipe & WithDescription(Aws::String &&value)
Definition Recipe.h:147
void SetPublishedBy(const char *value)
Definition Recipe.h:119
void SetPublishedBy(Aws::String &&value)
Definition Recipe.h:118
Recipe & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:93
const Aws::String & GetLastModifiedBy() const
Definition Recipe.h:75
void SetPublishedDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:132
void SetRecipeVersion(const char *value)
Definition Recipe.h:227
Recipe & WithCreatedBy(Aws::String &&value)
Definition Recipe.h:55
void SetSteps(Aws::Vector< RecipeStep > &&value)
Definition Recipe.h:186
bool PublishedByHasBeenSet() const
Definition Recipe.h:116
void SetRecipeVersion(Aws::String &&value)
Definition Recipe.h:226
const Aws::String & GetCreatedBy() const
Definition Recipe.h:49
const Aws::String & GetName() const
Definition Recipe.h:155
Recipe & WithRecipeVersion(const char *value)
Definition Recipe.h:230
Recipe & AddTags(Aws::String &&key, const char *value)
Definition Recipe.h:208
Recipe & WithLastModifiedBy(Aws::String &&value)
Definition Recipe.h:81
bool ResourceArnHasBeenSet() const
Definition Recipe.h:170
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
Recipe & WithLastModifiedBy(const Aws::String &value)
Definition Recipe.h:80
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:66
const Aws::Utils::DateTime & GetPublishedDate() const
Definition Recipe.h:129
const Aws::String & GetPublishedBy() const
Definition Recipe.h:115
bool PublishedDateHasBeenSet() const
Definition Recipe.h:130
void SetLastModifiedBy(const char *value)
Definition Recipe.h:79
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Recipe.h:200
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:91
Recipe & WithDescription(const char *value)
Definition Recipe.h:148
bool DescriptionHasBeenSet() const
Definition Recipe.h:142
bool CreatedByHasBeenSet() const
Definition Recipe.h:50
void SetPublishedBy(const Aws::String &value)
Definition Recipe.h:117
AWS_GLUEDATABREW_API Recipe()
bool RecipeVersionHasBeenSet() const
Definition Recipe.h:224
Recipe & WithCreatedBy(const char *value)
Definition Recipe.h:56
void SetProjectName(const char *value)
Definition Recipe.h:105
void SetLastModifiedBy(const Aws::String &value)
Definition Recipe.h:77
Recipe & WithPublishedBy(const char *value)
Definition Recipe.h:122
Recipe & WithDescription(const Aws::String &value)
Definition Recipe.h:146
void SetDescription(Aws::String &&value)
Definition Recipe.h:144
bool LastModifiedDateHasBeenSet() const
Definition Recipe.h:90
Recipe & WithResourceArn(const Aws::String &value)
Definition Recipe.h:174
Recipe & AddSteps(const RecipeStep &value)
Definition Recipe.h:189
void SetPublishedDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:131
Recipe & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:94
Recipe & WithProjectName(Aws::String &&value)
Definition Recipe.h:107
const Aws::String & GetDescription() const
Definition Recipe.h:141
Recipe & WithCreatedBy(const Aws::String &value)
Definition Recipe.h:54
void SetRecipeVersion(const Aws::String &value)
Definition Recipe.h:225
void SetCreatedBy(Aws::String &&value)
Definition Recipe.h:52
Recipe & WithSteps(Aws::Vector< RecipeStep > &&value)
Definition Recipe.h:188
void SetResourceArn(Aws::String &&value)
Definition Recipe.h:172
Recipe & WithCreateDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:68
Recipe & WithRecipeVersion(Aws::String &&value)
Definition Recipe.h:229
Recipe & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Recipe.h:201
Recipe & WithProjectName(const Aws::String &value)
Definition Recipe.h:106
Recipe & WithPublishedDate(Aws::Utils::DateTime &&value)
Definition Recipe.h:134
Recipe & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Recipe.h:202
void SetName(const Aws::String &value)
Definition Recipe.h:157
Recipe & WithPublishedBy(Aws::String &&value)
Definition Recipe.h:121
const Aws::String & GetProjectName() const
Definition Recipe.h:101
void SetResourceArn(const Aws::String &value)
Definition Recipe.h:171
Recipe & WithName(const char *value)
Definition Recipe.h:162
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Recipe.h:89
void SetName(Aws::String &&value)
Definition Recipe.h:158
Recipe & WithResourceArn(const char *value)
Definition Recipe.h:176
Recipe & AddSteps(RecipeStep &&value)
Definition Recipe.h:190
const Aws::String & GetResourceArn() const
Definition Recipe.h:169
AWS_GLUEDATABREW_API Recipe(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(const char *value)
Definition Recipe.h:173
void SetCreatedBy(const char *value)
Definition Recipe.h:53
Recipe & WithPublishedBy(const Aws::String &value)
Definition Recipe.h:120
bool CreateDateHasBeenSet() const
Definition Recipe.h:64
bool ProjectNameHasBeenSet() const
Definition Recipe.h:102
void SetDescription(const Aws::String &value)
Definition Recipe.h:143
Recipe & WithSteps(const Aws::Vector< RecipeStep > &value)
Definition Recipe.h:187
Recipe & AddTags(Aws::String &&key, const Aws::String &value)
Definition Recipe.h:204
Recipe & WithRecipeVersion(const Aws::String &value)
Definition Recipe.h:228
Recipe & AddTags(const char *key, Aws::String &&value)
Definition Recipe.h:207
void SetName(const char *value)
Definition Recipe.h:159
const Aws::Utils::DateTime & GetCreateDate() const
Definition Recipe.h:63
Recipe & WithLastModifiedBy(const char *value)
Definition Recipe.h:82
const Aws::String & GetRecipeVersion() const
Definition Recipe.h:223
Recipe & WithProjectName(const char *value)
Definition Recipe.h:108
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Recipe.h:199
Recipe & WithPublishedDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:133
void SetDescription(const char *value)
Definition Recipe.h:145
void SetSteps(const Aws::Vector< RecipeStep > &value)
Definition Recipe.h:185
Recipe & WithName(const Aws::String &value)
Definition Recipe.h:160
void SetProjectName(Aws::String &&value)
Definition Recipe.h:104
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:65
Recipe & WithName(Aws::String &&value)
Definition Recipe.h:161
Recipe & WithCreateDate(const Aws::Utils::DateTime &value)
Definition Recipe.h:67
Recipe & WithResourceArn(Aws::String &&value)
Definition Recipe.h:175
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue