AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeDatasetResult.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/FormatOptions.h>
12#include <aws/databrew/model/Input.h>
13#include <aws/databrew/model/InputFormat.h>
14#include <aws/databrew/model/PathOptions.h>
15#include <aws/databrew/model/Source.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace GlueDataBrew {
29namespace Model {
31 public:
32 AWS_GLUEDATABREW_API DescribeDatasetResult() = default;
35
37
40 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
41 template <typename CreatedByT = Aws::String>
42 void SetCreatedBy(CreatedByT&& value) {
43 m_createdByHasBeenSet = true;
44 m_createdBy = std::forward<CreatedByT>(value);
45 }
46 template <typename CreatedByT = Aws::String>
47 DescribeDatasetResult& WithCreatedBy(CreatedByT&& value) {
48 SetCreatedBy(std::forward<CreatedByT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
58 template <typename CreateDateT = Aws::Utils::DateTime>
59 void SetCreateDate(CreateDateT&& value) {
60 m_createDateHasBeenSet = true;
61 m_createDate = std::forward<CreateDateT>(value);
62 }
63 template <typename CreateDateT = Aws::Utils::DateTime>
64 DescribeDatasetResult& WithCreateDate(CreateDateT&& value) {
65 SetCreateDate(std::forward<CreateDateT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
92 inline InputFormat GetFormat() const { return m_format; }
93 inline void SetFormat(InputFormat value) {
94 m_formatHasBeenSet = true;
95 m_format = value;
96 }
98 SetFormat(value);
99 return *this;
100 }
102
104
105 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
106 template <typename FormatOptionsT = FormatOptions>
107 void SetFormatOptions(FormatOptionsT&& value) {
108 m_formatOptionsHasBeenSet = true;
109 m_formatOptions = std::forward<FormatOptionsT>(value);
110 }
111 template <typename FormatOptionsT = FormatOptions>
112 DescribeDatasetResult& WithFormatOptions(FormatOptionsT&& value) {
113 SetFormatOptions(std::forward<FormatOptionsT>(value));
114 return *this;
115 }
117
119
120 inline const Input& GetInput() const { return m_input; }
121 template <typename InputT = Input>
122 void SetInput(InputT&& value) {
123 m_inputHasBeenSet = true;
124 m_input = std::forward<InputT>(value);
125 }
126 template <typename InputT = Input>
128 SetInput(std::forward<InputT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
138 template <typename LastModifiedDateT = Aws::Utils::DateTime>
139 void SetLastModifiedDate(LastModifiedDateT&& value) {
140 m_lastModifiedDateHasBeenSet = true;
141 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
142 }
143 template <typename LastModifiedDateT = Aws::Utils::DateTime>
144 DescribeDatasetResult& WithLastModifiedDate(LastModifiedDateT&& value) {
145 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
155 template <typename LastModifiedByT = Aws::String>
156 void SetLastModifiedBy(LastModifiedByT&& value) {
157 m_lastModifiedByHasBeenSet = true;
158 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
159 }
160 template <typename LastModifiedByT = Aws::String>
161 DescribeDatasetResult& WithLastModifiedBy(LastModifiedByT&& value) {
162 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
163 return *this;
164 }
166
168
172 inline Source GetSource() const { return m_source; }
173 inline void SetSource(Source value) {
174 m_sourceHasBeenSet = true;
175 m_source = value;
176 }
178 SetSource(value);
179 return *this;
180 }
182
184
188 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
189 template <typename PathOptionsT = PathOptions>
190 void SetPathOptions(PathOptionsT&& value) {
191 m_pathOptionsHasBeenSet = true;
192 m_pathOptions = std::forward<PathOptionsT>(value);
193 }
194 template <typename PathOptionsT = PathOptions>
195 DescribeDatasetResult& WithPathOptions(PathOptionsT&& value) {
196 SetPathOptions(std::forward<PathOptionsT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
206 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 void SetTags(TagsT&& value) {
208 m_tagsHasBeenSet = true;
209 m_tags = std::forward<TagsT>(value);
210 }
211 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 SetTags(std::forward<TagsT>(value));
214 return *this;
215 }
216 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
217 DescribeDatasetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
218 m_tagsHasBeenSet = true;
219 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
229 template <typename ResourceArnT = Aws::String>
230 void SetResourceArn(ResourceArnT&& value) {
231 m_resourceArnHasBeenSet = true;
232 m_resourceArn = std::forward<ResourceArnT>(value);
233 }
234 template <typename ResourceArnT = Aws::String>
235 DescribeDatasetResult& WithResourceArn(ResourceArnT&& value) {
236 SetResourceArn(std::forward<ResourceArnT>(value));
237 return *this;
238 }
240
242
243 inline const Aws::String& GetRequestId() const { return m_requestId; }
244 template <typename RequestIdT = Aws::String>
245 void SetRequestId(RequestIdT&& value) {
246 m_requestIdHasBeenSet = true;
247 m_requestId = std::forward<RequestIdT>(value);
248 }
249 template <typename RequestIdT = Aws::String>
251 SetRequestId(std::forward<RequestIdT>(value));
252 return *this;
253 }
255 private:
256 Aws::String m_createdBy;
257
258 Aws::Utils::DateTime m_createDate{};
259
260 Aws::String m_name;
261
263
264 FormatOptions m_formatOptions;
265
266 Input m_input;
267
268 Aws::Utils::DateTime m_lastModifiedDate{};
269
270 Aws::String m_lastModifiedBy;
271
272 Source m_source{Source::NOT_SET};
273
274 PathOptions m_pathOptions;
275
277
278 Aws::String m_resourceArn;
279
280 Aws::String m_requestId;
281 bool m_createdByHasBeenSet = false;
282 bool m_createDateHasBeenSet = false;
283 bool m_nameHasBeenSet = false;
284 bool m_formatHasBeenSet = false;
285 bool m_formatOptionsHasBeenSet = false;
286 bool m_inputHasBeenSet = false;
287 bool m_lastModifiedDateHasBeenSet = false;
288 bool m_lastModifiedByHasBeenSet = false;
289 bool m_sourceHasBeenSet = false;
290 bool m_pathOptionsHasBeenSet = false;
291 bool m_tagsHasBeenSet = false;
292 bool m_resourceArnHasBeenSet = false;
293 bool m_requestIdHasBeenSet = false;
294};
295
296} // namespace Model
297} // namespace GlueDataBrew
298} // namespace Aws
DescribeDatasetResult & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
DescribeDatasetResult & WithLastModifiedBy(LastModifiedByT &&value)
AWS_GLUEDATABREW_API DescribeDatasetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDatasetResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeDatasetResult & WithRequestId(RequestIdT &&value)
AWS_GLUEDATABREW_API DescribeDatasetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDatasetResult & WithFormat(InputFormat value)
DescribeDatasetResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeDatasetResult & WithPathOptions(PathOptionsT &&value)
DescribeDatasetResult & WithFormatOptions(FormatOptionsT &&value)
DescribeDatasetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeDatasetResult & WithCreateDate(CreateDateT &&value)
AWS_GLUEDATABREW_API DescribeDatasetResult()=default
DescribeDatasetResult & WithSource(Source value)
DescribeDatasetResult & WithCreatedBy(CreatedByT &&value)
DescribeDatasetResult & WithResourceArn(ResourceArnT &&value)
DescribeDatasetResult & WithInput(InputT &&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