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/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/personalize/model/DatasetUpdateSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
33 class Dataset
34 {
35 public:
36 AWS_PERSONALIZE_API Dataset() = default;
37 AWS_PERSONALIZE_API Dataset(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Dataset& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
59 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
60 template<typename DatasetArnT = Aws::String>
61 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
62 template<typename DatasetArnT = Aws::String>
63 Dataset& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
71 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
72 template<typename DatasetGroupArnT = Aws::String>
73 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
74 template<typename DatasetGroupArnT = Aws::String>
75 Dataset& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
77
79
84 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
85 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
86 template<typename DatasetTypeT = Aws::String>
87 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
88 template<typename DatasetTypeT = Aws::String>
89 Dataset& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
91
93
96 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
97 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
98 template<typename SchemaArnT = Aws::String>
99 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
100 template<typename SchemaArnT = Aws::String>
101 Dataset& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
103
105
111 inline const Aws::String& GetStatus() const { return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 template<typename StatusT = Aws::String>
114 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
115 template<typename StatusT = Aws::String>
116 Dataset& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
124 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
125 template<typename CreationDateTimeT = Aws::Utils::DateTime>
126 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
127 template<typename CreationDateTimeT = Aws::Utils::DateTime>
128 Dataset& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
136 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
137 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
139 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
140 Dataset& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
142
144
147 inline const DatasetUpdateSummary& GetLatestDatasetUpdate() const { return m_latestDatasetUpdate; }
148 inline bool LatestDatasetUpdateHasBeenSet() const { return m_latestDatasetUpdateHasBeenSet; }
149 template<typename LatestDatasetUpdateT = DatasetUpdateSummary>
150 void SetLatestDatasetUpdate(LatestDatasetUpdateT&& value) { m_latestDatasetUpdateHasBeenSet = true; m_latestDatasetUpdate = std::forward<LatestDatasetUpdateT>(value); }
151 template<typename LatestDatasetUpdateT = DatasetUpdateSummary>
152 Dataset& WithLatestDatasetUpdate(LatestDatasetUpdateT&& value) { SetLatestDatasetUpdate(std::forward<LatestDatasetUpdateT>(value)); return *this;}
154
156
162 inline const Aws::String& GetTrackingId() const { return m_trackingId; }
163 inline bool TrackingIdHasBeenSet() const { return m_trackingIdHasBeenSet; }
164 template<typename TrackingIdT = Aws::String>
165 void SetTrackingId(TrackingIdT&& value) { m_trackingIdHasBeenSet = true; m_trackingId = std::forward<TrackingIdT>(value); }
166 template<typename TrackingIdT = Aws::String>
167 Dataset& WithTrackingId(TrackingIdT&& value) { SetTrackingId(std::forward<TrackingIdT>(value)); return *this;}
169 private:
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 Aws::String m_datasetArn;
175 bool m_datasetArnHasBeenSet = false;
176
177 Aws::String m_datasetGroupArn;
178 bool m_datasetGroupArnHasBeenSet = false;
179
180 Aws::String m_datasetType;
181 bool m_datasetTypeHasBeenSet = false;
182
183 Aws::String m_schemaArn;
184 bool m_schemaArnHasBeenSet = false;
185
186 Aws::String m_status;
187 bool m_statusHasBeenSet = false;
188
189 Aws::Utils::DateTime m_creationDateTime{};
190 bool m_creationDateTimeHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastUpdatedDateTime{};
193 bool m_lastUpdatedDateTimeHasBeenSet = false;
194
195 DatasetUpdateSummary m_latestDatasetUpdate;
196 bool m_latestDatasetUpdateHasBeenSet = false;
197
198 Aws::String m_trackingId;
199 bool m_trackingIdHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Personalize
204} // namespace Aws
Dataset & WithName(NameT &&value)
Definition Dataset.h:51
const Aws::String & GetStatus() const
Definition Dataset.h:111
Dataset & WithDatasetGroupArn(DatasetGroupArnT &&value)
Definition Dataset.h:75
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Dataset.h:138
const Aws::String & GetDatasetGroupArn() const
Definition Dataset.h:70
void SetLatestDatasetUpdate(LatestDatasetUpdateT &&value)
Definition Dataset.h:150
Dataset & WithLatestDatasetUpdate(LatestDatasetUpdateT &&value)
Definition Dataset.h:152
const Aws::String & GetDatasetArn() const
Definition Dataset.h:58
void SetStatus(StatusT &&value)
Definition Dataset.h:114
Dataset & WithDatasetType(DatasetTypeT &&value)
Definition Dataset.h:89
void SetDatasetArn(DatasetArnT &&value)
Definition Dataset.h:61
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrackingId(TrackingIdT &&value)
Definition Dataset.h:165
AWS_PERSONALIZE_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithTrackingId(TrackingIdT &&value)
Definition Dataset.h:167
Dataset & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Dataset.h:140
void SetDatasetType(DatasetTypeT &&value)
Definition Dataset.h:87
bool LastUpdatedDateTimeHasBeenSet() const
Definition Dataset.h:136
void SetSchemaArn(SchemaArnT &&value)
Definition Dataset.h:99
AWS_PERSONALIZE_API Dataset()=default
bool DatasetTypeHasBeenSet() const
Definition Dataset.h:85
const Aws::String & GetSchemaArn() const
Definition Dataset.h:96
Dataset & WithSchemaArn(SchemaArnT &&value)
Definition Dataset.h:101
bool DatasetGroupArnHasBeenSet() const
Definition Dataset.h:71
const Aws::String & GetName() const
Definition Dataset.h:46
Dataset & WithDatasetArn(DatasetArnT &&value)
Definition Dataset.h:63
bool DatasetArnHasBeenSet() const
Definition Dataset.h:59
void SetName(NameT &&value)
Definition Dataset.h:49
const Aws::String & GetDatasetType() const
Definition Dataset.h:84
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Dataset.h:123
void SetDatasetGroupArn(DatasetGroupArnT &&value)
Definition Dataset.h:73
bool LatestDatasetUpdateHasBeenSet() const
Definition Dataset.h:148
const DatasetUpdateSummary & GetLatestDatasetUpdate() const
Definition Dataset.h:147
AWS_PERSONALIZE_API Dataset(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithCreationDateTime(CreationDateTimeT &&value)
Definition Dataset.h:128
Dataset & WithStatus(StatusT &&value)
Definition Dataset.h:116
bool CreationDateTimeHasBeenSet() const
Definition Dataset.h:124
const Aws::String & GetTrackingId() const
Definition Dataset.h:162
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Dataset.h:135
void SetCreationDateTime(CreationDateTimeT &&value)
Definition Dataset.h:126
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue