AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeDatasetResult.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/FormatOptions.h>
13#include <aws/databrew/model/Input.h>
14#include <aws/databrew/model/InputFormat.h>
15#include <aws/databrew/model/PathOptions.h>
16#include <aws/databrew/model/Source.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace GlueDataBrew {
30namespace Model {
32 public:
33 AWS_GLUEDATABREW_API DescribeDatasetResult() = default;
36
38
41 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
42 template <typename CreatedByT = Aws::String>
43 void SetCreatedBy(CreatedByT&& value) {
44 m_createdByHasBeenSet = true;
45 m_createdBy = std::forward<CreatedByT>(value);
46 }
47 template <typename CreatedByT = Aws::String>
48 DescribeDatasetResult& WithCreatedBy(CreatedByT&& value) {
49 SetCreatedBy(std::forward<CreatedByT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
59 template <typename CreateDateT = Aws::Utils::DateTime>
60 void SetCreateDate(CreateDateT&& value) {
61 m_createDateHasBeenSet = true;
62 m_createDate = std::forward<CreateDateT>(value);
63 }
64 template <typename CreateDateT = Aws::Utils::DateTime>
65 DescribeDatasetResult& WithCreateDate(CreateDateT&& value) {
66 SetCreateDate(std::forward<CreateDateT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
93 inline InputFormat GetFormat() const { return m_format; }
94 inline void SetFormat(InputFormat value) {
95 m_formatHasBeenSet = true;
96 m_format = value;
97 }
99 SetFormat(value);
100 return *this;
101 }
103
105
106 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
107 template <typename FormatOptionsT = FormatOptions>
108 void SetFormatOptions(FormatOptionsT&& value) {
109 m_formatOptionsHasBeenSet = true;
110 m_formatOptions = std::forward<FormatOptionsT>(value);
111 }
112 template <typename FormatOptionsT = FormatOptions>
113 DescribeDatasetResult& WithFormatOptions(FormatOptionsT&& value) {
114 SetFormatOptions(std::forward<FormatOptionsT>(value));
115 return *this;
116 }
118
120
121 inline const Input& GetInput() const { return m_input; }
122 template <typename InputT = Input>
123 void SetInput(InputT&& value) {
124 m_inputHasBeenSet = true;
125 m_input = std::forward<InputT>(value);
126 }
127 template <typename InputT = Input>
129 SetInput(std::forward<InputT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
139 template <typename LastModifiedDateT = Aws::Utils::DateTime>
140 void SetLastModifiedDate(LastModifiedDateT&& value) {
141 m_lastModifiedDateHasBeenSet = true;
142 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
143 }
144 template <typename LastModifiedDateT = Aws::Utils::DateTime>
145 DescribeDatasetResult& WithLastModifiedDate(LastModifiedDateT&& value) {
146 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
156 template <typename LastModifiedByT = Aws::String>
157 void SetLastModifiedBy(LastModifiedByT&& value) {
158 m_lastModifiedByHasBeenSet = true;
159 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
160 }
161 template <typename LastModifiedByT = Aws::String>
162 DescribeDatasetResult& WithLastModifiedBy(LastModifiedByT&& value) {
163 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
164 return *this;
165 }
167
169
173 inline Source GetSource() const { return m_source; }
174 inline void SetSource(Source value) {
175 m_sourceHasBeenSet = true;
176 m_source = value;
177 }
179 SetSource(value);
180 return *this;
181 }
183
185
189 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
190 template <typename PathOptionsT = PathOptions>
191 void SetPathOptions(PathOptionsT&& value) {
192 m_pathOptionsHasBeenSet = true;
193 m_pathOptions = std::forward<PathOptionsT>(value);
194 }
195 template <typename PathOptionsT = PathOptions>
196 DescribeDatasetResult& WithPathOptions(PathOptionsT&& value) {
197 SetPathOptions(std::forward<PathOptionsT>(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 DescribeDatasetResult& 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
229 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
230 template <typename ResourceArnT = Aws::String>
231 void SetResourceArn(ResourceArnT&& value) {
232 m_resourceArnHasBeenSet = true;
233 m_resourceArn = std::forward<ResourceArnT>(value);
234 }
235 template <typename ResourceArnT = Aws::String>
236 DescribeDatasetResult& WithResourceArn(ResourceArnT&& value) {
237 SetResourceArn(std::forward<ResourceArnT>(value));
238 return *this;
239 }
241
243
244 inline const Aws::String& GetRequestId() const { return m_requestId; }
245 template <typename RequestIdT = Aws::String>
246 void SetRequestId(RequestIdT&& value) {
247 m_requestIdHasBeenSet = true;
248 m_requestId = std::forward<RequestIdT>(value);
249 }
250 template <typename RequestIdT = Aws::String>
252 SetRequestId(std::forward<RequestIdT>(value));
253 return *this;
254 }
256 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
257
258 private:
259 Aws::String m_createdBy;
260
261 Aws::Utils::DateTime m_createDate{};
262
263 Aws::String m_name;
264
266
267 FormatOptions m_formatOptions;
268
269 Input m_input;
270
271 Aws::Utils::DateTime m_lastModifiedDate{};
272
273 Aws::String m_lastModifiedBy;
274
275 Source m_source{Source::NOT_SET};
276
277 PathOptions m_pathOptions;
278
280
281 Aws::String m_resourceArn;
282
283 Aws::String m_requestId;
284 Aws::Http::HttpResponseCode m_HttpResponseCode;
285 bool m_createdByHasBeenSet = false;
286 bool m_createDateHasBeenSet = false;
287 bool m_nameHasBeenSet = false;
288 bool m_formatHasBeenSet = false;
289 bool m_formatOptionsHasBeenSet = false;
290 bool m_inputHasBeenSet = false;
291 bool m_lastModifiedDateHasBeenSet = false;
292 bool m_lastModifiedByHasBeenSet = false;
293 bool m_sourceHasBeenSet = false;
294 bool m_pathOptionsHasBeenSet = false;
295 bool m_tagsHasBeenSet = false;
296 bool m_resourceArnHasBeenSet = false;
297 bool m_requestIdHasBeenSet = false;
298};
299
300} // namespace Model
301} // namespace GlueDataBrew
302} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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