AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeInferenceRecommendationsJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/EndpointPerformance.h>
13#include <aws/sagemaker/model/InferenceRecommendation.h>
14#include <aws/sagemaker/model/RecommendationJobInputConfig.h>
15#include <aws/sagemaker/model/RecommendationJobStatus.h>
16#include <aws/sagemaker/model/RecommendationJobStoppingConditions.h>
17#include <aws/sagemaker/model/RecommendationJobType.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker {
31namespace Model {
33 public:
34 AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult() = default;
38
40
44 inline const Aws::String& GetJobName() const { return m_jobName; }
45 template <typename JobNameT = Aws::String>
46 void SetJobName(JobNameT&& value) {
47 m_jobNameHasBeenSet = true;
48 m_jobName = std::forward<JobNameT>(value);
49 }
50 template <typename JobNameT = Aws::String>
52 SetJobName(std::forward<JobNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
62 template <typename JobDescriptionT = Aws::String>
63 void SetJobDescription(JobDescriptionT&& value) {
64 m_jobDescriptionHasBeenSet = true;
65 m_jobDescription = std::forward<JobDescriptionT>(value);
66 }
67 template <typename JobDescriptionT = Aws::String>
69 SetJobDescription(std::forward<JobDescriptionT>(value));
70 return *this;
71 }
73
75
78 inline RecommendationJobType GetJobType() const { return m_jobType; }
79 inline void SetJobType(RecommendationJobType value) {
80 m_jobTypeHasBeenSet = true;
81 m_jobType = value;
82 }
84 SetJobType(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetJobArn() const { return m_jobArn; }
94 template <typename JobArnT = Aws::String>
95 void SetJobArn(JobArnT&& value) {
96 m_jobArnHasBeenSet = true;
97 m_jobArn = std::forward<JobArnT>(value);
98 }
99 template <typename JobArnT = Aws::String>
101 SetJobArn(std::forward<JobArnT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
112 template <typename RoleArnT = Aws::String>
113 void SetRoleArn(RoleArnT&& value) {
114 m_roleArnHasBeenSet = true;
115 m_roleArn = std::forward<RoleArnT>(value);
116 }
117 template <typename RoleArnT = Aws::String>
119 SetRoleArn(std::forward<RoleArnT>(value));
120 return *this;
121 }
123
125
128 inline RecommendationJobStatus GetStatus() const { return m_status; }
130 m_statusHasBeenSet = true;
131 m_status = value;
132 }
134 SetStatus(value);
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
144 template <typename CreationTimeT = Aws::Utils::DateTime>
145 void SetCreationTime(CreationTimeT&& value) {
146 m_creationTimeHasBeenSet = true;
147 m_creationTime = std::forward<CreationTimeT>(value);
148 }
149 template <typename CreationTimeT = Aws::Utils::DateTime>
151 SetCreationTime(std::forward<CreationTimeT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
161 template <typename CompletionTimeT = Aws::Utils::DateTime>
162 void SetCompletionTime(CompletionTimeT&& value) {
163 m_completionTimeHasBeenSet = true;
164 m_completionTime = std::forward<CompletionTimeT>(value);
165 }
166 template <typename CompletionTimeT = Aws::Utils::DateTime>
168 SetCompletionTime(std::forward<CompletionTimeT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
178 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
179 void SetLastModifiedTime(LastModifiedTimeT&& value) {
180 m_lastModifiedTimeHasBeenSet = true;
181 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
182 }
183 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
185 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
195 template <typename FailureReasonT = Aws::String>
196 void SetFailureReason(FailureReasonT&& value) {
197 m_failureReasonHasBeenSet = true;
198 m_failureReason = std::forward<FailureReasonT>(value);
199 }
200 template <typename FailureReasonT = Aws::String>
202 SetFailureReason(std::forward<FailureReasonT>(value));
203 return *this;
204 }
206
208
213 inline const RecommendationJobInputConfig& GetInputConfig() const { return m_inputConfig; }
214 template <typename InputConfigT = RecommendationJobInputConfig>
215 void SetInputConfig(InputConfigT&& value) {
216 m_inputConfigHasBeenSet = true;
217 m_inputConfig = std::forward<InputConfigT>(value);
218 }
219 template <typename InputConfigT = RecommendationJobInputConfig>
221 SetInputConfig(std::forward<InputConfigT>(value));
222 return *this;
223 }
225
227
230 inline const RecommendationJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
231 template <typename StoppingConditionsT = RecommendationJobStoppingConditions>
232 void SetStoppingConditions(StoppingConditionsT&& value) {
233 m_stoppingConditionsHasBeenSet = true;
234 m_stoppingConditions = std::forward<StoppingConditionsT>(value);
235 }
236 template <typename StoppingConditionsT = RecommendationJobStoppingConditions>
238 SetStoppingConditions(std::forward<StoppingConditionsT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::Vector<InferenceRecommendation>& GetInferenceRecommendations() const { return m_inferenceRecommendations; }
248 template <typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
249 void SetInferenceRecommendations(InferenceRecommendationsT&& value) {
250 m_inferenceRecommendationsHasBeenSet = true;
251 m_inferenceRecommendations = std::forward<InferenceRecommendationsT>(value);
252 }
253 template <typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
255 SetInferenceRecommendations(std::forward<InferenceRecommendationsT>(value));
256 return *this;
257 }
258 template <typename InferenceRecommendationsT = InferenceRecommendation>
260 m_inferenceRecommendationsHasBeenSet = true;
261 m_inferenceRecommendations.emplace_back(std::forward<InferenceRecommendationsT>(value));
262 return *this;
263 }
265
267
271 inline const Aws::Vector<EndpointPerformance>& GetEndpointPerformances() const { return m_endpointPerformances; }
272 template <typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
273 void SetEndpointPerformances(EndpointPerformancesT&& value) {
274 m_endpointPerformancesHasBeenSet = true;
275 m_endpointPerformances = std::forward<EndpointPerformancesT>(value);
276 }
277 template <typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
279 SetEndpointPerformances(std::forward<EndpointPerformancesT>(value));
280 return *this;
281 }
282 template <typename EndpointPerformancesT = EndpointPerformance>
284 m_endpointPerformancesHasBeenSet = true;
285 m_endpointPerformances.emplace_back(std::forward<EndpointPerformancesT>(value));
286 return *this;
287 }
289
291
292 inline const Aws::String& GetRequestId() const { return m_requestId; }
293 template <typename RequestIdT = Aws::String>
294 void SetRequestId(RequestIdT&& value) {
295 m_requestIdHasBeenSet = true;
296 m_requestId = std::forward<RequestIdT>(value);
297 }
298 template <typename RequestIdT = Aws::String>
300 SetRequestId(std::forward<RequestIdT>(value));
301 return *this;
302 }
304 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
305
306 private:
307 Aws::String m_jobName;
308
309 Aws::String m_jobDescription;
310
312
313 Aws::String m_jobArn;
314
315 Aws::String m_roleArn;
316
318
319 Aws::Utils::DateTime m_creationTime{};
320
321 Aws::Utils::DateTime m_completionTime{};
322
323 Aws::Utils::DateTime m_lastModifiedTime{};
324
325 Aws::String m_failureReason;
326
327 RecommendationJobInputConfig m_inputConfig;
328
329 RecommendationJobStoppingConditions m_stoppingConditions;
330
331 Aws::Vector<InferenceRecommendation> m_inferenceRecommendations;
332
333 Aws::Vector<EndpointPerformance> m_endpointPerformances;
334
335 Aws::String m_requestId;
336 Aws::Http::HttpResponseCode m_HttpResponseCode;
337 bool m_jobNameHasBeenSet = false;
338 bool m_jobDescriptionHasBeenSet = false;
339 bool m_jobTypeHasBeenSet = false;
340 bool m_jobArnHasBeenSet = false;
341 bool m_roleArnHasBeenSet = false;
342 bool m_statusHasBeenSet = false;
343 bool m_creationTimeHasBeenSet = false;
344 bool m_completionTimeHasBeenSet = false;
345 bool m_lastModifiedTimeHasBeenSet = false;
346 bool m_failureReasonHasBeenSet = false;
347 bool m_inputConfigHasBeenSet = false;
348 bool m_stoppingConditionsHasBeenSet = false;
349 bool m_inferenceRecommendationsHasBeenSet = false;
350 bool m_endpointPerformancesHasBeenSet = false;
351 bool m_requestIdHasBeenSet = false;
352};
353
354} // namespace Model
355} // namespace SageMaker
356} // 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