AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeInferenceRecommendationsJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/EndpointPerformance.h>
12#include <aws/sagemaker/model/InferenceRecommendation.h>
13#include <aws/sagemaker/model/RecommendationJobInputConfig.h>
14#include <aws/sagemaker/model/RecommendationJobStatus.h>
15#include <aws/sagemaker/model/RecommendationJobStoppingConditions.h>
16#include <aws/sagemaker/model/RecommendationJobType.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker {
30namespace Model {
32 public:
33 AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult() = default;
37
39
43 inline const Aws::String& GetJobName() const { return m_jobName; }
44 template <typename JobNameT = Aws::String>
45 void SetJobName(JobNameT&& value) {
46 m_jobNameHasBeenSet = true;
47 m_jobName = std::forward<JobNameT>(value);
48 }
49 template <typename JobNameT = Aws::String>
51 SetJobName(std::forward<JobNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
61 template <typename JobDescriptionT = Aws::String>
62 void SetJobDescription(JobDescriptionT&& value) {
63 m_jobDescriptionHasBeenSet = true;
64 m_jobDescription = std::forward<JobDescriptionT>(value);
65 }
66 template <typename JobDescriptionT = Aws::String>
68 SetJobDescription(std::forward<JobDescriptionT>(value));
69 return *this;
70 }
72
74
77 inline RecommendationJobType GetJobType() const { return m_jobType; }
78 inline void SetJobType(RecommendationJobType value) {
79 m_jobTypeHasBeenSet = true;
80 m_jobType = value;
81 }
83 SetJobType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetJobArn() const { return m_jobArn; }
93 template <typename JobArnT = Aws::String>
94 void SetJobArn(JobArnT&& value) {
95 m_jobArnHasBeenSet = true;
96 m_jobArn = std::forward<JobArnT>(value);
97 }
98 template <typename JobArnT = Aws::String>
100 SetJobArn(std::forward<JobArnT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
111 template <typename RoleArnT = Aws::String>
112 void SetRoleArn(RoleArnT&& value) {
113 m_roleArnHasBeenSet = true;
114 m_roleArn = std::forward<RoleArnT>(value);
115 }
116 template <typename RoleArnT = Aws::String>
118 SetRoleArn(std::forward<RoleArnT>(value));
119 return *this;
120 }
122
124
127 inline RecommendationJobStatus GetStatus() const { return m_status; }
129 m_statusHasBeenSet = true;
130 m_status = value;
131 }
133 SetStatus(value);
134 return *this;
135 }
137
139
142 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
143 template <typename CreationTimeT = Aws::Utils::DateTime>
144 void SetCreationTime(CreationTimeT&& value) {
145 m_creationTimeHasBeenSet = true;
146 m_creationTime = std::forward<CreationTimeT>(value);
147 }
148 template <typename CreationTimeT = Aws::Utils::DateTime>
150 SetCreationTime(std::forward<CreationTimeT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
160 template <typename CompletionTimeT = Aws::Utils::DateTime>
161 void SetCompletionTime(CompletionTimeT&& value) {
162 m_completionTimeHasBeenSet = true;
163 m_completionTime = std::forward<CompletionTimeT>(value);
164 }
165 template <typename CompletionTimeT = Aws::Utils::DateTime>
167 SetCompletionTime(std::forward<CompletionTimeT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
177 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
178 void SetLastModifiedTime(LastModifiedTimeT&& value) {
179 m_lastModifiedTimeHasBeenSet = true;
180 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
181 }
182 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
184 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
194 template <typename FailureReasonT = Aws::String>
195 void SetFailureReason(FailureReasonT&& value) {
196 m_failureReasonHasBeenSet = true;
197 m_failureReason = std::forward<FailureReasonT>(value);
198 }
199 template <typename FailureReasonT = Aws::String>
201 SetFailureReason(std::forward<FailureReasonT>(value));
202 return *this;
203 }
205
207
212 inline const RecommendationJobInputConfig& GetInputConfig() const { return m_inputConfig; }
213 template <typename InputConfigT = RecommendationJobInputConfig>
214 void SetInputConfig(InputConfigT&& value) {
215 m_inputConfigHasBeenSet = true;
216 m_inputConfig = std::forward<InputConfigT>(value);
217 }
218 template <typename InputConfigT = RecommendationJobInputConfig>
220 SetInputConfig(std::forward<InputConfigT>(value));
221 return *this;
222 }
224
226
229 inline const RecommendationJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
230 template <typename StoppingConditionsT = RecommendationJobStoppingConditions>
231 void SetStoppingConditions(StoppingConditionsT&& value) {
232 m_stoppingConditionsHasBeenSet = true;
233 m_stoppingConditions = std::forward<StoppingConditionsT>(value);
234 }
235 template <typename StoppingConditionsT = RecommendationJobStoppingConditions>
237 SetStoppingConditions(std::forward<StoppingConditionsT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::Vector<InferenceRecommendation>& GetInferenceRecommendations() const { return m_inferenceRecommendations; }
247 template <typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
248 void SetInferenceRecommendations(InferenceRecommendationsT&& value) {
249 m_inferenceRecommendationsHasBeenSet = true;
250 m_inferenceRecommendations = std::forward<InferenceRecommendationsT>(value);
251 }
252 template <typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
254 SetInferenceRecommendations(std::forward<InferenceRecommendationsT>(value));
255 return *this;
256 }
257 template <typename InferenceRecommendationsT = InferenceRecommendation>
259 m_inferenceRecommendationsHasBeenSet = true;
260 m_inferenceRecommendations.emplace_back(std::forward<InferenceRecommendationsT>(value));
261 return *this;
262 }
264
266
270 inline const Aws::Vector<EndpointPerformance>& GetEndpointPerformances() const { return m_endpointPerformances; }
271 template <typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
272 void SetEndpointPerformances(EndpointPerformancesT&& value) {
273 m_endpointPerformancesHasBeenSet = true;
274 m_endpointPerformances = std::forward<EndpointPerformancesT>(value);
275 }
276 template <typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
278 SetEndpointPerformances(std::forward<EndpointPerformancesT>(value));
279 return *this;
280 }
281 template <typename EndpointPerformancesT = EndpointPerformance>
283 m_endpointPerformancesHasBeenSet = true;
284 m_endpointPerformances.emplace_back(std::forward<EndpointPerformancesT>(value));
285 return *this;
286 }
288
290
291 inline const Aws::String& GetRequestId() const { return m_requestId; }
292 template <typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) {
294 m_requestIdHasBeenSet = true;
295 m_requestId = std::forward<RequestIdT>(value);
296 }
297 template <typename RequestIdT = Aws::String>
299 SetRequestId(std::forward<RequestIdT>(value));
300 return *this;
301 }
303 private:
304 Aws::String m_jobName;
305
306 Aws::String m_jobDescription;
307
309
310 Aws::String m_jobArn;
311
312 Aws::String m_roleArn;
313
315
316 Aws::Utils::DateTime m_creationTime{};
317
318 Aws::Utils::DateTime m_completionTime{};
319
320 Aws::Utils::DateTime m_lastModifiedTime{};
321
322 Aws::String m_failureReason;
323
324 RecommendationJobInputConfig m_inputConfig;
325
326 RecommendationJobStoppingConditions m_stoppingConditions;
327
328 Aws::Vector<InferenceRecommendation> m_inferenceRecommendations;
329
330 Aws::Vector<EndpointPerformance> m_endpointPerformances;
331
332 Aws::String m_requestId;
333 bool m_jobNameHasBeenSet = false;
334 bool m_jobDescriptionHasBeenSet = false;
335 bool m_jobTypeHasBeenSet = false;
336 bool m_jobArnHasBeenSet = false;
337 bool m_roleArnHasBeenSet = false;
338 bool m_statusHasBeenSet = false;
339 bool m_creationTimeHasBeenSet = false;
340 bool m_completionTimeHasBeenSet = false;
341 bool m_lastModifiedTimeHasBeenSet = false;
342 bool m_failureReasonHasBeenSet = false;
343 bool m_inputConfigHasBeenSet = false;
344 bool m_stoppingConditionsHasBeenSet = false;
345 bool m_inferenceRecommendationsHasBeenSet = false;
346 bool m_endpointPerformancesHasBeenSet = false;
347 bool m_requestIdHasBeenSet = false;
348};
349
350} // namespace Model
351} // namespace SageMaker
352} // namespace Aws
DescribeInferenceRecommendationsJobResult & WithFailureReason(FailureReasonT &&value)
DescribeInferenceRecommendationsJobResult & WithInputConfig(InputConfigT &&value)
DescribeInferenceRecommendationsJobResult & WithJobName(JobNameT &&value)
DescribeInferenceRecommendationsJobResult & WithRoleArn(RoleArnT &&value)
DescribeInferenceRecommendationsJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceRecommendationsJobResult & AddEndpointPerformances(EndpointPerformancesT &&value)
DescribeInferenceRecommendationsJobResult & WithStoppingConditions(StoppingConditionsT &&value)
DescribeInferenceRecommendationsJobResult & WithJobType(RecommendationJobType value)
DescribeInferenceRecommendationsJobResult & WithInferenceRecommendations(InferenceRecommendationsT &&value)
DescribeInferenceRecommendationsJobResult & WithJobDescription(JobDescriptionT &&value)
DescribeInferenceRecommendationsJobResult & WithCreationTime(CreationTimeT &&value)
DescribeInferenceRecommendationsJobResult & WithJobArn(JobArnT &&value)
DescribeInferenceRecommendationsJobResult & WithStatus(RecommendationJobStatus value)
DescribeInferenceRecommendationsJobResult & WithEndpointPerformances(EndpointPerformancesT &&value)
DescribeInferenceRecommendationsJobResult & WithCompletionTime(CompletionTimeT &&value)
DescribeInferenceRecommendationsJobResult & WithRequestId(RequestIdT &&value)
DescribeInferenceRecommendationsJobResult & AddInferenceRecommendations(InferenceRecommendationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue