AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
BatchInferenceJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/BatchInferenceJobMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize {
22namespace Model {
23
35 public:
36 AWS_PERSONALIZE_API BatchInferenceJobSummary() = default;
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetBatchInferenceJobArn() const { return m_batchInferenceJobArn; }
46 inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
47 template <typename BatchInferenceJobArnT = Aws::String>
48 void SetBatchInferenceJobArn(BatchInferenceJobArnT&& value) {
49 m_batchInferenceJobArnHasBeenSet = true;
50 m_batchInferenceJobArn = std::forward<BatchInferenceJobArnT>(value);
51 }
52 template <typename BatchInferenceJobArnT = Aws::String>
53 BatchInferenceJobSummary& WithBatchInferenceJobArn(BatchInferenceJobArnT&& value) {
54 SetBatchInferenceJobArn(std::forward<BatchInferenceJobArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 template <typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) {
67 m_jobNameHasBeenSet = true;
68 m_jobName = std::forward<JobNameT>(value);
69 }
70 template <typename JobNameT = Aws::String>
72 SetJobName(std::forward<JobNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 template <typename StatusT = Aws::String>
86 void SetStatus(StatusT&& value) {
87 m_statusHasBeenSet = true;
88 m_status = std::forward<StatusT>(value);
89 }
90 template <typename StatusT = Aws::String>
92 SetStatus(std::forward<StatusT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
102 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
103 template <typename CreationDateTimeT = Aws::Utils::DateTime>
104 void SetCreationDateTime(CreationDateTimeT&& value) {
105 m_creationDateTimeHasBeenSet = true;
106 m_creationDateTime = std::forward<CreationDateTimeT>(value);
107 }
108 template <typename CreationDateTimeT = Aws::Utils::DateTime>
109 BatchInferenceJobSummary& WithCreationDateTime(CreationDateTimeT&& value) {
110 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
120 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
121 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
122 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
123 m_lastUpdatedDateTimeHasBeenSet = true;
124 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
125 }
126 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
127 BatchInferenceJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
128 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
138 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
139 template <typename FailureReasonT = Aws::String>
140 void SetFailureReason(FailureReasonT&& value) {
141 m_failureReasonHasBeenSet = true;
142 m_failureReason = std::forward<FailureReasonT>(value);
143 }
144 template <typename FailureReasonT = Aws::String>
146 SetFailureReason(std::forward<FailureReasonT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
156 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
157 template <typename SolutionVersionArnT = Aws::String>
158 void SetSolutionVersionArn(SolutionVersionArnT&& value) {
159 m_solutionVersionArnHasBeenSet = true;
160 m_solutionVersionArn = std::forward<SolutionVersionArnT>(value);
161 }
162 template <typename SolutionVersionArnT = Aws::String>
163 BatchInferenceJobSummary& WithSolutionVersionArn(SolutionVersionArnT&& value) {
164 SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value));
165 return *this;
166 }
168
170
173 inline BatchInferenceJobMode GetBatchInferenceJobMode() const { return m_batchInferenceJobMode; }
174 inline bool BatchInferenceJobModeHasBeenSet() const { return m_batchInferenceJobModeHasBeenSet; }
176 m_batchInferenceJobModeHasBeenSet = true;
177 m_batchInferenceJobMode = value;
178 }
181 return *this;
182 }
184 private:
185 Aws::String m_batchInferenceJobArn;
186
187 Aws::String m_jobName;
188
189 Aws::String m_status;
190
191 Aws::Utils::DateTime m_creationDateTime{};
192
193 Aws::Utils::DateTime m_lastUpdatedDateTime{};
194
195 Aws::String m_failureReason;
196
197 Aws::String m_solutionVersionArn;
198
200 bool m_batchInferenceJobArnHasBeenSet = false;
201 bool m_jobNameHasBeenSet = false;
202 bool m_statusHasBeenSet = false;
203 bool m_creationDateTimeHasBeenSet = false;
204 bool m_lastUpdatedDateTimeHasBeenSet = false;
205 bool m_failureReasonHasBeenSet = false;
206 bool m_solutionVersionArnHasBeenSet = false;
207 bool m_batchInferenceJobModeHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace Personalize
212} // namespace Aws
BatchInferenceJobSummary & WithBatchInferenceJobMode(BatchInferenceJobMode value)
BatchInferenceJobSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
BatchInferenceJobSummary & WithJobName(JobNameT &&value)
AWS_PERSONALIZE_API BatchInferenceJobSummary()=default
BatchInferenceJobSummary & WithStatus(StatusT &&value)
BatchInferenceJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
BatchInferenceJobSummary & WithBatchInferenceJobArn(BatchInferenceJobArnT &&value)
BatchInferenceJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API BatchInferenceJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchInferenceJobArn(BatchInferenceJobArnT &&value)
AWS_PERSONALIZE_API BatchInferenceJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue