AWS SDK for C++  1.9.102
AWS SDK for C++
DatasetSummary.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline DatasetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline DatasetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline DatasetSummary& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
87 
91  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
92 
96  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
97 
101  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
102 
106  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
107 
111  inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
112 
116  inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
117 
121  inline DatasetSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
122 
123 
129  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
130 
136  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
137 
143  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
144 
150  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
151 
157  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
158 
164  inline DatasetSummary& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
165 
171  inline DatasetSummary& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
172 
178  inline DatasetSummary& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
179 
180 
187  inline const Aws::String& GetStatus() const{ return m_status; }
188 
195  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
196 
203  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
204 
211  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
212 
219  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
220 
227  inline DatasetSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
228 
235  inline DatasetSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
236 
243  inline DatasetSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
244 
245 
249  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
250 
254  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
255 
259  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
260 
264  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
265 
269  inline DatasetSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
270 
274  inline DatasetSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
275 
276 
280  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
281 
285  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
286 
290  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
291 
295  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
296 
300  inline DatasetSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
301 
305  inline DatasetSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
306 
307  private:
308 
309  Aws::String m_name;
310  bool m_nameHasBeenSet;
311 
312  Aws::String m_datasetArn;
313  bool m_datasetArnHasBeenSet;
314 
315  Aws::String m_datasetType;
316  bool m_datasetTypeHasBeenSet;
317 
318  Aws::String m_status;
319  bool m_statusHasBeenSet;
320 
321  Aws::Utils::DateTime m_creationDateTime;
322  bool m_creationDateTimeHasBeenSet;
323 
324  Aws::Utils::DateTime m_lastUpdatedDateTime;
325  bool m_lastUpdatedDateTimeHasBeenSet;
326  };
327 
328 } // namespace Model
329 } // namespace Personalize
330 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetSummary::WithLastUpdatedDateTime
DatasetSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSummary.h:305
Aws::Personalize::Model::DatasetSummary::WithDatasetType
DatasetSummary & WithDatasetType(const char *value)
Definition: DatasetSummary.h:178
Aws::Personalize::Model::DatasetSummary::SetDatasetType
void SetDatasetType(const char *value)
Definition: DatasetSummary.h:157
Aws::Personalize::Model::DatasetSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetSummary::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetSummary.h:187
Aws::Personalize::Model::DatasetSummary::WithStatus
DatasetSummary & WithStatus(Aws::String &&value)
Definition: DatasetSummary.h:235
Aws::Personalize::Model::DatasetSummary::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: DatasetSummary.h:136
Aws::Personalize::Model::DatasetSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSummary.h:264
DateTime.h
Aws::Personalize::Model::DatasetSummary::GetName
const Aws::String & GetName() const
Definition: DatasetSummary.h:45
Aws::Personalize::Model::DatasetSummary::WithDatasetArn
DatasetSummary & WithDatasetArn(const char *value)
Definition: DatasetSummary.h:121
Aws::Personalize::Model::DatasetSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSummary.h:295
Aws::Personalize::Model::DatasetSummary::WithName
DatasetSummary & WithName(Aws::String &&value)
Definition: DatasetSummary.h:75
Aws::Personalize::Model::DatasetSummary::WithName
DatasetSummary & WithName(const Aws::String &value)
Definition: DatasetSummary.h:70
Aws::Personalize::Model::DatasetSummary::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: DatasetSummary.h:91
Aws::Personalize::Model::DatasetSummary::WithDatasetType
DatasetSummary & WithDatasetType(Aws::String &&value)
Definition: DatasetSummary.h:171
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetSummary::WithStatus
DatasetSummary & WithStatus(const Aws::String &value)
Definition: DatasetSummary.h:227
Aws::Personalize::Model::DatasetSummary::WithName
DatasetSummary & WithName(const char *value)
Definition: DatasetSummary.h:80
Aws::Personalize::Model::DatasetSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DatasetSummary.h:50
Aws::Personalize::Model::DatasetSummary::DatasetSummary
DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetSummary::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: DatasetSummary.h:86
Aws::Personalize::Model::DatasetSummary::SetName
void SetName(const char *value)
Definition: DatasetSummary.h:65
Aws::Personalize::Model::DatasetSummary::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: DatasetSummary.h:101
Aws::Personalize::Model::DatasetSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetSummary.h:254
Aws::Personalize::Model::DatasetSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSummary.h:290
Aws::Personalize::Model::DatasetSummary::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: DatasetSummary.h:143
Aws::Personalize::Model::DatasetSummary::SetName
void SetName(Aws::String &&value)
Definition: DatasetSummary.h:60
Aws::Personalize::Model::DatasetSummary::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: DatasetSummary.h:150
Aws::Personalize::Model::DatasetSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetSummary.h:195
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetSummary.h:203
Aws::Personalize::Model::DatasetSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetSummary.h:249
Aws::Personalize::Model::DatasetSummary::WithDatasetArn
DatasetSummary & WithDatasetArn(Aws::String &&value)
Definition: DatasetSummary.h:116
Aws::Personalize::Model::DatasetSummary::operator=
DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetSummary::WithDatasetType
DatasetSummary & WithDatasetType(const Aws::String &value)
Definition: DatasetSummary.h:164
Aws::Personalize::Model::DatasetSummary::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: DatasetSummary.h:96
Aws::Personalize::Model::DatasetSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetSummary.h:285
Aws::Personalize::Model::DatasetSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSummary.h:259
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetSummary::SetName
void SetName(const Aws::String &value)
Definition: DatasetSummary.h:55
Aws::Personalize::Model::DatasetSummary::WithLastUpdatedDateTime
DatasetSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSummary.h:300
Aws::Personalize::Model::DatasetSummary::WithStatus
DatasetSummary & WithStatus(const char *value)
Definition: DatasetSummary.h:243
Aws::Personalize::Model::DatasetSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetSummary.h:280
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetSummary::DatasetSummary
DatasetSummary()
Aws::Personalize::Model::DatasetSummary
Definition: DatasetSummary.h:34
Aws::Personalize::Model::DatasetSummary::WithDatasetArn
DatasetSummary & WithDatasetArn(const Aws::String &value)
Definition: DatasetSummary.h:111
Aws::Personalize::Model::DatasetSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetSummary.h:211
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetSummary::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: DatasetSummary.h:129
Aws::Personalize::Model::DatasetSummary::WithCreationDateTime
DatasetSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSummary.h:274
Aws::Personalize::Model::DatasetSummary::SetStatus
void SetStatus(const char *value)
Definition: DatasetSummary.h:219
Aws::Personalize::Model::DatasetSummary::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: DatasetSummary.h:106
Aws::Personalize::Model::DatasetSummary::WithCreationDateTime
DatasetSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSummary.h:269