AWS SDK for C++  1.9.102
AWS SDK for C++
DatasetGroup.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 
39  {
40  public:
45 
46 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
55  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 
70  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 
75  inline DatasetGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
76 
80  inline DatasetGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 
85  inline DatasetGroup& WithName(const char* value) { SetName(value); return *this;}
86 
87 
91  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
92 
96  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
97 
101  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
102 
106  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
107 
111  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
112 
116  inline DatasetGroup& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
117 
121  inline DatasetGroup& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
122 
126  inline DatasetGroup& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
127 
128 
134  inline const Aws::String& GetStatus() const{ return m_status; }
135 
141  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
142 
148  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
149 
155  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
156 
162  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
163 
169  inline DatasetGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
170 
176  inline DatasetGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
177 
183  inline DatasetGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
184 
185 
189  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
190 
194  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
195 
199  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
200 
204  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
205 
209  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
210 
214  inline DatasetGroup& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
215 
219  inline DatasetGroup& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
220 
224  inline DatasetGroup& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
225 
226 
231  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
232 
237  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
238 
243  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
244 
249  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
250 
255  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
256 
261  inline DatasetGroup& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
262 
267  inline DatasetGroup& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
268 
273  inline DatasetGroup& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
274 
275 
279  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
280 
284  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
285 
289  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
290 
294  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
295 
299  inline DatasetGroup& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
300 
304  inline DatasetGroup& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
305 
306 
310  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
311 
315  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
316 
320  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
321 
325  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
326 
330  inline DatasetGroup& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
331 
335  inline DatasetGroup& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
336 
337 
341  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
342 
346  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
347 
351  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
352 
356  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
357 
361  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
362 
366  inline DatasetGroup& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
367 
371  inline DatasetGroup& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
372 
376  inline DatasetGroup& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
377 
378  private:
379 
380  Aws::String m_name;
381  bool m_nameHasBeenSet;
382 
383  Aws::String m_datasetGroupArn;
384  bool m_datasetGroupArnHasBeenSet;
385 
386  Aws::String m_status;
387  bool m_statusHasBeenSet;
388 
389  Aws::String m_roleArn;
390  bool m_roleArnHasBeenSet;
391 
392  Aws::String m_kmsKeyArn;
393  bool m_kmsKeyArnHasBeenSet;
394 
395  Aws::Utils::DateTime m_creationDateTime;
396  bool m_creationDateTimeHasBeenSet;
397 
398  Aws::Utils::DateTime m_lastUpdatedDateTime;
399  bool m_lastUpdatedDateTimeHasBeenSet;
400 
401  Aws::String m_failureReason;
402  bool m_failureReasonHasBeenSet;
403  };
404 
405 } // namespace Model
406 } // namespace Personalize
407 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetGroup::DatasetGroup
DatasetGroup()
Aws::Personalize::Model::DatasetGroup::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetGroup.h:346
Aws::Personalize::Model::DatasetGroup::WithFailureReason
DatasetGroup & WithFailureReason(const char *value)
Definition: DatasetGroup.h:376
Aws::Personalize::Model::DatasetGroup::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetGroup.h:148
Aws::Personalize::Model::DatasetGroup::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: DatasetGroup.h:91
Aws::Personalize::Model::DatasetGroup::WithName
DatasetGroup & WithName(const Aws::String &value)
Definition: DatasetGroup.h:75
Aws::Personalize::Model::DatasetGroup::GetName
const Aws::String & GetName() const
Definition: DatasetGroup.h:50
Aws::Personalize::Model::DatasetGroup::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetGroup.h:279
Aws::Personalize::Model::DatasetGroup::WithRoleArn
DatasetGroup & WithRoleArn(const char *value)
Definition: DatasetGroup.h:224
Aws::Personalize::Model::DatasetGroup::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetGroup.h:351
Aws::Personalize::Model::DatasetGroup::SetName
void SetName(const Aws::String &value)
Definition: DatasetGroup.h:60
DateTime.h
Aws::Personalize::Model::DatasetGroup::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: DatasetGroup.h:194
Aws::Personalize::Model::DatasetGroup::WithStatus
DatasetGroup & WithStatus(const Aws::String &value)
Definition: DatasetGroup.h:169
Aws::Personalize::Model::DatasetGroup::WithKmsKeyArn
DatasetGroup & WithKmsKeyArn(Aws::String &&value)
Definition: DatasetGroup.h:267
Aws::Personalize::Model::DatasetGroup::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetGroup.h:310
Aws::Personalize::Model::DatasetGroup::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetGroup.h:315
Aws::Personalize::Model::DatasetGroup::WithLastUpdatedDateTime
DatasetGroup & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroup.h:335
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetGroup::operator=
DatasetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetGroup::DatasetGroup
DatasetGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetGroup::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroup.h:320
Aws::Personalize::Model::DatasetGroup::WithKmsKeyArn
DatasetGroup & WithKmsKeyArn(const Aws::String &value)
Definition: DatasetGroup.h:261
Aws::Personalize::Model::DatasetGroup::WithDatasetGroupArn
DatasetGroup & WithDatasetGroupArn(const Aws::String &value)
Definition: DatasetGroup.h:116
Aws::Personalize::Model::DatasetGroup::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DatasetGroup.h:199
Aws::Personalize::Model::DatasetGroup::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroup.h:294
Aws::Personalize::Model::DatasetGroup::SetStatus
void SetStatus(const char *value)
Definition: DatasetGroup.h:162
Aws::Personalize::Model::DatasetGroup::SetName
void SetName(Aws::String &&value)
Definition: DatasetGroup.h:65
Aws::Personalize::Model::DatasetGroup::WithRoleArn
DatasetGroup & WithRoleArn(Aws::String &&value)
Definition: DatasetGroup.h:219
Aws::Personalize::Model::DatasetGroup::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroup.h:289
Aws::Personalize::Model::DatasetGroup::WithDatasetGroupArn
DatasetGroup & WithDatasetGroupArn(const char *value)
Definition: DatasetGroup.h:126
Aws::Personalize::Model::DatasetGroup::WithCreationDateTime
DatasetGroup & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroup.h:304
Aws::Personalize::Model::DatasetGroup::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DatasetGroup.h:55
Aws::Personalize::Model::DatasetGroup::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DatasetGroup.h:189
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::DatasetGroup::WithFailureReason
DatasetGroup & WithFailureReason(const Aws::String &value)
Definition: DatasetGroup.h:366
Aws::Personalize::Model::DatasetGroup::WithKmsKeyArn
DatasetGroup & WithKmsKeyArn(const char *value)
Definition: DatasetGroup.h:273
AWSString.h
Aws::Personalize::Model::DatasetGroup::SetRoleArn
void SetRoleArn(const char *value)
Definition: DatasetGroup.h:209
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetGroup::WithName
DatasetGroup & WithName(Aws::String &&value)
Definition: DatasetGroup.h:80
Aws::Personalize::Model::DatasetGroup::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetGroup.h:155
Aws::Personalize::Model::DatasetGroup::WithRoleArn
DatasetGroup & WithRoleArn(const Aws::String &value)
Definition: DatasetGroup.h:214
Aws::Personalize::Model::DatasetGroup::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: DatasetGroup.h:111
Aws::Personalize::Model::DatasetGroup::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: DatasetGroup.h:231
Aws::Personalize::Model::DatasetGroup::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetGroup.h:141
Aws::Personalize::Model::DatasetGroup::WithFailureReason
DatasetGroup & WithFailureReason(Aws::String &&value)
Definition: DatasetGroup.h:371
Aws::Personalize::Model::DatasetGroup::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: DatasetGroup.h:96
Aws::Personalize::Model::DatasetGroup::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DatasetGroup.h:204
Aws::Personalize::Model::DatasetGroup::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetGroup.h:284
Aws::Personalize::Model::DatasetGroup
Definition: DatasetGroup.h:39
Aws::Personalize::Model::DatasetGroup::WithDatasetGroupArn
DatasetGroup & WithDatasetGroupArn(Aws::String &&value)
Definition: DatasetGroup.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetGroup::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: DatasetGroup.h:249
Aws::Personalize::Model::DatasetGroup::WithName
DatasetGroup & WithName(const char *value)
Definition: DatasetGroup.h:85
Aws::Personalize::Model::DatasetGroup::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetGroup.h:361
Aws::Personalize::Model::DatasetGroup::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetGroup.h:356
Aws::Personalize::Model::DatasetGroup::WithCreationDateTime
DatasetGroup & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroup.h:299
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetGroup::WithStatus
DatasetGroup & WithStatus(Aws::String &&value)
Definition: DatasetGroup.h:176
Aws::Personalize::Model::DatasetGroup::WithLastUpdatedDateTime
DatasetGroup & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetGroup.h:330
Aws::Personalize::Model::DatasetGroup::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: DatasetGroup.h:255
Aws::Personalize::Model::DatasetGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetGroup::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetGroup.h:325
Aws::Personalize::Model::DatasetGroup::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetGroup.h:341
Aws::Personalize::Model::DatasetGroup::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetGroup.h:134
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetGroup::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: DatasetGroup.h:106
Aws::Personalize::Model::DatasetGroup::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: DatasetGroup.h:237
Aws::Personalize::Model::DatasetGroup::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: DatasetGroup.h:101
Aws::Personalize::Model::DatasetGroup::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: DatasetGroup.h:243
Aws::Personalize::Model::DatasetGroup::WithStatus
DatasetGroup & WithStatus(const char *value)
Definition: DatasetGroup.h:183
Aws::Personalize::Model::DatasetGroup::SetName
void SetName(const char *value)
Definition: DatasetGroup.h:70