AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Dataset.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/DatasetUpdateSummary.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize {
22namespace Model {
23
29class Dataset {
30 public:
31 AWS_PERSONALIZE_API Dataset() = default;
32 AWS_PERSONALIZE_API Dataset(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PERSONALIZE_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 Dataset& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
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) {
62 m_datasetArnHasBeenSet = true;
63 m_datasetArn = std::forward<DatasetArnT>(value);
64 }
65 template <typename DatasetArnT = Aws::String>
66 Dataset& WithDatasetArn(DatasetArnT&& value) {
67 SetDatasetArn(std::forward<DatasetArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
77 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
78 template <typename DatasetGroupArnT = Aws::String>
79 void SetDatasetGroupArn(DatasetGroupArnT&& value) {
80 m_datasetGroupArnHasBeenSet = true;
81 m_datasetGroupArn = std::forward<DatasetGroupArnT>(value);
82 }
83 template <typename DatasetGroupArnT = Aws::String>
84 Dataset& WithDatasetGroupArn(DatasetGroupArnT&& value) {
85 SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value));
86 return *this;
87 }
89
91
96 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
97 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
98 template <typename DatasetTypeT = Aws::String>
99 void SetDatasetType(DatasetTypeT&& value) {
100 m_datasetTypeHasBeenSet = true;
101 m_datasetType = std::forward<DatasetTypeT>(value);
102 }
103 template <typename DatasetTypeT = Aws::String>
104 Dataset& WithDatasetType(DatasetTypeT&& value) {
105 SetDatasetType(std::forward<DatasetTypeT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
115 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
116 template <typename SchemaArnT = Aws::String>
117 void SetSchemaArn(SchemaArnT&& value) {
118 m_schemaArnHasBeenSet = true;
119 m_schemaArn = std::forward<SchemaArnT>(value);
120 }
121 template <typename SchemaArnT = Aws::String>
122 Dataset& WithSchemaArn(SchemaArnT&& value) {
123 SetSchemaArn(std::forward<SchemaArnT>(value));
124 return *this;
125 }
127
129
135 inline const Aws::String& GetStatus() const { return m_status; }
136 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 template <typename StatusT = Aws::String>
138 void SetStatus(StatusT&& value) {
139 m_statusHasBeenSet = true;
140 m_status = std::forward<StatusT>(value);
141 }
142 template <typename StatusT = Aws::String>
143 Dataset& WithStatus(StatusT&& value) {
144 SetStatus(std::forward<StatusT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
154 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
155 template <typename CreationDateTimeT = Aws::Utils::DateTime>
156 void SetCreationDateTime(CreationDateTimeT&& value) {
157 m_creationDateTimeHasBeenSet = true;
158 m_creationDateTime = std::forward<CreationDateTimeT>(value);
159 }
160 template <typename CreationDateTimeT = Aws::Utils::DateTime>
161 Dataset& WithCreationDateTime(CreationDateTimeT&& value) {
162 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
172 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
173 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
174 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
175 m_lastUpdatedDateTimeHasBeenSet = true;
176 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
177 }
178 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
179 Dataset& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
180 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
181 return *this;
182 }
184
186
189 inline const DatasetUpdateSummary& GetLatestDatasetUpdate() const { return m_latestDatasetUpdate; }
190 inline bool LatestDatasetUpdateHasBeenSet() const { return m_latestDatasetUpdateHasBeenSet; }
191 template <typename LatestDatasetUpdateT = DatasetUpdateSummary>
192 void SetLatestDatasetUpdate(LatestDatasetUpdateT&& value) {
193 m_latestDatasetUpdateHasBeenSet = true;
194 m_latestDatasetUpdate = std::forward<LatestDatasetUpdateT>(value);
195 }
196 template <typename LatestDatasetUpdateT = DatasetUpdateSummary>
197 Dataset& WithLatestDatasetUpdate(LatestDatasetUpdateT&& value) {
198 SetLatestDatasetUpdate(std::forward<LatestDatasetUpdateT>(value));
199 return *this;
200 }
202
204
210 inline const Aws::String& GetTrackingId() const { return m_trackingId; }
211 inline bool TrackingIdHasBeenSet() const { return m_trackingIdHasBeenSet; }
212 template <typename TrackingIdT = Aws::String>
213 void SetTrackingId(TrackingIdT&& value) {
214 m_trackingIdHasBeenSet = true;
215 m_trackingId = std::forward<TrackingIdT>(value);
216 }
217 template <typename TrackingIdT = Aws::String>
218 Dataset& WithTrackingId(TrackingIdT&& value) {
219 SetTrackingId(std::forward<TrackingIdT>(value));
220 return *this;
221 }
223 private:
224 Aws::String m_name;
225
226 Aws::String m_datasetArn;
227
228 Aws::String m_datasetGroupArn;
229
230 Aws::String m_datasetType;
231
232 Aws::String m_schemaArn;
233
234 Aws::String m_status;
235
236 Aws::Utils::DateTime m_creationDateTime{};
237
238 Aws::Utils::DateTime m_lastUpdatedDateTime{};
239
240 DatasetUpdateSummary m_latestDatasetUpdate;
241
242 Aws::String m_trackingId;
243 bool m_nameHasBeenSet = false;
244 bool m_datasetArnHasBeenSet = false;
245 bool m_datasetGroupArnHasBeenSet = false;
246 bool m_datasetTypeHasBeenSet = false;
247 bool m_schemaArnHasBeenSet = false;
248 bool m_statusHasBeenSet = false;
249 bool m_creationDateTimeHasBeenSet = false;
250 bool m_lastUpdatedDateTimeHasBeenSet = false;
251 bool m_latestDatasetUpdateHasBeenSet = false;
252 bool m_trackingIdHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace Personalize
257} // namespace Aws
Dataset & WithName(NameT &&value)
Definition Dataset.h:48
const Aws::String & GetStatus() const
Definition Dataset.h:135
Dataset & WithDatasetGroupArn(DatasetGroupArnT &&value)
Definition Dataset.h:84
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Dataset.h:174
const Aws::String & GetDatasetGroupArn() const
Definition Dataset.h:76
void SetLatestDatasetUpdate(LatestDatasetUpdateT &&value)
Definition Dataset.h:192
Dataset & WithLatestDatasetUpdate(LatestDatasetUpdateT &&value)
Definition Dataset.h:197
const Aws::String & GetDatasetArn() const
Definition Dataset.h:58
void SetStatus(StatusT &&value)
Definition Dataset.h:138
Dataset & WithDatasetType(DatasetTypeT &&value)
Definition Dataset.h:104
void SetDatasetArn(DatasetArnT &&value)
Definition Dataset.h:61
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrackingId(TrackingIdT &&value)
Definition Dataset.h:213
AWS_PERSONALIZE_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithTrackingId(TrackingIdT &&value)
Definition Dataset.h:218
Dataset & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition Dataset.h:179
void SetDatasetType(DatasetTypeT &&value)
Definition Dataset.h:99
bool LastUpdatedDateTimeHasBeenSet() const
Definition Dataset.h:172
void SetSchemaArn(SchemaArnT &&value)
Definition Dataset.h:117
AWS_PERSONALIZE_API Dataset()=default
bool DatasetTypeHasBeenSet() const
Definition Dataset.h:97
const Aws::String & GetSchemaArn() const
Definition Dataset.h:114
Dataset & WithSchemaArn(SchemaArnT &&value)
Definition Dataset.h:122
bool DatasetGroupArnHasBeenSet() const
Definition Dataset.h:77
const Aws::String & GetName() const
Definition Dataset.h:40
Dataset & WithDatasetArn(DatasetArnT &&value)
Definition Dataset.h:66
bool DatasetArnHasBeenSet() const
Definition Dataset.h:59
void SetName(NameT &&value)
Definition Dataset.h:43
const Aws::String & GetDatasetType() const
Definition Dataset.h:96
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Dataset.h:153
void SetDatasetGroupArn(DatasetGroupArnT &&value)
Definition Dataset.h:79
bool LatestDatasetUpdateHasBeenSet() const
Definition Dataset.h:190
const DatasetUpdateSummary & GetLatestDatasetUpdate() const
Definition Dataset.h:189
AWS_PERSONALIZE_API Dataset(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithCreationDateTime(CreationDateTimeT &&value)
Definition Dataset.h:161
Dataset & WithStatus(StatusT &&value)
Definition Dataset.h:143
bool CreationDateTimeHasBeenSet() const
Definition Dataset.h:154
const Aws::String & GetTrackingId() const
Definition Dataset.h:210
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Dataset.h:171
void SetCreationDateTime(CreationDateTimeT &&value)
Definition Dataset.h:156
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue