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/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() = default;
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 template<typename CreatedByT = Aws::String>
52 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
53 template<typename CreatedByT = Aws::String>
54 Recipe& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
62 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
63 template<typename CreateDateT = Aws::Utils::DateTime>
64 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
65 template<typename CreateDateT = Aws::Utils::DateTime>
66 Recipe& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
68
70
73 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
74 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
75 template<typename LastModifiedByT = Aws::String>
76 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
77 template<typename LastModifiedByT = Aws::String>
78 Recipe& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
86 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
87 template<typename LastModifiedDateT = Aws::Utils::DateTime>
88 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
89 template<typename LastModifiedDateT = Aws::Utils::DateTime>
90 Recipe& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
92
94
97 inline const Aws::String& GetProjectName() const { return m_projectName; }
98 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
99 template<typename ProjectNameT = Aws::String>
100 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
101 template<typename ProjectNameT = Aws::String>
102 Recipe& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
104
106
109 inline const Aws::String& GetPublishedBy() const { return m_publishedBy; }
110 inline bool PublishedByHasBeenSet() const { return m_publishedByHasBeenSet; }
111 template<typename PublishedByT = Aws::String>
112 void SetPublishedBy(PublishedByT&& value) { m_publishedByHasBeenSet = true; m_publishedBy = std::forward<PublishedByT>(value); }
113 template<typename PublishedByT = Aws::String>
114 Recipe& WithPublishedBy(PublishedByT&& value) { SetPublishedBy(std::forward<PublishedByT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetPublishedDate() const { return m_publishedDate; }
122 inline bool PublishedDateHasBeenSet() const { return m_publishedDateHasBeenSet; }
123 template<typename PublishedDateT = Aws::Utils::DateTime>
124 void SetPublishedDate(PublishedDateT&& value) { m_publishedDateHasBeenSet = true; m_publishedDate = std::forward<PublishedDateT>(value); }
125 template<typename PublishedDateT = Aws::Utils::DateTime>
126 Recipe& WithPublishedDate(PublishedDateT&& value) { SetPublishedDate(std::forward<PublishedDateT>(value)); return *this;}
128
130
133 inline const Aws::String& GetDescription() const { return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 template<typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
137 template<typename DescriptionT = Aws::String>
138 Recipe& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
140
142
145 inline const Aws::String& GetName() const { return m_name; }
146 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
147 template<typename NameT = Aws::String>
148 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
149 template<typename NameT = Aws::String>
150 Recipe& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
152
154
157 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
158 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
159 template<typename ResourceArnT = Aws::String>
160 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
161 template<typename ResourceArnT = Aws::String>
162 Recipe& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
164
166
169 inline const Aws::Vector<RecipeStep>& GetSteps() const { return m_steps; }
170 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
171 template<typename StepsT = Aws::Vector<RecipeStep>>
172 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
173 template<typename StepsT = Aws::Vector<RecipeStep>>
174 Recipe& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
175 template<typename StepsT = RecipeStep>
176 Recipe& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
178
180
183 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
184 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
185 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
187 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 Recipe& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
189 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
190 Recipe& AddTags(TagsKeyT&& key, TagsValueT&& value) {
191 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
192 }
194
196
206 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
207 inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; }
208 template<typename RecipeVersionT = Aws::String>
209 void SetRecipeVersion(RecipeVersionT&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::forward<RecipeVersionT>(value); }
210 template<typename RecipeVersionT = Aws::String>
211 Recipe& WithRecipeVersion(RecipeVersionT&& value) { SetRecipeVersion(std::forward<RecipeVersionT>(value)); return *this;}
213 private:
214
215 Aws::String m_createdBy;
216 bool m_createdByHasBeenSet = false;
217
218 Aws::Utils::DateTime m_createDate{};
219 bool m_createDateHasBeenSet = false;
220
221 Aws::String m_lastModifiedBy;
222 bool m_lastModifiedByHasBeenSet = false;
223
224 Aws::Utils::DateTime m_lastModifiedDate{};
225 bool m_lastModifiedDateHasBeenSet = false;
226
227 Aws::String m_projectName;
228 bool m_projectNameHasBeenSet = false;
229
230 Aws::String m_publishedBy;
231 bool m_publishedByHasBeenSet = false;
232
233 Aws::Utils::DateTime m_publishedDate{};
234 bool m_publishedDateHasBeenSet = false;
235
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 Aws::String m_name;
240 bool m_nameHasBeenSet = false;
241
242 Aws::String m_resourceArn;
243 bool m_resourceArnHasBeenSet = false;
244
246 bool m_stepsHasBeenSet = false;
247
249 bool m_tagsHasBeenSet = false;
250
251 Aws::String m_recipeVersion;
252 bool m_recipeVersionHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace GlueDataBrew
257} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Recipe.h:183
AWS_GLUEDATABREW_API Recipe & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedByHasBeenSet() const
Definition Recipe.h:74
const Aws::Vector< RecipeStep > & GetSteps() const
Definition Recipe.h:169
const Aws::String & GetLastModifiedBy() const
Definition Recipe.h:73
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition Recipe.h:88
Recipe & WithLastModifiedBy(LastModifiedByT &&value)
Definition Recipe.h:78
bool PublishedByHasBeenSet() const
Definition Recipe.h:110
void SetProjectName(ProjectNameT &&value)
Definition Recipe.h:100
const Aws::String & GetCreatedBy() const
Definition Recipe.h:49
const Aws::String & GetName() const
Definition Recipe.h:145
bool ResourceArnHasBeenSet() const
Definition Recipe.h:158
Recipe & WithDescription(DescriptionT &&value)
Definition Recipe.h:138
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetPublishedDate() const
Definition Recipe.h:121
const Aws::String & GetPublishedBy() const
Definition Recipe.h:109
bool PublishedDateHasBeenSet() const
Definition Recipe.h:122
void SetTags(TagsT &&value)
Definition Recipe.h:186
bool DescriptionHasBeenSet() const
Definition Recipe.h:134
bool CreatedByHasBeenSet() const
Definition Recipe.h:50
bool RecipeVersionHasBeenSet() const
Definition Recipe.h:207
Recipe & WithProjectName(ProjectNameT &&value)
Definition Recipe.h:102
Recipe & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Recipe.h:190
Recipe & WithCreateDate(CreateDateT &&value)
Definition Recipe.h:66
Recipe & WithPublishedBy(PublishedByT &&value)
Definition Recipe.h:114
void SetCreateDate(CreateDateT &&value)
Definition Recipe.h:64
bool LastModifiedDateHasBeenSet() const
Definition Recipe.h:86
void SetPublishedDate(PublishedDateT &&value)
Definition Recipe.h:124
Recipe & WithCreatedBy(CreatedByT &&value)
Definition Recipe.h:54
Recipe & WithLastModifiedDate(LastModifiedDateT &&value)
Definition Recipe.h:90
const Aws::String & GetDescription() const
Definition Recipe.h:133
Recipe & WithName(NameT &&value)
Definition Recipe.h:150
Recipe & WithTags(TagsT &&value)
Definition Recipe.h:188
void SetResourceArn(ResourceArnT &&value)
Definition Recipe.h:160
void SetSteps(StepsT &&value)
Definition Recipe.h:172
void SetCreatedBy(CreatedByT &&value)
Definition Recipe.h:52
const Aws::String & GetProjectName() const
Definition Recipe.h:97
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Recipe.h:85
AWS_GLUEDATABREW_API Recipe()=default
Recipe & WithResourceArn(ResourceArnT &&value)
Definition Recipe.h:162
const Aws::String & GetResourceArn() const
Definition Recipe.h:157
AWS_GLUEDATABREW_API Recipe(Aws::Utils::Json::JsonView jsonValue)
bool CreateDateHasBeenSet() const
Definition Recipe.h:62
Recipe & WithRecipeVersion(RecipeVersionT &&value)
Definition Recipe.h:211
bool ProjectNameHasBeenSet() const
Definition Recipe.h:98
Recipe & WithSteps(StepsT &&value)
Definition Recipe.h:174
Recipe & WithPublishedDate(PublishedDateT &&value)
Definition Recipe.h:126
Recipe & AddSteps(StepsT &&value)
Definition Recipe.h:176
void SetRecipeVersion(RecipeVersionT &&value)
Definition Recipe.h:209
const Aws::Utils::DateTime & GetCreateDate() const
Definition Recipe.h:61
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Recipe.h:76
const Aws::String & GetRecipeVersion() const
Definition Recipe.h:206
void SetPublishedBy(PublishedByT &&value)
Definition Recipe.h:112
void SetDescription(DescriptionT &&value)
Definition Recipe.h:136
void SetName(NameT &&value)
Definition Recipe.h:148
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