AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeProjectResult.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/databrew/GlueDataBrew_EXPORTS.h>
12#include <aws/databrew/model/Sample.h>
13#include <aws/databrew/model/SessionStatus.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 DescribeProjectResult() = default;
33
35
38 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
39 template <typename CreateDateT = Aws::Utils::DateTime>
40 void SetCreateDate(CreateDateT&& value) {
41 m_createDateHasBeenSet = true;
42 m_createDate = std::forward<CreateDateT>(value);
43 }
44 template <typename CreateDateT = Aws::Utils::DateTime>
45 DescribeProjectResult& WithCreateDate(CreateDateT&& value) {
46 SetCreateDate(std::forward<CreateDateT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
56 template <typename CreatedByT = Aws::String>
57 void SetCreatedBy(CreatedByT&& value) {
58 m_createdByHasBeenSet = true;
59 m_createdBy = std::forward<CreatedByT>(value);
60 }
61 template <typename CreatedByT = Aws::String>
62 DescribeProjectResult& WithCreatedBy(CreatedByT&& value) {
63 SetCreatedBy(std::forward<CreatedByT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
73 template <typename DatasetNameT = Aws::String>
74 void SetDatasetName(DatasetNameT&& value) {
75 m_datasetNameHasBeenSet = true;
76 m_datasetName = std::forward<DatasetNameT>(value);
77 }
78 template <typename DatasetNameT = Aws::String>
79 DescribeProjectResult& WithDatasetName(DatasetNameT&& value) {
80 SetDatasetName(std::forward<DatasetNameT>(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 DescribeProjectResult& WithLastModifiedDate(LastModifiedDateT&& value) {
97 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
107 template <typename LastModifiedByT = Aws::String>
108 void SetLastModifiedBy(LastModifiedByT&& value) {
109 m_lastModifiedByHasBeenSet = true;
110 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
111 }
112 template <typename LastModifiedByT = Aws::String>
113 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) {
114 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetName() const { return m_name; }
124 template <typename NameT = Aws::String>
125 void SetName(NameT&& value) {
126 m_nameHasBeenSet = true;
127 m_name = std::forward<NameT>(value);
128 }
129 template <typename NameT = Aws::String>
131 SetName(std::forward<NameT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
141 template <typename RecipeNameT = Aws::String>
142 void SetRecipeName(RecipeNameT&& value) {
143 m_recipeNameHasBeenSet = true;
144 m_recipeName = std::forward<RecipeNameT>(value);
145 }
146 template <typename RecipeNameT = Aws::String>
147 DescribeProjectResult& WithRecipeName(RecipeNameT&& value) {
148 SetRecipeName(std::forward<RecipeNameT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
158 template <typename ResourceArnT = Aws::String>
159 void SetResourceArn(ResourceArnT&& value) {
160 m_resourceArnHasBeenSet = true;
161 m_resourceArn = std::forward<ResourceArnT>(value);
162 }
163 template <typename ResourceArnT = Aws::String>
164 DescribeProjectResult& WithResourceArn(ResourceArnT&& value) {
165 SetResourceArn(std::forward<ResourceArnT>(value));
166 return *this;
167 }
169
171
172 inline const Sample& GetSample() const { return m_sample; }
173 template <typename SampleT = Sample>
174 void SetSample(SampleT&& value) {
175 m_sampleHasBeenSet = true;
176 m_sample = std::forward<SampleT>(value);
177 }
178 template <typename SampleT = Sample>
180 SetSample(std::forward<SampleT>(value));
181 return *this;
182 }
184
186
190 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
191 template <typename RoleArnT = Aws::String>
192 void SetRoleArn(RoleArnT&& value) {
193 m_roleArnHasBeenSet = true;
194 m_roleArn = std::forward<RoleArnT>(value);
195 }
196 template <typename RoleArnT = Aws::String>
198 SetRoleArn(std::forward<RoleArnT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
208 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 void SetTags(TagsT&& value) {
210 m_tagsHasBeenSet = true;
211 m_tags = std::forward<TagsT>(value);
212 }
213 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
216 return *this;
217 }
218 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
219 DescribeProjectResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
220 m_tagsHasBeenSet = true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
222 return *this;
223 }
225
227
234 inline SessionStatus GetSessionStatus() const { return m_sessionStatus; }
235 inline void SetSessionStatus(SessionStatus value) {
236 m_sessionStatusHasBeenSet = true;
237 m_sessionStatus = value;
238 }
240 SetSessionStatus(value);
241 return *this;
242 }
244
246
249 inline const Aws::String& GetOpenedBy() const { return m_openedBy; }
250 template <typename OpenedByT = Aws::String>
251 void SetOpenedBy(OpenedByT&& value) {
252 m_openedByHasBeenSet = true;
253 m_openedBy = std::forward<OpenedByT>(value);
254 }
255 template <typename OpenedByT = Aws::String>
257 SetOpenedBy(std::forward<OpenedByT>(value));
258 return *this;
259 }
261
263
266 inline const Aws::Utils::DateTime& GetOpenDate() const { return m_openDate; }
267 template <typename OpenDateT = Aws::Utils::DateTime>
268 void SetOpenDate(OpenDateT&& value) {
269 m_openDateHasBeenSet = true;
270 m_openDate = std::forward<OpenDateT>(value);
271 }
272 template <typename OpenDateT = Aws::Utils::DateTime>
274 SetOpenDate(std::forward<OpenDateT>(value));
275 return *this;
276 }
278
280
281 inline const Aws::String& GetRequestId() const { return m_requestId; }
282 template <typename RequestIdT = Aws::String>
283 void SetRequestId(RequestIdT&& value) {
284 m_requestIdHasBeenSet = true;
285 m_requestId = std::forward<RequestIdT>(value);
286 }
287 template <typename RequestIdT = Aws::String>
289 SetRequestId(std::forward<RequestIdT>(value));
290 return *this;
291 }
293 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
294
295 private:
296 Aws::Utils::DateTime m_createDate{};
297
298 Aws::String m_createdBy;
299
300 Aws::String m_datasetName;
301
302 Aws::Utils::DateTime m_lastModifiedDate{};
303
304 Aws::String m_lastModifiedBy;
305
306 Aws::String m_name;
307
308 Aws::String m_recipeName;
309
310 Aws::String m_resourceArn;
311
312 Sample m_sample;
313
314 Aws::String m_roleArn;
315
317
318 SessionStatus m_sessionStatus{SessionStatus::NOT_SET};
319
320 Aws::String m_openedBy;
321
322 Aws::Utils::DateTime m_openDate{};
323
324 Aws::String m_requestId;
325 Aws::Http::HttpResponseCode m_HttpResponseCode;
326 bool m_createDateHasBeenSet = false;
327 bool m_createdByHasBeenSet = false;
328 bool m_datasetNameHasBeenSet = false;
329 bool m_lastModifiedDateHasBeenSet = false;
330 bool m_lastModifiedByHasBeenSet = false;
331 bool m_nameHasBeenSet = false;
332 bool m_recipeNameHasBeenSet = false;
333 bool m_resourceArnHasBeenSet = false;
334 bool m_sampleHasBeenSet = false;
335 bool m_roleArnHasBeenSet = false;
336 bool m_tagsHasBeenSet = false;
337 bool m_sessionStatusHasBeenSet = false;
338 bool m_openedByHasBeenSet = false;
339 bool m_openDateHasBeenSet = false;
340 bool m_requestIdHasBeenSet = false;
341};
342
343} // namespace Model
344} // namespace GlueDataBrew
345} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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