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/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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Dataset& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
61 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
62 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
63 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
64 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
65 inline Dataset& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
66 inline Dataset& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
67 inline Dataset& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
69
71
74 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
75 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
76 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
77 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
78 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
79 inline Dataset& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
80 inline Dataset& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
81 inline Dataset& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
83
85
90 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
91 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
92 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
93 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
94 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
95 inline Dataset& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
96 inline Dataset& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
97 inline Dataset& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
99
101
104 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
105 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
106 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
107 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
108 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
109 inline Dataset& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
110 inline Dataset& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
111 inline Dataset& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
113
115
121 inline const Aws::String& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
126 inline Dataset& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
127 inline Dataset& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
128 inline Dataset& WithStatus(const char* value) { SetStatus(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
136 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
137 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
138 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
139 inline Dataset& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
140 inline Dataset& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
148 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
149 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
150 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
151 inline Dataset& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
152 inline Dataset& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
154
156
159 inline const DatasetUpdateSummary& GetLatestDatasetUpdate() const{ return m_latestDatasetUpdate; }
160 inline bool LatestDatasetUpdateHasBeenSet() const { return m_latestDatasetUpdateHasBeenSet; }
161 inline void SetLatestDatasetUpdate(const DatasetUpdateSummary& value) { m_latestDatasetUpdateHasBeenSet = true; m_latestDatasetUpdate = value; }
162 inline void SetLatestDatasetUpdate(DatasetUpdateSummary&& value) { m_latestDatasetUpdateHasBeenSet = true; m_latestDatasetUpdate = std::move(value); }
163 inline Dataset& WithLatestDatasetUpdate(const DatasetUpdateSummary& value) { SetLatestDatasetUpdate(value); return *this;}
164 inline Dataset& WithLatestDatasetUpdate(DatasetUpdateSummary&& value) { SetLatestDatasetUpdate(std::move(value)); return *this;}
166
168
174 inline const Aws::String& GetTrackingId() const{ return m_trackingId; }
175 inline bool TrackingIdHasBeenSet() const { return m_trackingIdHasBeenSet; }
176 inline void SetTrackingId(const Aws::String& value) { m_trackingIdHasBeenSet = true; m_trackingId = value; }
177 inline void SetTrackingId(Aws::String&& value) { m_trackingIdHasBeenSet = true; m_trackingId = std::move(value); }
178 inline void SetTrackingId(const char* value) { m_trackingIdHasBeenSet = true; m_trackingId.assign(value); }
179 inline Dataset& WithTrackingId(const Aws::String& value) { SetTrackingId(value); return *this;}
180 inline Dataset& WithTrackingId(Aws::String&& value) { SetTrackingId(std::move(value)); return *this;}
181 inline Dataset& WithTrackingId(const char* value) { SetTrackingId(value); return *this;}
183 private:
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_datasetArn;
189 bool m_datasetArnHasBeenSet = false;
190
191 Aws::String m_datasetGroupArn;
192 bool m_datasetGroupArnHasBeenSet = false;
193
194 Aws::String m_datasetType;
195 bool m_datasetTypeHasBeenSet = false;
196
197 Aws::String m_schemaArn;
198 bool m_schemaArnHasBeenSet = false;
199
200 Aws::String m_status;
201 bool m_statusHasBeenSet = false;
202
203 Aws::Utils::DateTime m_creationDateTime;
204 bool m_creationDateTimeHasBeenSet = false;
205
206 Aws::Utils::DateTime m_lastUpdatedDateTime;
207 bool m_lastUpdatedDateTimeHasBeenSet = false;
208
209 DatasetUpdateSummary m_latestDatasetUpdate;
210 bool m_latestDatasetUpdateHasBeenSet = false;
211
212 Aws::String m_trackingId;
213 bool m_trackingIdHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace Personalize
218} // namespace Aws
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition Dataset.h:137
Dataset & WithTrackingId(const char *value)
Definition Dataset.h:181
Dataset & WithStatus(const char *value)
Definition Dataset.h:128
void SetTrackingId(const char *value)
Definition Dataset.h:178
const Aws::String & GetStatus() const
Definition Dataset.h:121
void SetSchemaArn(const Aws::String &value)
Definition Dataset.h:106
Dataset & WithStatus(const Aws::String &value)
Definition Dataset.h:126
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Dataset.h:149
void SetName(const Aws::String &value)
Definition Dataset.h:48
Dataset & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition Dataset.h:140
Dataset & WithTrackingId(Aws::String &&value)
Definition Dataset.h:180
void SetDatasetArn(const char *value)
Definition Dataset.h:64
const Aws::String & GetDatasetGroupArn() const
Definition Dataset.h:74
Dataset & WithDatasetArn(Aws::String &&value)
Definition Dataset.h:66
const Aws::String & GetDatasetArn() const
Definition Dataset.h:60
void SetStatus(const char *value)
Definition Dataset.h:125
void SetDatasetArn(Aws::String &&value)
Definition Dataset.h:63
Dataset & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Dataset.h:152
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetType(const Aws::String &value)
Definition Dataset.h:92
void SetDatasetGroupArn(const Aws::String &value)
Definition Dataset.h:76
AWS_PERSONALIZE_API Dataset & operator=(Aws::Utils::Json::JsonView jsonValue)
Dataset & WithName(const char *value)
Definition Dataset.h:53
void SetDatasetGroupArn(Aws::String &&value)
Definition Dataset.h:77
bool LastUpdatedDateTimeHasBeenSet() const
Definition Dataset.h:148
void SetStatus(const Aws::String &value)
Definition Dataset.h:123
Dataset & WithDatasetType(Aws::String &&value)
Definition Dataset.h:96
void SetLatestDatasetUpdate(const DatasetUpdateSummary &value)
Definition Dataset.h:161
AWS_PERSONALIZE_API Dataset()
Dataset & WithDatasetArn(const char *value)
Definition Dataset.h:67
Dataset & WithSchemaArn(const Aws::String &value)
Definition Dataset.h:109
void SetTrackingId(Aws::String &&value)
Definition Dataset.h:177
bool DatasetTypeHasBeenSet() const
Definition Dataset.h:91
const Aws::String & GetSchemaArn() const
Definition Dataset.h:104
Dataset & WithDatasetType(const Aws::String &value)
Definition Dataset.h:95
void SetTrackingId(const Aws::String &value)
Definition Dataset.h:176
void SetDatasetType(const char *value)
Definition Dataset.h:94
Dataset & WithDatasetGroupArn(const char *value)
Definition Dataset.h:81
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition Dataset.h:138
bool DatasetGroupArnHasBeenSet() const
Definition Dataset.h:75
Dataset & WithDatasetGroupArn(const Aws::String &value)
Definition Dataset.h:79
Dataset & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition Dataset.h:139
void SetSchemaArn(Aws::String &&value)
Definition Dataset.h:107
Dataset & WithName(const Aws::String &value)
Definition Dataset.h:51
void SetDatasetArn(const Aws::String &value)
Definition Dataset.h:62
Dataset & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition Dataset.h:151
Dataset & WithStatus(Aws::String &&value)
Definition Dataset.h:127
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition Dataset.h:150
Dataset & WithSchemaArn(const char *value)
Definition Dataset.h:111
Dataset & WithLatestDatasetUpdate(DatasetUpdateSummary &&value)
Definition Dataset.h:164
Dataset & WithSchemaArn(Aws::String &&value)
Definition Dataset.h:110
Dataset & WithDatasetGroupArn(Aws::String &&value)
Definition Dataset.h:80
void SetDatasetType(Aws::String &&value)
Definition Dataset.h:93
const Aws::String & GetName() const
Definition Dataset.h:46
bool DatasetArnHasBeenSet() const
Definition Dataset.h:61
const Aws::String & GetDatasetType() const
Definition Dataset.h:90
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition Dataset.h:135
Dataset & WithTrackingId(const Aws::String &value)
Definition Dataset.h:179
void SetName(const char *value)
Definition Dataset.h:50
Dataset & WithDatasetArn(const Aws::String &value)
Definition Dataset.h:65
void SetSchemaArn(const char *value)
Definition Dataset.h:108
bool LatestDatasetUpdateHasBeenSet() const
Definition Dataset.h:160
Dataset & WithName(Aws::String &&value)
Definition Dataset.h:52
const DatasetUpdateSummary & GetLatestDatasetUpdate() const
Definition Dataset.h:159
void SetStatus(Aws::String &&value)
Definition Dataset.h:124
AWS_PERSONALIZE_API Dataset(Aws::Utils::Json::JsonView jsonValue)
void SetLatestDatasetUpdate(DatasetUpdateSummary &&value)
Definition Dataset.h:162
Dataset & WithDatasetType(const char *value)
Definition Dataset.h:97
bool CreationDateTimeHasBeenSet() const
Definition Dataset.h:136
const Aws::String & GetTrackingId() const
Definition Dataset.h:174
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition Dataset.h:147
void SetName(Aws::String &&value)
Definition Dataset.h:49
Dataset & WithLatestDatasetUpdate(const DatasetUpdateSummary &value)
Definition Dataset.h:163
void SetDatasetGroupArn(const char *value)
Definition Dataset.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue