AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchInferenceJobSummary.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/BatchInferenceJobMode.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
39 {
40 public:
41 AWS_PERSONALIZE_API BatchInferenceJobSummary();
44 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetBatchInferenceJobArn() const{ return m_batchInferenceJobArn; }
52 inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
53 inline void SetBatchInferenceJobArn(const Aws::String& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = value; }
54 inline void SetBatchInferenceJobArn(Aws::String&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::move(value); }
55 inline void SetBatchInferenceJobArn(const char* value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn.assign(value); }
57 inline BatchInferenceJobSummary& WithBatchInferenceJobArn(Aws::String&& value) { SetBatchInferenceJobArn(std::move(value)); return *this;}
58 inline BatchInferenceJobSummary& WithBatchInferenceJobArn(const char* value) { SetBatchInferenceJobArn(value); return *this;}
60
62
65 inline const Aws::String& GetJobName() const{ return m_jobName; }
66 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
67 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
68 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
69 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
70 inline BatchInferenceJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
71 inline BatchInferenceJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
72 inline BatchInferenceJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
74
76
81 inline const Aws::String& GetStatus() const{ return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
84 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
86 inline BatchInferenceJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
87 inline BatchInferenceJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
88 inline BatchInferenceJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
96 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
97 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
98 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
102
104
107 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
108 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
109 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
110 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
114
116
119 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
120 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
121 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
122 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
123 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
124 inline BatchInferenceJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
125 inline BatchInferenceJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
126 inline BatchInferenceJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
128
130
133 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
134 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
135 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
136 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
137 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
139 inline BatchInferenceJobSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
140 inline BatchInferenceJobSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
142
144
147 inline const BatchInferenceJobMode& GetBatchInferenceJobMode() const{ return m_batchInferenceJobMode; }
148 inline bool BatchInferenceJobModeHasBeenSet() const { return m_batchInferenceJobModeHasBeenSet; }
149 inline void SetBatchInferenceJobMode(const BatchInferenceJobMode& value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = value; }
150 inline void SetBatchInferenceJobMode(BatchInferenceJobMode&& value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = std::move(value); }
154 private:
155
156 Aws::String m_batchInferenceJobArn;
157 bool m_batchInferenceJobArnHasBeenSet = false;
158
159 Aws::String m_jobName;
160 bool m_jobNameHasBeenSet = false;
161
162 Aws::String m_status;
163 bool m_statusHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationDateTime;
166 bool m_creationDateTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdatedDateTime;
169 bool m_lastUpdatedDateTimeHasBeenSet = false;
170
171 Aws::String m_failureReason;
172 bool m_failureReasonHasBeenSet = false;
173
174 Aws::String m_solutionVersionArn;
175 bool m_solutionVersionArnHasBeenSet = false;
176
177 BatchInferenceJobMode m_batchInferenceJobMode;
178 bool m_batchInferenceJobModeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Personalize
183} // namespace Aws
BatchInferenceJobSummary & WithBatchInferenceJobMode(BatchInferenceJobMode &&value)
BatchInferenceJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BatchInferenceJobSummary & WithStatus(Aws::String &&value)
BatchInferenceJobSummary & WithBatchInferenceJobMode(const BatchInferenceJobMode &value)
BatchInferenceJobSummary & WithBatchInferenceJobArn(Aws::String &&value)
BatchInferenceJobSummary & WithStatus(const char *value)
BatchInferenceJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
BatchInferenceJobSummary & WithBatchInferenceJobArn(const Aws::String &value)
BatchInferenceJobSummary & WithSolutionVersionArn(const Aws::String &value)
BatchInferenceJobSummary & WithJobName(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const BatchInferenceJobMode & GetBatchInferenceJobMode() const
BatchInferenceJobSummary & WithFailureReason(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBatchInferenceJobMode(BatchInferenceJobMode &&value)
BatchInferenceJobSummary & WithFailureReason(Aws::String &&value)
BatchInferenceJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
BatchInferenceJobSummary & WithJobName(Aws::String &&value)
BatchInferenceJobSummary & WithSolutionVersionArn(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchInferenceJobSummary & WithJobName(const Aws::String &value)
AWS_PERSONALIZE_API BatchInferenceJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJobSummary & WithSolutionVersionArn(const char *value)
AWS_PERSONALIZE_API BatchInferenceJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJobSummary & WithStatus(const Aws::String &value)
BatchInferenceJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BatchInferenceJobSummary & WithFailureReason(const Aws::String &value)
void SetBatchInferenceJobMode(const BatchInferenceJobMode &value)
BatchInferenceJobSummary & WithBatchInferenceJobArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue