AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeProjectResult.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/Sample.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/databrew/model/SessionStatus.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 DescribeProjectResult() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
44 template<typename CreateDateT = Aws::Utils::DateTime>
45 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
46 template<typename CreateDateT = Aws::Utils::DateTime>
47 DescribeProjectResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template<typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
57 template<typename CreatedByT = Aws::String>
58 DescribeProjectResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
66 template<typename DatasetNameT = Aws::String>
67 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
68 template<typename DatasetNameT = Aws::String>
69 DescribeProjectResult& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(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 DescribeProjectResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
82
84
87 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
88 template<typename LastModifiedByT = Aws::String>
89 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
90 template<typename LastModifiedByT = Aws::String>
91 DescribeProjectResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 DescribeProjectResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
109 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
110 template<typename RecipeNameT = Aws::String>
111 void SetRecipeName(RecipeNameT&& value) { m_recipeNameHasBeenSet = true; m_recipeName = std::forward<RecipeNameT>(value); }
112 template<typename RecipeNameT = Aws::String>
113 DescribeProjectResult& WithRecipeName(RecipeNameT&& value) { SetRecipeName(std::forward<RecipeNameT>(value)); return *this;}
115
117
120 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
121 template<typename ResourceArnT = Aws::String>
122 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
123 template<typename ResourceArnT = Aws::String>
124 DescribeProjectResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
126
128
129 inline const Sample& GetSample() const { return m_sample; }
130 template<typename SampleT = Sample>
131 void SetSample(SampleT&& value) { m_sampleHasBeenSet = true; m_sample = std::forward<SampleT>(value); }
132 template<typename SampleT = Sample>
133 DescribeProjectResult& WithSample(SampleT&& value) { SetSample(std::forward<SampleT>(value)); return *this;}
135
137
141 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
142 template<typename RoleArnT = Aws::String>
143 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
144 template<typename RoleArnT = Aws::String>
145 DescribeProjectResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
153 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
155 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 DescribeProjectResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
157 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
158 DescribeProjectResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
159 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
160 }
162
164
171 inline SessionStatus GetSessionStatus() const { return m_sessionStatus; }
172 inline void SetSessionStatus(SessionStatus value) { m_sessionStatusHasBeenSet = true; m_sessionStatus = value; }
175
177
180 inline const Aws::String& GetOpenedBy() const { return m_openedBy; }
181 template<typename OpenedByT = Aws::String>
182 void SetOpenedBy(OpenedByT&& value) { m_openedByHasBeenSet = true; m_openedBy = std::forward<OpenedByT>(value); }
183 template<typename OpenedByT = Aws::String>
184 DescribeProjectResult& WithOpenedBy(OpenedByT&& value) { SetOpenedBy(std::forward<OpenedByT>(value)); return *this;}
186
188
191 inline const Aws::Utils::DateTime& GetOpenDate() const { return m_openDate; }
192 template<typename OpenDateT = Aws::Utils::DateTime>
193 void SetOpenDate(OpenDateT&& value) { m_openDateHasBeenSet = true; m_openDate = std::forward<OpenDateT>(value); }
194 template<typename OpenDateT = Aws::Utils::DateTime>
195 DescribeProjectResult& WithOpenDate(OpenDateT&& value) { SetOpenDate(std::forward<OpenDateT>(value)); return *this;}
197
199
200 inline const Aws::String& GetRequestId() const { return m_requestId; }
201 template<typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
203 template<typename RequestIdT = Aws::String>
204 DescribeProjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
206 private:
207
208 Aws::Utils::DateTime m_createDate{};
209 bool m_createDateHasBeenSet = false;
210
211 Aws::String m_createdBy;
212 bool m_createdByHasBeenSet = false;
213
214 Aws::String m_datasetName;
215 bool m_datasetNameHasBeenSet = false;
216
217 Aws::Utils::DateTime m_lastModifiedDate{};
218 bool m_lastModifiedDateHasBeenSet = false;
219
220 Aws::String m_lastModifiedBy;
221 bool m_lastModifiedByHasBeenSet = false;
222
223 Aws::String m_name;
224 bool m_nameHasBeenSet = false;
225
226 Aws::String m_recipeName;
227 bool m_recipeNameHasBeenSet = false;
228
229 Aws::String m_resourceArn;
230 bool m_resourceArnHasBeenSet = false;
231
232 Sample m_sample;
233 bool m_sampleHasBeenSet = false;
234
235 Aws::String m_roleArn;
236 bool m_roleArnHasBeenSet = false;
237
239 bool m_tagsHasBeenSet = false;
240
241 SessionStatus m_sessionStatus{SessionStatus::NOT_SET};
242 bool m_sessionStatusHasBeenSet = false;
243
244 Aws::String m_openedBy;
245 bool m_openedByHasBeenSet = false;
246
247 Aws::Utils::DateTime m_openDate{};
248 bool m_openDateHasBeenSet = false;
249
250 Aws::String m_requestId;
251 bool m_requestIdHasBeenSet = false;
252 };
253
254} // namespace Model
255} // namespace GlueDataBrew
256} // 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