AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDatasetResult.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/databrew/model/InputFormat.h>
11#include <aws/databrew/model/FormatOptions.h>
12#include <aws/databrew/model/Input.h>
13#include <aws/databrew/model/Source.h>
14#include <aws/databrew/model/PathOptions.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace GlueDataBrew
31{
32namespace Model
33{
35 {
36 public:
37 AWS_GLUEDATABREW_API DescribeDatasetResult() = default;
40
41
43
46 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
47 template<typename CreatedByT = Aws::String>
48 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
49 template<typename CreatedByT = Aws::String>
50 DescribeDatasetResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
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) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
60 template<typename CreateDateT = Aws::Utils::DateTime>
61 DescribeDatasetResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 template<typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 DescribeDatasetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74
76
80 inline InputFormat GetFormat() const { return m_format; }
81 inline void SetFormat(InputFormat value) { m_formatHasBeenSet = true; m_format = value; }
82 inline DescribeDatasetResult& WithFormat(InputFormat value) { SetFormat(value); return *this;}
84
86
87 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
88 template<typename FormatOptionsT = FormatOptions>
89 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
90 template<typename FormatOptionsT = FormatOptions>
91 DescribeDatasetResult& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
93
95
96 inline const Input& GetInput() const { return m_input; }
97 template<typename InputT = Input>
98 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
99 template<typename InputT = Input>
100 DescribeDatasetResult& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
108 template<typename LastModifiedDateT = Aws::Utils::DateTime>
109 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
110 template<typename LastModifiedDateT = Aws::Utils::DateTime>
111 DescribeDatasetResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
113
115
118 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
119 template<typename LastModifiedByT = Aws::String>
120 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
121 template<typename LastModifiedByT = Aws::String>
122 DescribeDatasetResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
124
126
130 inline Source GetSource() const { return m_source; }
131 inline void SetSource(Source value) { m_sourceHasBeenSet = true; m_source = value; }
132 inline DescribeDatasetResult& WithSource(Source value) { SetSource(value); return *this;}
134
136
140 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
141 template<typename PathOptionsT = PathOptions>
142 void SetPathOptions(PathOptionsT&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::forward<PathOptionsT>(value); }
143 template<typename PathOptionsT = PathOptions>
144 DescribeDatasetResult& WithPathOptions(PathOptionsT&& value) { SetPathOptions(std::forward<PathOptionsT>(value)); return *this;}
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
152 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
154 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 DescribeDatasetResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
156 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
157 DescribeDatasetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
158 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
159 }
161
163
166 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
167 template<typename ResourceArnT = Aws::String>
168 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
169 template<typename ResourceArnT = Aws::String>
170 DescribeDatasetResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template<typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
178 template<typename RequestIdT = Aws::String>
179 DescribeDatasetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
181 private:
182
183 Aws::String m_createdBy;
184 bool m_createdByHasBeenSet = false;
185
186 Aws::Utils::DateTime m_createDate{};
187 bool m_createDateHasBeenSet = false;
188
189 Aws::String m_name;
190 bool m_nameHasBeenSet = false;
191
193 bool m_formatHasBeenSet = false;
194
195 FormatOptions m_formatOptions;
196 bool m_formatOptionsHasBeenSet = false;
197
198 Input m_input;
199 bool m_inputHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModifiedDate{};
202 bool m_lastModifiedDateHasBeenSet = false;
203
204 Aws::String m_lastModifiedBy;
205 bool m_lastModifiedByHasBeenSet = false;
206
207 Source m_source{Source::NOT_SET};
208 bool m_sourceHasBeenSet = false;
209
210 PathOptions m_pathOptions;
211 bool m_pathOptionsHasBeenSet = false;
212
214 bool m_tagsHasBeenSet = false;
215
216 Aws::String m_resourceArn;
217 bool m_resourceArnHasBeenSet = false;
218
219 Aws::String m_requestId;
220 bool m_requestIdHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace GlueDataBrew
225} // 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