AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
56 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
57 inline Dataset& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
58 inline Dataset& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
59 inline Dataset& WithAccountId(const char* value) { SetAccountId(value); return *this;}
61
63
66 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
67 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
68 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
69 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
70 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
71 inline Dataset& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
72 inline Dataset& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
73 inline Dataset& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
81 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
82 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
83 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
84 inline Dataset& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
85 inline Dataset& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline Dataset& WithName(const char* value) { SetName(value); return *this;}
101
103
107 inline const InputFormat& GetFormat() const{ return m_format; }
108 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
109 inline void SetFormat(const InputFormat& value) { m_formatHasBeenSet = true; m_format = value; }
110 inline void SetFormat(InputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
111 inline Dataset& WithFormat(const InputFormat& value) { SetFormat(value); return *this;}
112 inline Dataset& WithFormat(InputFormat&& value) { SetFormat(std::move(value)); return *this;}
114
116
120 inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; }
121 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
122 inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
123 inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
124 inline Dataset& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;}
125 inline Dataset& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
127
129
133 inline const Input& GetInput() const{ return m_input; }
134 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
135 inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
136 inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
137 inline Dataset& WithInput(const Input& value) { SetInput(value); return *this;}
138 inline Dataset& WithInput(Input&& value) { SetInput(std::move(value)); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
146 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
147 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
148 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
149 inline Dataset& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
150 inline Dataset& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
152
154
157 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
158 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
159 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
160 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
161 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
162 inline Dataset& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
163 inline Dataset& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
164 inline Dataset& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
166
168
172 inline const Source& GetSource() const{ return m_source; }
173 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
174 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
175 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
176 inline Dataset& WithSource(const Source& value) { SetSource(value); return *this;}
177 inline Dataset& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
179
181
185 inline const PathOptions& GetPathOptions() const{ return m_pathOptions; }
186 inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; }
187 inline void SetPathOptions(const PathOptions& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = value; }
188 inline void SetPathOptions(PathOptions&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::move(value); }
189 inline Dataset& WithPathOptions(const PathOptions& value) { SetPathOptions(value); return *this;}
190 inline Dataset& WithPathOptions(PathOptions&& value) { SetPathOptions(std::move(value)); return *this;}
192
194
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
198 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
199 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
200 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
201 inline Dataset& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
202 inline Dataset& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
203 inline Dataset& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
204 inline Dataset& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 inline Dataset& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
206 inline Dataset& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline Dataset& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
208 inline Dataset& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209 inline Dataset& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
211
213
216 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
217 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
218 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
219 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
220 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
221 inline Dataset& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
222 inline Dataset& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
223 inline Dataset& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
225 private:
226
227 Aws::String m_accountId;
228 bool m_accountIdHasBeenSet = false;
229
230 Aws::String m_createdBy;
231 bool m_createdByHasBeenSet = false;
232
233 Aws::Utils::DateTime m_createDate;
234 bool m_createDateHasBeenSet = false;
235
236 Aws::String m_name;
237 bool m_nameHasBeenSet = false;
238
239 InputFormat m_format;
240 bool m_formatHasBeenSet = false;
241
242 FormatOptions m_formatOptions;
243 bool m_formatOptionsHasBeenSet = false;
244
245 Input m_input;
246 bool m_inputHasBeenSet = false;
247
248 Aws::Utils::DateTime m_lastModifiedDate;
249 bool m_lastModifiedDateHasBeenSet = false;
250
251 Aws::String m_lastModifiedBy;
252 bool m_lastModifiedByHasBeenSet = false;
253
254 Source m_source;
255 bool m_sourceHasBeenSet = false;
256
257 PathOptions m_pathOptions;
258 bool m_pathOptionsHasBeenSet = false;
259
261 bool m_tagsHasBeenSet = false;
262
263 Aws::String m_resourceArn;
264 bool m_resourceArnHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace GlueDataBrew
269} // namespace Aws
Dataset & AddTags(const Aws::String &key, Aws::String &&value)
Definition Dataset.h:205
const FormatOptions & GetFormatOptions() const
Definition Dataset.h:120
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInput(Input &&value)
Definition Dataset.h:136
void SetInput(const Input &value)
Definition Dataset.h:135
const Aws::String & GetResourceArn() const
Definition Dataset.h:216
Dataset & AddTags(Aws::String &&key, Aws::String &&value)
Definition Dataset.h:206
void SetLastModifiedBy(const Aws::String &value)
Definition Dataset.h:159
void SetAccountId(const char *value)
Definition Dataset.h:56
Dataset & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Dataset.h:202
Dataset & WithAccountId(const char *value)
Definition Dataset.h:59
const Aws::String & GetAccountId() const
Definition Dataset.h:52
void SetFormatOptions(const FormatOptions &value)
Definition Dataset.h:122
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Dataset.h:197
AWS_GLUEDATABREW_API Dataset()
void SetPathOptions(const PathOptions &value)
Definition Dataset.h:187
const Aws::String & GetName() const
Definition Dataset.h:92
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Dataset.h:145
void SetSource(const Source &value)
Definition Dataset.h:174
Dataset & WithFormatOptions(const FormatOptions &value)
Definition Dataset.h:124
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Dataset.h:200
Dataset & WithResourceArn(Aws::String &&value)
Definition Dataset.h:222
void SetLastModifiedBy(Aws::String &&value)
Definition Dataset.h:160
void SetCreatedBy(const char *value)
Definition Dataset.h:70
Dataset & WithCreateDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:85
Dataset & WithAccountId(Aws::String &&value)
Definition Dataset.h:58
Dataset & WithInput(const Input &value)
Definition Dataset.h:137
Dataset & WithResourceArn(const Aws::String &value)
Definition Dataset.h:221
Dataset & WithCreatedBy(Aws::String &&value)
Definition Dataset.h:72
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:82
Dataset & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:150
void SetFormatOptions(FormatOptions &&value)
Definition Dataset.h:123
void SetName(Aws::String &&value)
Definition Dataset.h:95
const Input & GetInput() const
Definition Dataset.h:133
void SetFormat(InputFormat &&value)
Definition Dataset.h:110
Dataset & WithLastModifiedBy(Aws::String &&value)
Definition Dataset.h:163
void SetResourceArn(const char *value)
Definition Dataset.h:220
AWS_GLUEDATABREW_API Dataset(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithCreatedBy(const char *value)
Definition Dataset.h:73
void SetPathOptions(PathOptions &&value)
Definition Dataset.h:188
void SetFormat(const InputFormat &value)
Definition Dataset.h:109
Dataset & WithInput(Input &&value)
Definition Dataset.h:138
Dataset & AddTags(const char *key, const char *value)
Definition Dataset.h:209
Dataset & WithCreatedBy(const Aws::String &value)
Definition Dataset.h:71
void SetName(const Aws::String &value)
Definition Dataset.h:94
Dataset & WithFormat(InputFormat &&value)
Definition Dataset.h:112
Dataset & AddTags(Aws::String &&key, const char *value)
Definition Dataset.h:208
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:147
void SetAccountId(Aws::String &&value)
Definition Dataset.h:55
void SetSource(Source &&value)
Definition Dataset.h:175
const Source & GetSource() const
Definition Dataset.h:172
Dataset & WithPathOptions(const PathOptions &value)
Definition Dataset.h:189
const PathOptions & GetPathOptions() const
Definition Dataset.h:185
const InputFormat & GetFormat() const
Definition Dataset.h:107
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Dataset.h:199
Dataset & WithLastModifiedBy(const Aws::String &value)
Definition Dataset.h:162
bool LastModifiedByHasBeenSet() const
Definition Dataset.h:158
void SetLastModifiedBy(const char *value)
Definition Dataset.h:161
Dataset & WithAccountId(const Aws::String &value)
Definition Dataset.h:57
Dataset & WithName(Aws::String &&value)
Definition Dataset.h:98
Dataset & AddTags(const Aws::String &key, const Aws::String &value)
Definition Dataset.h:203
void SetCreatedBy(Aws::String &&value)
Definition Dataset.h:69
void SetResourceArn(const Aws::String &value)
Definition Dataset.h:218
void SetResourceArn(Aws::String &&value)
Definition Dataset.h:219
Dataset & WithLastModifiedBy(const char *value)
Definition Dataset.h:164
void SetAccountId(const Aws::String &value)
Definition Dataset.h:54
Dataset & AddTags(const char *key, Aws::String &&value)
Definition Dataset.h:207
AWS_GLUEDATABREW_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithName(const Aws::String &value)
Definition Dataset.h:97
Dataset & WithCreateDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:84
bool LastModifiedDateHasBeenSet() const
Definition Dataset.h:146
Dataset & WithSource(Source &&value)
Definition Dataset.h:177
Dataset & WithSource(const Source &value)
Definition Dataset.h:176
Dataset & WithResourceArn(const char *value)
Definition Dataset.h:223
void SetName(const char *value)
Definition Dataset.h:96
const Aws::String & GetLastModifiedBy() const
Definition Dataset.h:157
Dataset & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Dataset.h:149
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:148
Dataset & AddTags(Aws::String &&key, const Aws::String &value)
Definition Dataset.h:204
Dataset & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Dataset.h:201
Dataset & WithName(const char *value)
Definition Dataset.h:99
Dataset & WithPathOptions(PathOptions &&value)
Definition Dataset.h:190
void SetCreatedBy(const Aws::String &value)
Definition Dataset.h:68
Dataset & WithFormat(const InputFormat &value)
Definition Dataset.h:111
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition Dataset.h:83
const Aws::String & GetCreatedBy() const
Definition Dataset.h:66
Dataset & WithFormatOptions(FormatOptions &&value)
Definition Dataset.h:125
const Aws::Utils::DateTime & GetCreateDate() const
Definition Dataset.h:80
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