AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeRecipeResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/databrew/GlueDataBrew_EXPORTS.h>
12#include <aws/databrew/model/RecipeStep.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GlueDataBrew {
26namespace Model {
28 public:
29 AWS_GLUEDATABREW_API DescribeRecipeResult() = default;
32
34
37 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
38 template <typename CreatedByT = Aws::String>
39 void SetCreatedBy(CreatedByT&& value) {
40 m_createdByHasBeenSet = true;
41 m_createdBy = std::forward<CreatedByT>(value);
42 }
43 template <typename CreatedByT = Aws::String>
44 DescribeRecipeResult& WithCreatedBy(CreatedByT&& value) {
45 SetCreatedBy(std::forward<CreatedByT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
55 template <typename CreateDateT = Aws::Utils::DateTime>
56 void SetCreateDate(CreateDateT&& value) {
57 m_createDateHasBeenSet = true;
58 m_createDate = std::forward<CreateDateT>(value);
59 }
60 template <typename CreateDateT = Aws::Utils::DateTime>
61 DescribeRecipeResult& WithCreateDate(CreateDateT&& value) {
62 SetCreateDate(std::forward<CreateDateT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
72 template <typename LastModifiedByT = Aws::String>
73 void SetLastModifiedBy(LastModifiedByT&& value) {
74 m_lastModifiedByHasBeenSet = true;
75 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
76 }
77 template <typename LastModifiedByT = Aws::String>
78 DescribeRecipeResult& WithLastModifiedBy(LastModifiedByT&& value) {
79 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
89 template <typename LastModifiedDateT = Aws::Utils::DateTime>
90 void SetLastModifiedDate(LastModifiedDateT&& value) {
91 m_lastModifiedDateHasBeenSet = true;
92 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
93 }
94 template <typename LastModifiedDateT = Aws::Utils::DateTime>
95 DescribeRecipeResult& WithLastModifiedDate(LastModifiedDateT&& value) {
96 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetProjectName() const { return m_projectName; }
106 template <typename ProjectNameT = Aws::String>
107 void SetProjectName(ProjectNameT&& value) {
108 m_projectNameHasBeenSet = true;
109 m_projectName = std::forward<ProjectNameT>(value);
110 }
111 template <typename ProjectNameT = Aws::String>
112 DescribeRecipeResult& WithProjectName(ProjectNameT&& value) {
113 SetProjectName(std::forward<ProjectNameT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetPublishedBy() const { return m_publishedBy; }
123 template <typename PublishedByT = Aws::String>
124 void SetPublishedBy(PublishedByT&& value) {
125 m_publishedByHasBeenSet = true;
126 m_publishedBy = std::forward<PublishedByT>(value);
127 }
128 template <typename PublishedByT = Aws::String>
129 DescribeRecipeResult& WithPublishedBy(PublishedByT&& value) {
130 SetPublishedBy(std::forward<PublishedByT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetPublishedDate() const { return m_publishedDate; }
140 template <typename PublishedDateT = Aws::Utils::DateTime>
141 void SetPublishedDate(PublishedDateT&& value) {
142 m_publishedDateHasBeenSet = true;
143 m_publishedDate = std::forward<PublishedDateT>(value);
144 }
145 template <typename PublishedDateT = Aws::Utils::DateTime>
146 DescribeRecipeResult& WithPublishedDate(PublishedDateT&& value) {
147 SetPublishedDate(std::forward<PublishedDateT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetDescription() const { return m_description; }
157 template <typename DescriptionT = Aws::String>
158 void SetDescription(DescriptionT&& value) {
159 m_descriptionHasBeenSet = true;
160 m_description = std::forward<DescriptionT>(value);
161 }
162 template <typename DescriptionT = Aws::String>
163 DescribeRecipeResult& WithDescription(DescriptionT&& value) {
164 SetDescription(std::forward<DescriptionT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetName() const { return m_name; }
174 template <typename NameT = Aws::String>
175 void SetName(NameT&& value) {
176 m_nameHasBeenSet = true;
177 m_name = std::forward<NameT>(value);
178 }
179 template <typename NameT = Aws::String>
181 SetName(std::forward<NameT>(value));
182 return *this;
183 }
185
187
191 inline const Aws::Vector<RecipeStep>& GetSteps() const { return m_steps; }
192 template <typename StepsT = Aws::Vector<RecipeStep>>
193 void SetSteps(StepsT&& value) {
194 m_stepsHasBeenSet = true;
195 m_steps = std::forward<StepsT>(value);
196 }
197 template <typename StepsT = Aws::Vector<RecipeStep>>
199 SetSteps(std::forward<StepsT>(value));
200 return *this;
201 }
202 template <typename StepsT = RecipeStep>
204 m_stepsHasBeenSet = true;
205 m_steps.emplace_back(std::forward<StepsT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
215 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 void SetTags(TagsT&& value) {
217 m_tagsHasBeenSet = true;
218 m_tags = std::forward<TagsT>(value);
219 }
220 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
222 SetTags(std::forward<TagsT>(value));
223 return *this;
224 }
225 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
226 DescribeRecipeResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
227 m_tagsHasBeenSet = true;
228 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
238 template <typename ResourceArnT = Aws::String>
239 void SetResourceArn(ResourceArnT&& value) {
240 m_resourceArnHasBeenSet = true;
241 m_resourceArn = std::forward<ResourceArnT>(value);
242 }
243 template <typename ResourceArnT = Aws::String>
244 DescribeRecipeResult& WithResourceArn(ResourceArnT&& value) {
245 SetResourceArn(std::forward<ResourceArnT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
255 template <typename RecipeVersionT = Aws::String>
256 void SetRecipeVersion(RecipeVersionT&& value) {
257 m_recipeVersionHasBeenSet = true;
258 m_recipeVersion = std::forward<RecipeVersionT>(value);
259 }
260 template <typename RecipeVersionT = Aws::String>
261 DescribeRecipeResult& WithRecipeVersion(RecipeVersionT&& value) {
262 SetRecipeVersion(std::forward<RecipeVersionT>(value));
263 return *this;
264 }
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template <typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) {
272 m_requestIdHasBeenSet = true;
273 m_requestId = std::forward<RequestIdT>(value);
274 }
275 template <typename RequestIdT = Aws::String>
276 DescribeRecipeResult& WithRequestId(RequestIdT&& value) {
277 SetRequestId(std::forward<RequestIdT>(value));
278 return *this;
279 }
281 private:
282 Aws::String m_createdBy;
283
284 Aws::Utils::DateTime m_createDate{};
285
286 Aws::String m_lastModifiedBy;
287
288 Aws::Utils::DateTime m_lastModifiedDate{};
289
290 Aws::String m_projectName;
291
292 Aws::String m_publishedBy;
293
294 Aws::Utils::DateTime m_publishedDate{};
295
296 Aws::String m_description;
297
298 Aws::String m_name;
299
301
303
304 Aws::String m_resourceArn;
305
306 Aws::String m_recipeVersion;
307
308 Aws::String m_requestId;
309 bool m_createdByHasBeenSet = false;
310 bool m_createDateHasBeenSet = false;
311 bool m_lastModifiedByHasBeenSet = false;
312 bool m_lastModifiedDateHasBeenSet = false;
313 bool m_projectNameHasBeenSet = false;
314 bool m_publishedByHasBeenSet = false;
315 bool m_publishedDateHasBeenSet = false;
316 bool m_descriptionHasBeenSet = false;
317 bool m_nameHasBeenSet = false;
318 bool m_stepsHasBeenSet = false;
319 bool m_tagsHasBeenSet = false;
320 bool m_resourceArnHasBeenSet = false;
321 bool m_recipeVersionHasBeenSet = false;
322 bool m_requestIdHasBeenSet = false;
323};
324
325} // namespace Model
326} // namespace GlueDataBrew
327} // namespace Aws
DescribeRecipeResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_GLUEDATABREW_API DescribeRecipeResult()=default
DescribeRecipeResult & WithCreateDate(CreateDateT &&value)
DescribeRecipeResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeRecipeResult & WithProjectName(ProjectNameT &&value)
const Aws::Vector< RecipeStep > & GetSteps() const
const Aws::Utils::DateTime & GetCreateDate() const
DescribeRecipeResult & WithSteps(StepsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeRecipeResult & WithCreatedBy(CreatedByT &&value)
DescribeRecipeResult & WithResourceArn(ResourceArnT &&value)
AWS_GLUEDATABREW_API DescribeRecipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUEDATABREW_API DescribeRecipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRecipeResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeRecipeResult & WithRecipeVersion(RecipeVersionT &&value)
DescribeRecipeResult & AddSteps(StepsT &&value)
DescribeRecipeResult & WithPublishedBy(PublishedByT &&value)
DescribeRecipeResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeRecipeResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetPublishedDate() const
DescribeRecipeResult & WithRequestId(RequestIdT &&value)
DescribeRecipeResult & WithName(NameT &&value)
DescribeRecipeResult & WithPublishedDate(PublishedDateT &&value)
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