AWS SDK for C++  1.9.102
AWS SDK for C++
BatchInferenceJobSummary.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 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetBatchInferenceJobArn() const{ return m_batchInferenceJobArn; }
47 
51  inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
52 
56  inline void SetBatchInferenceJobArn(const Aws::String& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = value; }
57 
61  inline void SetBatchInferenceJobArn(Aws::String&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::move(value); }
62 
66  inline void SetBatchInferenceJobArn(const char* value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn.assign(value); }
67 
71  inline BatchInferenceJobSummary& WithBatchInferenceJobArn(const Aws::String& value) { SetBatchInferenceJobArn(value); return *this;}
72 
76  inline BatchInferenceJobSummary& WithBatchInferenceJobArn(Aws::String&& value) { SetBatchInferenceJobArn(std::move(value)); return *this;}
77 
81  inline BatchInferenceJobSummary& WithBatchInferenceJobArn(const char* value) { SetBatchInferenceJobArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetJobName() const{ return m_jobName; }
88 
92  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
93 
97  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
98 
102  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
103 
107  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
108 
112  inline BatchInferenceJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
113 
117  inline BatchInferenceJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
118 
122  inline BatchInferenceJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
123 
124 
130  inline const Aws::String& GetStatus() const{ return m_status; }
131 
137  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 
144  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
145 
151  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 
158  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
159 
165  inline BatchInferenceJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
166 
172  inline BatchInferenceJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
173 
179  inline BatchInferenceJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
180 
181 
185  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
186 
190  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
191 
195  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
196 
200  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
201 
205  inline BatchInferenceJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
206 
210  inline BatchInferenceJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
211 
212 
216  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
217 
221  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
222 
226  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
227 
231  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
232 
236  inline BatchInferenceJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
237 
241  inline BatchInferenceJobSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
242 
243 
247  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
248 
252  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
253 
257  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
258 
262  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
263 
267  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
268 
272  inline BatchInferenceJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
273 
277  inline BatchInferenceJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
278 
282  inline BatchInferenceJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
283 
284 
288  inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
289 
293  inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
294 
298  inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
299 
303  inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
304 
308  inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
309 
313  inline BatchInferenceJobSummary& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
314 
318  inline BatchInferenceJobSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
319 
323  inline BatchInferenceJobSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
324 
325  private:
326 
327  Aws::String m_batchInferenceJobArn;
328  bool m_batchInferenceJobArnHasBeenSet;
329 
330  Aws::String m_jobName;
331  bool m_jobNameHasBeenSet;
332 
333  Aws::String m_status;
334  bool m_statusHasBeenSet;
335 
336  Aws::Utils::DateTime m_creationDateTime;
337  bool m_creationDateTimeHasBeenSet;
338 
339  Aws::Utils::DateTime m_lastUpdatedDateTime;
340  bool m_lastUpdatedDateTimeHasBeenSet;
341 
342  Aws::String m_failureReason;
343  bool m_failureReasonHasBeenSet;
344 
345  Aws::String m_solutionVersionArn;
346  bool m_solutionVersionArnHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace Personalize
351 } // namespace Aws
Aws::Personalize::Model::BatchInferenceJobSummary::SetBatchInferenceJobArn
void SetBatchInferenceJobArn(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:56
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::BatchInferenceJobSummary::BatchInferenceJobSummary
BatchInferenceJobSummary()
Aws::Personalize::Model::BatchInferenceJobSummary::WithStatus
BatchInferenceJobSummary & WithStatus(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:172
Aws::Personalize::Model::BatchInferenceJobSummary::WithJobName
BatchInferenceJobSummary & WithJobName(const char *value)
Definition: BatchInferenceJobSummary.h:122
Aws::Personalize::Model::BatchInferenceJobSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:298
Aws::Personalize::Model::BatchInferenceJobSummary::SetStatus
void SetStatus(const char *value)
Definition: BatchInferenceJobSummary.h:158
Aws::Personalize::Model::BatchInferenceJobSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: BatchInferenceJobSummary.h:247
Aws::Personalize::Model::BatchInferenceJobSummary::WithSolutionVersionArn
BatchInferenceJobSummary & WithSolutionVersionArn(const char *value)
Definition: BatchInferenceJobSummary.h:323
Aws::Personalize::Model::BatchInferenceJobSummary::SetBatchInferenceJobArn
void SetBatchInferenceJobArn(const char *value)
Definition: BatchInferenceJobSummary.h:66
Aws::Personalize::Model::BatchInferenceJobSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:151
Aws::Personalize::Model::BatchInferenceJobSummary::WithFailureReason
BatchInferenceJobSummary & WithFailureReason(const char *value)
Definition: BatchInferenceJobSummary.h:282
Aws::Personalize::Model::BatchInferenceJobSummary::SetJobName
void SetJobName(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:102
Aws::Personalize::Model::BatchInferenceJobSummary::WithSolutionVersionArn
BatchInferenceJobSummary & WithSolutionVersionArn(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:318
Aws::Personalize::Model::BatchInferenceJobSummary::WithFailureReason
BatchInferenceJobSummary & WithFailureReason(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:277
DateTime.h
Aws::Personalize::Model::BatchInferenceJobSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:262
Aws::Personalize::Model::BatchInferenceJobSummary::WithLastUpdatedDateTime
BatchInferenceJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: BatchInferenceJobSummary.h:236
Aws::Personalize::Model::BatchInferenceJobSummary::GetSolutionVersionArn
const Aws::String & GetSolutionVersionArn() const
Definition: BatchInferenceJobSummary.h:288
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::BatchInferenceJobSummary::GetStatus
const Aws::String & GetStatus() const
Definition: BatchInferenceJobSummary.h:130
Aws::Personalize::Model::BatchInferenceJobSummary::SetSolutionVersionArn
void SetSolutionVersionArn(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:303
Aws::Personalize::Model::BatchInferenceJobSummary::GetBatchInferenceJobArn
const Aws::String & GetBatchInferenceJobArn() const
Definition: BatchInferenceJobSummary.h:46
Aws::Personalize::Model::BatchInferenceJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::BatchInferenceJobSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: BatchInferenceJobSummary.h:221
Aws::Personalize::Model::BatchInferenceJobSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:144
Aws::Personalize::Model::BatchInferenceJobSummary::operator=
BatchInferenceJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::BatchInferenceJobSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: BatchInferenceJobSummary.h:200
Aws::Personalize::Model::BatchInferenceJobSummary::SetBatchInferenceJobArn
void SetBatchInferenceJobArn(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:61
Aws::Personalize::Model::BatchInferenceJobSummary::WithBatchInferenceJobArn
BatchInferenceJobSummary & WithBatchInferenceJobArn(const char *value)
Definition: BatchInferenceJobSummary.h:81
Aws::Personalize::Model::BatchInferenceJobSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: BatchInferenceJobSummary.h:195
Aws::Personalize::Model::BatchInferenceJobSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: BatchInferenceJobSummary.h:252
Aws::Personalize::Model::BatchInferenceJobSummary::WithCreationDateTime
BatchInferenceJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: BatchInferenceJobSummary.h:210
Aws::Personalize::Model::BatchInferenceJobSummary::WithFailureReason
BatchInferenceJobSummary & WithFailureReason(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:272
Aws::Personalize::Model::BatchInferenceJobSummary::WithBatchInferenceJobArn
BatchInferenceJobSummary & WithBatchInferenceJobArn(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:71
Aws::Personalize::Model::BatchInferenceJobSummary::WithJobName
BatchInferenceJobSummary & WithJobName(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:112
Aws::Personalize::Model::BatchInferenceJobSummary::WithCreationDateTime
BatchInferenceJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: BatchInferenceJobSummary.h:205
Aws::Personalize::Model::BatchInferenceJobSummary::WithStatus
BatchInferenceJobSummary & WithStatus(const char *value)
Definition: BatchInferenceJobSummary.h:179
Aws::Personalize::Model::BatchInferenceJobSummary::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: BatchInferenceJobSummary.h:92
Aws::Personalize::Model::BatchInferenceJobSummary::WithSolutionVersionArn
BatchInferenceJobSummary & WithSolutionVersionArn(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:313
Aws::Personalize::Model::BatchInferenceJobSummary::SolutionVersionArnHasBeenSet
bool SolutionVersionArnHasBeenSet() const
Definition: BatchInferenceJobSummary.h:293
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::BatchInferenceJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: BatchInferenceJobSummary.h:231
AWSString.h
Aws::Personalize::Model::BatchInferenceJobSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: BatchInferenceJobSummary.h:185
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::BatchInferenceJobSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: BatchInferenceJobSummary.h:267
Aws::Personalize::Model::BatchInferenceJobSummary
Definition: BatchInferenceJobSummary.h:35
Aws::Personalize::Model::BatchInferenceJobSummary::BatchInferenceJobArnHasBeenSet
bool BatchInferenceJobArnHasBeenSet() const
Definition: BatchInferenceJobSummary.h:51
Aws::Personalize::Model::BatchInferenceJobSummary::WithStatus
BatchInferenceJobSummary & WithStatus(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::BatchInferenceJobSummary::SetSolutionVersionArn
void SetSolutionVersionArn(const char *value)
Definition: BatchInferenceJobSummary.h:308
Aws::Personalize::Model::BatchInferenceJobSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: BatchInferenceJobSummary.h:216
Aws::Personalize::Model::BatchInferenceJobSummary::BatchInferenceJobSummary
BatchInferenceJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::BatchInferenceJobSummary::WithBatchInferenceJobArn
BatchInferenceJobSummary & WithBatchInferenceJobArn(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::BatchInferenceJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: BatchInferenceJobSummary.h:226
Aws::Personalize::Model::BatchInferenceJobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: BatchInferenceJobSummary.h:137
Aws::Personalize::Model::BatchInferenceJobSummary::SetJobName
void SetJobName(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:97
Aws::Personalize::Model::BatchInferenceJobSummary::WithLastUpdatedDateTime
BatchInferenceJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: BatchInferenceJobSummary.h:241
Aws::Personalize::Model::BatchInferenceJobSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: BatchInferenceJobSummary.h:257
Personalize_EXPORTS.h
Aws::Personalize::Model::BatchInferenceJobSummary::SetJobName
void SetJobName(const char *value)
Definition: BatchInferenceJobSummary.h:107
Aws::Personalize::Model::BatchInferenceJobSummary::WithJobName
BatchInferenceJobSummary & WithJobName(Aws::String &&value)
Definition: BatchInferenceJobSummary.h:117
Aws::Personalize::Model::BatchInferenceJobSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: BatchInferenceJobSummary.h:190
Aws::Personalize::Model::BatchInferenceJobSummary::GetJobName
const Aws::String & GetJobName() const
Definition: BatchInferenceJobSummary.h:87