AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRecipeResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace GlueDataBrew
28{
29namespace Model
30{
32 {
33 public:
34 AWS_GLUEDATABREW_API DescribeRecipeResult() = default;
37
38
40
43 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
44 template<typename CreatedByT = Aws::String>
45 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
46 template<typename CreatedByT = Aws::String>
47 DescribeRecipeResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
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) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
57 template<typename CreateDateT = Aws::Utils::DateTime>
58 DescribeRecipeResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
60
62
65 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
66 template<typename LastModifiedByT = Aws::String>
67 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
68 template<typename LastModifiedByT = Aws::String>
69 DescribeRecipeResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
77 template<typename LastModifiedDateT = Aws::Utils::DateTime>
78 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
79 template<typename LastModifiedDateT = Aws::Utils::DateTime>
80 DescribeRecipeResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
82
84
87 inline const Aws::String& GetProjectName() const { return m_projectName; }
88 template<typename ProjectNameT = Aws::String>
89 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
90 template<typename ProjectNameT = Aws::String>
91 DescribeRecipeResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
93
95
98 inline const Aws::String& GetPublishedBy() const { return m_publishedBy; }
99 template<typename PublishedByT = Aws::String>
100 void SetPublishedBy(PublishedByT&& value) { m_publishedByHasBeenSet = true; m_publishedBy = std::forward<PublishedByT>(value); }
101 template<typename PublishedByT = Aws::String>
102 DescribeRecipeResult& WithPublishedBy(PublishedByT&& value) { SetPublishedBy(std::forward<PublishedByT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetPublishedDate() const { return m_publishedDate; }
110 template<typename PublishedDateT = Aws::Utils::DateTime>
111 void SetPublishedDate(PublishedDateT&& value) { m_publishedDateHasBeenSet = true; m_publishedDate = std::forward<PublishedDateT>(value); }
112 template<typename PublishedDateT = Aws::Utils::DateTime>
113 DescribeRecipeResult& WithPublishedDate(PublishedDateT&& value) { SetPublishedDate(std::forward<PublishedDateT>(value)); return *this;}
115
117
120 inline const Aws::String& GetDescription() const { return m_description; }
121 template<typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
123 template<typename DescriptionT = Aws::String>
124 DescribeRecipeResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
126
128
131 inline const Aws::String& GetName() const { return m_name; }
132 template<typename NameT = Aws::String>
133 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
134 template<typename NameT = Aws::String>
135 DescribeRecipeResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
137
139
143 inline const Aws::Vector<RecipeStep>& GetSteps() const { return m_steps; }
144 template<typename StepsT = Aws::Vector<RecipeStep>>
145 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
146 template<typename StepsT = Aws::Vector<RecipeStep>>
147 DescribeRecipeResult& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
148 template<typename StepsT = RecipeStep>
149 DescribeRecipeResult& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
157 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
159 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 DescribeRecipeResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
161 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
162 DescribeRecipeResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
163 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
164 }
166
168
171 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
172 template<typename ResourceArnT = Aws::String>
173 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
174 template<typename ResourceArnT = Aws::String>
175 DescribeRecipeResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
177
179
182 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
183 template<typename RecipeVersionT = Aws::String>
184 void SetRecipeVersion(RecipeVersionT&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::forward<RecipeVersionT>(value); }
185 template<typename RecipeVersionT = Aws::String>
186 DescribeRecipeResult& WithRecipeVersion(RecipeVersionT&& value) { SetRecipeVersion(std::forward<RecipeVersionT>(value)); return *this;}
188
190
191 inline const Aws::String& GetRequestId() const { return m_requestId; }
192 template<typename RequestIdT = Aws::String>
193 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
194 template<typename RequestIdT = Aws::String>
195 DescribeRecipeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
197 private:
198
199 Aws::String m_createdBy;
200 bool m_createdByHasBeenSet = false;
201
202 Aws::Utils::DateTime m_createDate{};
203 bool m_createDateHasBeenSet = false;
204
205 Aws::String m_lastModifiedBy;
206 bool m_lastModifiedByHasBeenSet = false;
207
208 Aws::Utils::DateTime m_lastModifiedDate{};
209 bool m_lastModifiedDateHasBeenSet = false;
210
211 Aws::String m_projectName;
212 bool m_projectNameHasBeenSet = false;
213
214 Aws::String m_publishedBy;
215 bool m_publishedByHasBeenSet = false;
216
217 Aws::Utils::DateTime m_publishedDate{};
218 bool m_publishedDateHasBeenSet = false;
219
220 Aws::String m_description;
221 bool m_descriptionHasBeenSet = false;
222
223 Aws::String m_name;
224 bool m_nameHasBeenSet = false;
225
227 bool m_stepsHasBeenSet = false;
228
230 bool m_tagsHasBeenSet = false;
231
232 Aws::String m_resourceArn;
233 bool m_resourceArnHasBeenSet = false;
234
235 Aws::String m_recipeVersion;
236 bool m_recipeVersionHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace GlueDataBrew
244} // 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