AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeRecipeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/databrew/GlueDataBrew_EXPORTS.h>
13#include <aws/databrew/model/RecipeStep.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GlueDataBrew {
27namespace Model {
29 public:
30 AWS_GLUEDATABREW_API DescribeRecipeResult() = default;
33
35
38 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
39 template <typename CreatedByT = Aws::String>
40 void SetCreatedBy(CreatedByT&& value) {
41 m_createdByHasBeenSet = true;
42 m_createdBy = std::forward<CreatedByT>(value);
43 }
44 template <typename CreatedByT = Aws::String>
45 DescribeRecipeResult& WithCreatedBy(CreatedByT&& value) {
46 SetCreatedBy(std::forward<CreatedByT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
56 template <typename CreateDateT = Aws::Utils::DateTime>
57 void SetCreateDate(CreateDateT&& value) {
58 m_createDateHasBeenSet = true;
59 m_createDate = std::forward<CreateDateT>(value);
60 }
61 template <typename CreateDateT = Aws::Utils::DateTime>
62 DescribeRecipeResult& WithCreateDate(CreateDateT&& value) {
63 SetCreateDate(std::forward<CreateDateT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
73 template <typename LastModifiedByT = Aws::String>
74 void SetLastModifiedBy(LastModifiedByT&& value) {
75 m_lastModifiedByHasBeenSet = true;
76 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
77 }
78 template <typename LastModifiedByT = Aws::String>
79 DescribeRecipeResult& WithLastModifiedBy(LastModifiedByT&& value) {
80 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
90 template <typename LastModifiedDateT = Aws::Utils::DateTime>
91 void SetLastModifiedDate(LastModifiedDateT&& value) {
92 m_lastModifiedDateHasBeenSet = true;
93 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
94 }
95 template <typename LastModifiedDateT = Aws::Utils::DateTime>
96 DescribeRecipeResult& WithLastModifiedDate(LastModifiedDateT&& value) {
97 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetProjectName() const { return m_projectName; }
107 template <typename ProjectNameT = Aws::String>
108 void SetProjectName(ProjectNameT&& value) {
109 m_projectNameHasBeenSet = true;
110 m_projectName = std::forward<ProjectNameT>(value);
111 }
112 template <typename ProjectNameT = Aws::String>
113 DescribeRecipeResult& WithProjectName(ProjectNameT&& value) {
114 SetProjectName(std::forward<ProjectNameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetPublishedBy() const { return m_publishedBy; }
124 template <typename PublishedByT = Aws::String>
125 void SetPublishedBy(PublishedByT&& value) {
126 m_publishedByHasBeenSet = true;
127 m_publishedBy = std::forward<PublishedByT>(value);
128 }
129 template <typename PublishedByT = Aws::String>
130 DescribeRecipeResult& WithPublishedBy(PublishedByT&& value) {
131 SetPublishedBy(std::forward<PublishedByT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetPublishedDate() const { return m_publishedDate; }
141 template <typename PublishedDateT = Aws::Utils::DateTime>
142 void SetPublishedDate(PublishedDateT&& value) {
143 m_publishedDateHasBeenSet = true;
144 m_publishedDate = std::forward<PublishedDateT>(value);
145 }
146 template <typename PublishedDateT = Aws::Utils::DateTime>
147 DescribeRecipeResult& WithPublishedDate(PublishedDateT&& value) {
148 SetPublishedDate(std::forward<PublishedDateT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetDescription() const { return m_description; }
158 template <typename DescriptionT = Aws::String>
159 void SetDescription(DescriptionT&& value) {
160 m_descriptionHasBeenSet = true;
161 m_description = std::forward<DescriptionT>(value);
162 }
163 template <typename DescriptionT = Aws::String>
164 DescribeRecipeResult& WithDescription(DescriptionT&& value) {
165 SetDescription(std::forward<DescriptionT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetName() const { return m_name; }
175 template <typename NameT = Aws::String>
176 void SetName(NameT&& value) {
177 m_nameHasBeenSet = true;
178 m_name = std::forward<NameT>(value);
179 }
180 template <typename NameT = Aws::String>
182 SetName(std::forward<NameT>(value));
183 return *this;
184 }
186
188
192 inline const Aws::Vector<RecipeStep>& GetSteps() const { return m_steps; }
193 template <typename StepsT = Aws::Vector<RecipeStep>>
194 void SetSteps(StepsT&& value) {
195 m_stepsHasBeenSet = true;
196 m_steps = std::forward<StepsT>(value);
197 }
198 template <typename StepsT = Aws::Vector<RecipeStep>>
200 SetSteps(std::forward<StepsT>(value));
201 return *this;
202 }
203 template <typename StepsT = RecipeStep>
205 m_stepsHasBeenSet = true;
206 m_steps.emplace_back(std::forward<StepsT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
216 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
217 void SetTags(TagsT&& value) {
218 m_tagsHasBeenSet = true;
219 m_tags = std::forward<TagsT>(value);
220 }
221 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 SetTags(std::forward<TagsT>(value));
224 return *this;
225 }
226 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
227 DescribeRecipeResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
228 m_tagsHasBeenSet = true;
229 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
239 template <typename ResourceArnT = Aws::String>
240 void SetResourceArn(ResourceArnT&& value) {
241 m_resourceArnHasBeenSet = true;
242 m_resourceArn = std::forward<ResourceArnT>(value);
243 }
244 template <typename ResourceArnT = Aws::String>
245 DescribeRecipeResult& WithResourceArn(ResourceArnT&& value) {
246 SetResourceArn(std::forward<ResourceArnT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
256 template <typename RecipeVersionT = Aws::String>
257 void SetRecipeVersion(RecipeVersionT&& value) {
258 m_recipeVersionHasBeenSet = true;
259 m_recipeVersion = std::forward<RecipeVersionT>(value);
260 }
261 template <typename RecipeVersionT = Aws::String>
262 DescribeRecipeResult& WithRecipeVersion(RecipeVersionT&& value) {
263 SetRecipeVersion(std::forward<RecipeVersionT>(value));
264 return *this;
265 }
267
269
270 inline const Aws::String& GetRequestId() const { return m_requestId; }
271 template <typename RequestIdT = Aws::String>
272 void SetRequestId(RequestIdT&& value) {
273 m_requestIdHasBeenSet = true;
274 m_requestId = std::forward<RequestIdT>(value);
275 }
276 template <typename RequestIdT = Aws::String>
277 DescribeRecipeResult& WithRequestId(RequestIdT&& value) {
278 SetRequestId(std::forward<RequestIdT>(value));
279 return *this;
280 }
282 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
283
284 private:
285 Aws::String m_createdBy;
286
287 Aws::Utils::DateTime m_createDate{};
288
289 Aws::String m_lastModifiedBy;
290
291 Aws::Utils::DateTime m_lastModifiedDate{};
292
293 Aws::String m_projectName;
294
295 Aws::String m_publishedBy;
296
297 Aws::Utils::DateTime m_publishedDate{};
298
299 Aws::String m_description;
300
301 Aws::String m_name;
302
304
306
307 Aws::String m_resourceArn;
308
309 Aws::String m_recipeVersion;
310
311 Aws::String m_requestId;
312 Aws::Http::HttpResponseCode m_HttpResponseCode;
313 bool m_createdByHasBeenSet = false;
314 bool m_createDateHasBeenSet = false;
315 bool m_lastModifiedByHasBeenSet = false;
316 bool m_lastModifiedDateHasBeenSet = false;
317 bool m_projectNameHasBeenSet = false;
318 bool m_publishedByHasBeenSet = false;
319 bool m_publishedDateHasBeenSet = false;
320 bool m_descriptionHasBeenSet = false;
321 bool m_nameHasBeenSet = false;
322 bool m_stepsHasBeenSet = false;
323 bool m_tagsHasBeenSet = false;
324 bool m_resourceArnHasBeenSet = false;
325 bool m_recipeVersionHasBeenSet = false;
326 bool m_requestIdHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace GlueDataBrew
331} // namespace Aws
DescribeRecipeResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_GLUEDATABREW_API DescribeRecipeResult()=default
DescribeRecipeResult & WithCreateDate(CreateDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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