AWS SDK for C++  1.9.108
AWS SDK for C++
Dataset.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline Dataset& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
86 
90  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
91 
95  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
96 
100  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
101 
105  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
106 
110  inline Dataset& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
111 
115  inline Dataset& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
116 
120  inline Dataset& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
127 
131  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
132 
136  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
137 
141  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
142 
146  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
147 
151  inline Dataset& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
152 
156  inline Dataset& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
157 
161  inline Dataset& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
162 
163 
168  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
169 
174  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
175 
180  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
181 
186  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
187 
192  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
193 
198  inline Dataset& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
199 
204  inline Dataset& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
205 
210  inline Dataset& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
211 
212 
216  inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
217 
221  inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
222 
226  inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
227 
231  inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
232 
236  inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
237 
241  inline Dataset& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
242 
246  inline Dataset& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
247 
251  inline Dataset& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
252 
253 
260  inline const Aws::String& GetStatus() const{ return m_status; }
261 
268  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
269 
276  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
277 
284  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
285 
292  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
293 
300  inline Dataset& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
301 
308  inline Dataset& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
309 
316  inline Dataset& WithStatus(const char* value) { SetStatus(value); return *this;}
317 
318 
322  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
323 
327  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
328 
332  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
333 
337  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
338 
342  inline Dataset& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
343 
347  inline Dataset& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
348 
349 
353  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
354 
358  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
359 
363  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
364 
368  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
369 
373  inline Dataset& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
374 
378  inline Dataset& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
379 
380  private:
381 
382  Aws::String m_name;
383  bool m_nameHasBeenSet;
384 
385  Aws::String m_datasetArn;
386  bool m_datasetArnHasBeenSet;
387 
388  Aws::String m_datasetGroupArn;
389  bool m_datasetGroupArnHasBeenSet;
390 
391  Aws::String m_datasetType;
392  bool m_datasetTypeHasBeenSet;
393 
394  Aws::String m_schemaArn;
395  bool m_schemaArnHasBeenSet;
396 
397  Aws::String m_status;
398  bool m_statusHasBeenSet;
399 
400  Aws::Utils::DateTime m_creationDateTime;
401  bool m_creationDateTimeHasBeenSet;
402 
403  Aws::Utils::DateTime m_lastUpdatedDateTime;
404  bool m_lastUpdatedDateTimeHasBeenSet;
405  };
406 
407 } // namespace Model
408 } // namespace Personalize
409 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::Dataset::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: Dataset.h:105
Aws::Personalize::Model::Dataset::SetStatus
void SetStatus(const Aws::String &value)
Definition: Dataset.h:276
Aws::Personalize::Model::Dataset::WithName
Dataset & WithName(Aws::String &&value)
Definition: Dataset.h:74
Aws::Personalize::Model::Dataset::GetName
const Aws::String & GetName() const
Definition: Dataset.h:44
Aws::Personalize::Model::Dataset::WithCreationDateTime
Dataset & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Dataset.h:347
Aws::Personalize::Model::Dataset::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Dataset.h:368
Aws::Personalize::Model::Dataset::WithDatasetType
Dataset & WithDatasetType(Aws::String &&value)
Definition: Dataset.h:204
Aws::Personalize::Model::Dataset::GetSchemaArn
const Aws::String & GetSchemaArn() const
Definition: Dataset.h:216
Aws::Personalize::Model::Dataset::WithLastUpdatedDateTime
Dataset & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Dataset.h:373
Aws::Personalize::Model::Dataset::Dataset
Dataset()
Aws::Personalize::Model::Dataset::WithStatus
Dataset & WithStatus(const char *value)
Definition: Dataset.h:316
Aws::Personalize::Model::Dataset::SetName
void SetName(const Aws::String &value)
Definition: Dataset.h:54
Aws::Personalize::Model::Dataset::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: Dataset.h:186
Aws::Personalize::Model::Dataset::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: Dataset.h:146
Aws::Personalize::Model::Dataset::WithDatasetArn
Dataset & WithDatasetArn(const char *value)
Definition: Dataset.h:120
Aws::Personalize::Model::Dataset::SetSchemaArn
void SetSchemaArn(Aws::String &&value)
Definition: Dataset.h:231
DateTime.h
Aws::Personalize::Model::Dataset::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Dataset.h:268
Aws::Personalize::Model::Dataset::SetName
void SetName(const char *value)
Definition: Dataset.h:64
Aws::Personalize::Model::Dataset::WithDatasetType
Dataset & WithDatasetType(const Aws::String &value)
Definition: Dataset.h:198
Aws::Personalize::Model::Dataset::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: Dataset.h:85
Aws::Personalize::Model::Dataset::WithDatasetGroupArn
Dataset & WithDatasetGroupArn(const char *value)
Definition: Dataset.h:161
Aws::Personalize::Model::Dataset::WithStatus
Dataset & WithStatus(const Aws::String &value)
Definition: Dataset.h:300
Aws::Personalize::Model::Dataset::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: Dataset.h:322
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::Dataset::WithLastUpdatedDateTime
Dataset & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: Dataset.h:378
Aws::Personalize::Model::Dataset::WithDatasetGroupArn
Dataset & WithDatasetGroupArn(Aws::String &&value)
Definition: Dataset.h:156
Aws::Personalize::Model::Dataset::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: Dataset.h:174
Aws::Personalize::Model::Dataset::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: Dataset.h:141
Aws::Personalize::Model::Dataset::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: Dataset.h:180
Aws::Personalize::Model::Dataset::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: Dataset.h:95
Aws::Personalize::Model::Dataset::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: Dataset.h:337
Aws::Personalize::Model::Dataset::SetStatus
void SetStatus(const char *value)
Definition: Dataset.h:292
Aws::Personalize::Model::Dataset::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: Dataset.h:353
Aws::Personalize::Model::Dataset::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: Dataset.h:126
Aws::Personalize::Model::Dataset::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::Dataset::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: Dataset.h:131
Aws::Personalize::Model::Dataset::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Dataset.h:49
Aws::Personalize::Model::Dataset::SetStatus
void SetStatus(Aws::String &&value)
Definition: Dataset.h:284
Aws::Personalize::Model::Dataset::WithDatasetArn
Dataset & WithDatasetArn(Aws::String &&value)
Definition: Dataset.h:115
Aws::Personalize::Model::Dataset::WithCreationDateTime
Dataset & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Dataset.h:342
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::Dataset::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: Dataset.h:90
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::Dataset::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: Dataset.h:327
Aws::Personalize::Model::Dataset::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: Dataset.h:358
Aws::Personalize::Model::Dataset::SetName
void SetName(Aws::String &&value)
Definition: Dataset.h:59
Aws::Personalize::Model::Dataset::SetDatasetType
void SetDatasetType(const char *value)
Definition: Dataset.h:192
Aws::Personalize::Model::Dataset::WithDatasetArn
Dataset & WithDatasetArn(const Aws::String &value)
Definition: Dataset.h:110
Aws::Personalize::Model::Dataset::WithDatasetGroupArn
Dataset & WithDatasetGroupArn(const Aws::String &value)
Definition: Dataset.h:151
Aws::Personalize::Model::Dataset::WithStatus
Dataset & WithStatus(Aws::String &&value)
Definition: Dataset.h:308
Aws::Personalize::Model::Dataset::SetSchemaArn
void SetSchemaArn(const Aws::String &value)
Definition: Dataset.h:226
Aws::Personalize::Model::Dataset::Dataset
Dataset(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Dataset::SetSchemaArn
void SetSchemaArn(const char *value)
Definition: Dataset.h:236
Aws::Personalize::Model::Dataset::GetStatus
const Aws::String & GetStatus() const
Definition: Dataset.h:260
Aws::Personalize::Model::Dataset::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: Dataset.h:168
Aws::Personalize::Model::Dataset::SchemaArnHasBeenSet
bool SchemaArnHasBeenSet() const
Definition: Dataset.h:221
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Dataset
Definition: Dataset.h:33
Aws::Personalize::Model::Dataset::WithName
Dataset & WithName(const Aws::String &value)
Definition: Dataset.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::Dataset::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: Dataset.h:332
Aws::Personalize::Model::Dataset::WithSchemaArn
Dataset & WithSchemaArn(const Aws::String &value)
Definition: Dataset.h:241
Personalize_EXPORTS.h
Aws::Personalize::Model::Dataset::WithDatasetType
Dataset & WithDatasetType(const char *value)
Definition: Dataset.h:210
Aws::Personalize::Model::Dataset::WithSchemaArn
Dataset & WithSchemaArn(Aws::String &&value)
Definition: Dataset.h:246
Aws::Personalize::Model::Dataset::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: Dataset.h:363
Aws::Personalize::Model::Dataset::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: Dataset.h:136
Aws::Personalize::Model::Dataset::WithName
Dataset & WithName(const char *value)
Definition: Dataset.h:79
Aws::Personalize::Model::Dataset::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: Dataset.h:100
Aws::Personalize::Model::Dataset::operator=
Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::Dataset::WithSchemaArn
Dataset & WithSchemaArn(const char *value)
Definition: Dataset.h:251