AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeProjectResult.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/databrew/GlueDataBrew_EXPORTS.h>
11#include <aws/databrew/model/Sample.h>
12#include <aws/databrew/model/SessionStatus.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 DescribeProjectResult() = default;
32
34
37 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
38 template <typename CreateDateT = Aws::Utils::DateTime>
39 void SetCreateDate(CreateDateT&& value) {
40 m_createDateHasBeenSet = true;
41 m_createDate = std::forward<CreateDateT>(value);
42 }
43 template <typename CreateDateT = Aws::Utils::DateTime>
44 DescribeProjectResult& WithCreateDate(CreateDateT&& value) {
45 SetCreateDate(std::forward<CreateDateT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template <typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) {
57 m_createdByHasBeenSet = true;
58 m_createdBy = std::forward<CreatedByT>(value);
59 }
60 template <typename CreatedByT = Aws::String>
61 DescribeProjectResult& WithCreatedBy(CreatedByT&& value) {
62 SetCreatedBy(std::forward<CreatedByT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
72 template <typename DatasetNameT = Aws::String>
73 void SetDatasetName(DatasetNameT&& value) {
74 m_datasetNameHasBeenSet = true;
75 m_datasetName = std::forward<DatasetNameT>(value);
76 }
77 template <typename DatasetNameT = Aws::String>
78 DescribeProjectResult& WithDatasetName(DatasetNameT&& value) {
79 SetDatasetName(std::forward<DatasetNameT>(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 DescribeProjectResult& WithLastModifiedDate(LastModifiedDateT&& value) {
96 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
106 template <typename LastModifiedByT = Aws::String>
107 void SetLastModifiedBy(LastModifiedByT&& value) {
108 m_lastModifiedByHasBeenSet = true;
109 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
110 }
111 template <typename LastModifiedByT = Aws::String>
112 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) {
113 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetName() const { return m_name; }
123 template <typename NameT = Aws::String>
124 void SetName(NameT&& value) {
125 m_nameHasBeenSet = true;
126 m_name = std::forward<NameT>(value);
127 }
128 template <typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
140 template <typename RecipeNameT = Aws::String>
141 void SetRecipeName(RecipeNameT&& value) {
142 m_recipeNameHasBeenSet = true;
143 m_recipeName = std::forward<RecipeNameT>(value);
144 }
145 template <typename RecipeNameT = Aws::String>
146 DescribeProjectResult& WithRecipeName(RecipeNameT&& value) {
147 SetRecipeName(std::forward<RecipeNameT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
157 template <typename ResourceArnT = Aws::String>
158 void SetResourceArn(ResourceArnT&& value) {
159 m_resourceArnHasBeenSet = true;
160 m_resourceArn = std::forward<ResourceArnT>(value);
161 }
162 template <typename ResourceArnT = Aws::String>
163 DescribeProjectResult& WithResourceArn(ResourceArnT&& value) {
164 SetResourceArn(std::forward<ResourceArnT>(value));
165 return *this;
166 }
168
170
171 inline const Sample& GetSample() const { return m_sample; }
172 template <typename SampleT = Sample>
173 void SetSample(SampleT&& value) {
174 m_sampleHasBeenSet = true;
175 m_sample = std::forward<SampleT>(value);
176 }
177 template <typename SampleT = Sample>
179 SetSample(std::forward<SampleT>(value));
180 return *this;
181 }
183
185
189 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
190 template <typename RoleArnT = Aws::String>
191 void SetRoleArn(RoleArnT&& value) {
192 m_roleArnHasBeenSet = true;
193 m_roleArn = std::forward<RoleArnT>(value);
194 }
195 template <typename RoleArnT = Aws::String>
197 SetRoleArn(std::forward<RoleArnT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
207 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 void SetTags(TagsT&& value) {
209 m_tagsHasBeenSet = true;
210 m_tags = std::forward<TagsT>(value);
211 }
212 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 SetTags(std::forward<TagsT>(value));
215 return *this;
216 }
217 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
218 DescribeProjectResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
219 m_tagsHasBeenSet = true;
220 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
221 return *this;
222 }
224
226
233 inline SessionStatus GetSessionStatus() const { return m_sessionStatus; }
234 inline void SetSessionStatus(SessionStatus value) {
235 m_sessionStatusHasBeenSet = true;
236 m_sessionStatus = value;
237 }
239 SetSessionStatus(value);
240 return *this;
241 }
243
245
248 inline const Aws::String& GetOpenedBy() const { return m_openedBy; }
249 template <typename OpenedByT = Aws::String>
250 void SetOpenedBy(OpenedByT&& value) {
251 m_openedByHasBeenSet = true;
252 m_openedBy = std::forward<OpenedByT>(value);
253 }
254 template <typename OpenedByT = Aws::String>
256 SetOpenedBy(std::forward<OpenedByT>(value));
257 return *this;
258 }
260
262
265 inline const Aws::Utils::DateTime& GetOpenDate() const { return m_openDate; }
266 template <typename OpenDateT = Aws::Utils::DateTime>
267 void SetOpenDate(OpenDateT&& value) {
268 m_openDateHasBeenSet = true;
269 m_openDate = std::forward<OpenDateT>(value);
270 }
271 template <typename OpenDateT = Aws::Utils::DateTime>
273 SetOpenDate(std::forward<OpenDateT>(value));
274 return *this;
275 }
277
279
280 inline const Aws::String& GetRequestId() const { return m_requestId; }
281 template <typename RequestIdT = Aws::String>
282 void SetRequestId(RequestIdT&& value) {
283 m_requestIdHasBeenSet = true;
284 m_requestId = std::forward<RequestIdT>(value);
285 }
286 template <typename RequestIdT = Aws::String>
288 SetRequestId(std::forward<RequestIdT>(value));
289 return *this;
290 }
292 private:
293 Aws::Utils::DateTime m_createDate{};
294
295 Aws::String m_createdBy;
296
297 Aws::String m_datasetName;
298
299 Aws::Utils::DateTime m_lastModifiedDate{};
300
301 Aws::String m_lastModifiedBy;
302
303 Aws::String m_name;
304
305 Aws::String m_recipeName;
306
307 Aws::String m_resourceArn;
308
309 Sample m_sample;
310
311 Aws::String m_roleArn;
312
314
315 SessionStatus m_sessionStatus{SessionStatus::NOT_SET};
316
317 Aws::String m_openedBy;
318
319 Aws::Utils::DateTime m_openDate{};
320
321 Aws::String m_requestId;
322 bool m_createDateHasBeenSet = false;
323 bool m_createdByHasBeenSet = false;
324 bool m_datasetNameHasBeenSet = false;
325 bool m_lastModifiedDateHasBeenSet = false;
326 bool m_lastModifiedByHasBeenSet = false;
327 bool m_nameHasBeenSet = false;
328 bool m_recipeNameHasBeenSet = false;
329 bool m_resourceArnHasBeenSet = false;
330 bool m_sampleHasBeenSet = false;
331 bool m_roleArnHasBeenSet = false;
332 bool m_tagsHasBeenSet = false;
333 bool m_sessionStatusHasBeenSet = false;
334 bool m_openedByHasBeenSet = false;
335 bool m_openDateHasBeenSet = false;
336 bool m_requestIdHasBeenSet = false;
337};
338
339} // namespace Model
340} // namespace GlueDataBrew
341} // namespace Aws
DescribeProjectResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GLUEDATABREW_API DescribeProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetOpenDate() const
DescribeProjectResult & WithSessionStatus(SessionStatus value)
DescribeProjectResult & WithDatasetName(DatasetNameT &&value)
DescribeProjectResult & WithOpenDate(OpenDateT &&value)
DescribeProjectResult & WithRequestId(RequestIdT &&value)
DescribeProjectResult & WithCreateDate(CreateDateT &&value)
DescribeProjectResult & WithCreatedBy(CreatedByT &&value)
DescribeProjectResult & WithTags(TagsT &&value)
DescribeProjectResult & WithRoleArn(RoleArnT &&value)
AWS_GLUEDATABREW_API DescribeProjectResult()=default
DescribeProjectResult & WithResourceArn(ResourceArnT &&value)
DescribeProjectResult & WithName(NameT &&value)
DescribeProjectResult & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeProjectResult & WithOpenedBy(OpenedByT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeProjectResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeProjectResult & WithSample(SampleT &&value)
AWS_GLUEDATABREW_API DescribeProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProjectResult & WithRecipeName(RecipeNameT &&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
Aws::Utils::Json::JsonValue JsonValue