AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Dataset.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{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace GlueDataBrew
29{
30namespace Model
31{
32
39 class Dataset
40 {
41 public:
42 AWS_GLUEDATABREW_API Dataset() = default;
43 AWS_GLUEDATABREW_API Dataset(Aws::Utils::Json::JsonView jsonValue);
44 AWS_GLUEDATABREW_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetAccountId() const { return m_accountId; }
53 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
54 template<typename AccountIdT = Aws::String>
55 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
56 template<typename AccountIdT = Aws::String>
57 Dataset& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
65 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
66 template<typename CreatedByT = Aws::String>
67 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
68 template<typename CreatedByT = Aws::String>
69 Dataset& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
77 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
78 template<typename CreateDateT = Aws::Utils::DateTime>
79 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
80 template<typename CreateDateT = Aws::Utils::DateTime>
81 Dataset& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 Dataset& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
101 inline InputFormat GetFormat() const { return m_format; }
102 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
103 inline void SetFormat(InputFormat value) { m_formatHasBeenSet = true; m_format = value; }
104 inline Dataset& WithFormat(InputFormat value) { SetFormat(value); return *this;}
106
108
112 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
113 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
114 template<typename FormatOptionsT = FormatOptions>
115 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
116 template<typename FormatOptionsT = FormatOptions>
117 Dataset& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
119
121
125 inline const Input& GetInput() const { return m_input; }
126 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
127 template<typename InputT = Input>
128 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
129 template<typename InputT = Input>
130 Dataset& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
138 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
139 template<typename LastModifiedDateT = Aws::Utils::DateTime>
140 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
141 template<typename LastModifiedDateT = Aws::Utils::DateTime>
142 Dataset& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
144
146
149 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
150 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
151 template<typename LastModifiedByT = Aws::String>
152 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
153 template<typename LastModifiedByT = Aws::String>
154 Dataset& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
156
158
162 inline Source GetSource() const { return m_source; }
163 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
164 inline void SetSource(Source value) { m_sourceHasBeenSet = true; m_source = value; }
165 inline Dataset& WithSource(Source value) { SetSource(value); return *this;}
167
169
173 inline const PathOptions& GetPathOptions() const { return m_pathOptions; }
174 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
175 template<typename PathOptionsT = PathOptions>
176 void SetPathOptions(PathOptionsT&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::forward<PathOptionsT>(value); }
177 template<typename PathOptionsT = PathOptions>
178 Dataset& WithPathOptions(PathOptionsT&& value) { SetPathOptions(std::forward<PathOptionsT>(value)); return *this;}
180
182
185 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
189 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 Dataset& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
191 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
192 Dataset& AddTags(TagsKeyT&& key, TagsValueT&& value) {
193 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
194 }
196
198
201 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
202 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
203 template<typename ResourceArnT = Aws::String>
204 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
205 template<typename ResourceArnT = Aws::String>
206 Dataset& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
208 private:
209
210 Aws::String m_accountId;
211 bool m_accountIdHasBeenSet = false;
212
213 Aws::String m_createdBy;
214 bool m_createdByHasBeenSet = false;
215
216 Aws::Utils::DateTime m_createDate{};
217 bool m_createDateHasBeenSet = false;
218
219 Aws::String m_name;
220 bool m_nameHasBeenSet = false;
221
223 bool m_formatHasBeenSet = false;
224
225 FormatOptions m_formatOptions;
226 bool m_formatOptionsHasBeenSet = false;
227
228 Input m_input;
229 bool m_inputHasBeenSet = false;
230
231 Aws::Utils::DateTime m_lastModifiedDate{};
232 bool m_lastModifiedDateHasBeenSet = false;
233
234 Aws::String m_lastModifiedBy;
235 bool m_lastModifiedByHasBeenSet = false;
236
237 Source m_source{Source::NOT_SET};
238 bool m_sourceHasBeenSet = false;
239
240 PathOptions m_pathOptions;
241 bool m_pathOptionsHasBeenSet = false;
242
244 bool m_tagsHasBeenSet = false;
245
246 Aws::String m_resourceArn;
247 bool m_resourceArnHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace GlueDataBrew
252} // namespace Aws
Dataset & WithTags(TagsT &&value)
Definition Dataset.h:190
const FormatOptions & GetFormatOptions() const
Definition Dataset.h:112
Dataset & WithFormat(InputFormat value)
Definition Dataset.h:104
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
Dataset & WithSource(Source value)
Definition Dataset.h:165
void SetFormatOptions(FormatOptionsT &&value)
Definition Dataset.h:115
const Aws::String & GetResourceArn() const
Definition Dataset.h:201
void SetCreateDate(CreateDateT &&value)
Definition Dataset.h:79
const Aws::String & GetAccountId() const
Definition Dataset.h:52
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Dataset.h:185
const Aws::String & GetName() const
Definition Dataset.h:88
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Dataset.h:137
void SetCreatedBy(CreatedByT &&value)
Definition Dataset.h:67
void SetResourceArn(ResourceArnT &&value)
Definition Dataset.h:204
const Input & GetInput() const
Definition Dataset.h:125
void SetSource(Source value)
Definition Dataset.h:164
Dataset & WithName(NameT &&value)
Definition Dataset.h:93
AWS_GLUEDATABREW_API Dataset(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Dataset.h:152
Dataset & WithResourceArn(ResourceArnT &&value)
Definition Dataset.h:206
Dataset & WithInput(InputT &&value)
Definition Dataset.h:130
Dataset & WithFormatOptions(FormatOptionsT &&value)
Definition Dataset.h:117
void SetInput(InputT &&value)
Definition Dataset.h:128
InputFormat GetFormat() const
Definition Dataset.h:101
Dataset & WithLastModifiedBy(LastModifiedByT &&value)
Definition Dataset.h:154
Dataset & WithCreateDate(CreateDateT &&value)
Definition Dataset.h:81
AWS_GLUEDATABREW_API Dataset()=default
const PathOptions & GetPathOptions() const
Definition Dataset.h:173
bool LastModifiedByHasBeenSet() const
Definition Dataset.h:150
void SetName(NameT &&value)
Definition Dataset.h:91
Dataset & WithCreatedBy(CreatedByT &&value)
Definition Dataset.h:69
Dataset & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Dataset.h:192
Dataset & WithAccountId(AccountIdT &&value)
Definition Dataset.h:57
void SetTags(TagsT &&value)
Definition Dataset.h:188
AWS_GLUEDATABREW_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(InputFormat value)
Definition Dataset.h:103
Dataset & WithLastModifiedDate(LastModifiedDateT &&value)
Definition Dataset.h:142
bool LastModifiedDateHasBeenSet() const
Definition Dataset.h:138
void SetPathOptions(PathOptionsT &&value)
Definition Dataset.h:176
const Aws::String & GetLastModifiedBy() const
Definition Dataset.h:149
Dataset & WithPathOptions(PathOptionsT &&value)
Definition Dataset.h:178
void SetAccountId(AccountIdT &&value)
Definition Dataset.h:55
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition Dataset.h:140
const Aws::String & GetCreatedBy() const
Definition Dataset.h:64
const Aws::Utils::DateTime & GetCreateDate() const
Definition Dataset.h:76
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