AWS SDK for C++  1.9.109
AWS SDK for C++
DatasetGroupSummary.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 DatasetGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline DatasetGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline DatasetGroupSummary& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
87 
91  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
92 
96  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
97 
101  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
102 
106  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
107 
111  inline DatasetGroupSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
112 
116  inline DatasetGroupSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
117 
121  inline DatasetGroupSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
122 
123 
129  inline const Aws::String& GetStatus() const{ return m_status; }
130 
136  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 
143  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
144 
150  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
151 
157  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
158 
164  inline DatasetGroupSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
165 
171  inline DatasetGroupSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
172 
178  inline DatasetGroupSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
179 
180 
184  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
185 
189  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
190 
194  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
195 
199  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
200 
204  inline DatasetGroupSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
205 
209  inline DatasetGroupSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
210 
211 
215  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
216 
220  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
221 
225  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
226 
230  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
231 
235  inline DatasetGroupSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
236 
240  inline DatasetGroupSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
241 
242 
246  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
247 
251  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
252 
256  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
257 
261  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
262 
266  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
267 
271  inline DatasetGroupSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
272 
276  inline DatasetGroupSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
277 
281  inline DatasetGroupSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
282 
283  private:
284 
285  Aws::String m_name;
286  bool m_nameHasBeenSet;
287 
288  Aws::String m_datasetGroupArn;
289  bool m_datasetGroupArnHasBeenSet;
290 
291  Aws::String m_status;
292  bool m_statusHasBeenSet;
293 
294  Aws::Utils::DateTime m_creationDateTime;
295  bool m_creationDateTimeHasBeenSet;
296 
297  Aws::Utils::DateTime m_lastUpdatedDateTime;
298  bool m_lastUpdatedDateTimeHasBeenSet;
299 
300  Aws::String m_failureReason;
301  bool m_failureReasonHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace Personalize
306 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetGroupSummary::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: DatasetGroupSummary.h:101
Aws::Personalize::Model::DatasetGroupSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetGroupSummary::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetGroupSummary.h:129
Aws::Personalize::Model::DatasetGroupSummary
Definition: DatasetGroupSummary.h:34
Aws::Personalize::Model::DatasetGroupSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetGroupSummary.h:215
Aws::Personalize::Model::DatasetGroupSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetGroupSummary.h:256
DateTime.h
Aws::Personalize::Model::DatasetGroupSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetGroupSummary.h:266
Aws::Personalize::Model::DatasetGroupSummary::DatasetGroupSummary
DatasetGroupSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetGroupSummary::WithFailureReason
DatasetGroupSummary & WithFailureReason(Aws::String &&value)
Definition: DatasetGroupSummary.h:276
Aws::Personalize::Model::DatasetGroupSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DatasetGroupSummary.h:50
Aws::Personalize::Model::DatasetGroupSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetGroupSummary.h:184
Aws::Personalize::Model::DatasetGroupSummary::GetName
const Aws::String & GetName() const
Definition: DatasetGroupSummary.h:45
Aws::Personalize::Model::DatasetGroupSummary::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: DatasetGroupSummary.h:86
Aws::Personalize::Model::DatasetGroupSummary::WithStatus
DatasetGroupSummary & WithStatus(const char *value)
Definition: DatasetGroupSummary.h:178
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetGroupSummary::WithName
DatasetGroupSummary & WithName(const char *value)
Definition: DatasetGroupSummary.h:80
Aws::Personalize::Model::DatasetGroupSummary::SetName
void SetName(const Aws::String &value)
Definition: DatasetGroupSummary.h:55
Aws::Personalize::Model::DatasetGroupSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroupSummary.h:230
Aws::Personalize::Model::DatasetGroupSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroupSummary.h:194
Aws::Personalize::Model::DatasetGroupSummary::WithLastUpdatedDateTime
DatasetGroupSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroupSummary.h:235
Aws::Personalize::Model::DatasetGroupSummary::WithStatus
DatasetGroupSummary & WithStatus(const Aws::String &value)
Definition: DatasetGroupSummary.h:164
Aws::Personalize::Model::DatasetGroupSummary::WithDatasetGroupArn
DatasetGroupSummary & WithDatasetGroupArn(Aws::String &&value)
Definition: DatasetGroupSummary.h:116
Aws::Personalize::Model::DatasetGroupSummary::WithDatasetGroupArn
DatasetGroupSummary & WithDatasetGroupArn(const char *value)
Definition: DatasetGroupSummary.h:121
Aws::Personalize::Model::DatasetGroupSummary::WithStatus
DatasetGroupSummary & WithStatus(Aws::String &&value)
Definition: DatasetGroupSummary.h:171
Aws::Personalize::Model::DatasetGroupSummary::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: DatasetGroupSummary.h:106
Aws::Personalize::Model::DatasetGroupSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetGroupSummary.h:136
Aws::Personalize::Model::DatasetGroupSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetGroupSummary.h:261
Aws::Personalize::Model::DatasetGroupSummary::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: DatasetGroupSummary.h:96
Aws::Personalize::Model::DatasetGroupSummary::WithName
DatasetGroupSummary & WithName(Aws::String &&value)
Definition: DatasetGroupSummary.h:75
Aws::Personalize::Model::DatasetGroupSummary::SetName
void SetName(const char *value)
Definition: DatasetGroupSummary.h:65
Aws::Personalize::Model::DatasetGroupSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetGroupSummary.h:220
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetGroupSummary::WithFailureReason
DatasetGroupSummary & WithFailureReason(const Aws::String &value)
Definition: DatasetGroupSummary.h:271
Aws::Personalize::Model::DatasetGroupSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetGroupSummary.h:143
Aws::Personalize::Model::DatasetGroupSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetGroupSummary.h:150
Aws::Personalize::Model::DatasetGroupSummary::WithCreationDateTime
DatasetGroupSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroupSummary.h:204
Aws::Personalize::Model::DatasetGroupSummary::operator=
DatasetGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetGroupSummary::WithLastUpdatedDateTime
DatasetGroupSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroupSummary.h:240
Aws::Personalize::Model::DatasetGroupSummary::DatasetGroupSummary
DatasetGroupSummary()
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetGroupSummary::SetName
void SetName(Aws::String &&value)
Definition: DatasetGroupSummary.h:60
Aws::Personalize::Model::DatasetGroupSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroupSummary.h:225
Aws::Personalize::Model::DatasetGroupSummary::WithCreationDateTime
DatasetGroupSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroupSummary.h:209
Aws::Personalize::Model::DatasetGroupSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetGroupSummary.h:246
Aws::Personalize::Model::DatasetGroupSummary::WithFailureReason
DatasetGroupSummary & WithFailureReason(const char *value)
Definition: DatasetGroupSummary.h:281
Aws::Personalize::Model::DatasetGroupSummary::SetStatus
void SetStatus(const char *value)
Definition: DatasetGroupSummary.h:157
Aws::Personalize::Model::DatasetGroupSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetGroupSummary.h:189
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetGroupSummary::WithDatasetGroupArn
DatasetGroupSummary & WithDatasetGroupArn(const Aws::String &value)
Definition: DatasetGroupSummary.h:111
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetGroupSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetGroupSummary.h:251
Aws::Personalize::Model::DatasetGroupSummary::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: DatasetGroupSummary.h:91
Aws::Personalize::Model::DatasetGroupSummary::WithName
DatasetGroupSummary & WithName(const Aws::String &value)
Definition: DatasetGroupSummary.h:70
Aws::Personalize::Model::DatasetGroupSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroupSummary.h:199