AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeInferenceRecommendationsJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/RecommendationJobType.h>
10#include <aws/sagemaker/model/RecommendationJobStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/RecommendationJobInputConfig.h>
13#include <aws/sagemaker/model/RecommendationJobStoppingConditions.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/InferenceRecommendation.h>
16#include <aws/sagemaker/model/EndpointPerformance.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker
32{
33namespace Model
34{
36 {
37 public:
38 AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult() = default;
41
42
44
48 inline const Aws::String& GetJobName() const { return m_jobName; }
49 template<typename JobNameT = Aws::String>
50 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
51 template<typename JobNameT = Aws::String>
52 DescribeInferenceRecommendationsJobResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
60 template<typename JobDescriptionT = Aws::String>
61 void SetJobDescription(JobDescriptionT&& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = std::forward<JobDescriptionT>(value); }
62 template<typename JobDescriptionT = Aws::String>
63 DescribeInferenceRecommendationsJobResult& WithJobDescription(JobDescriptionT&& value) { SetJobDescription(std::forward<JobDescriptionT>(value)); return *this;}
65
67
70 inline RecommendationJobType GetJobType() const { return m_jobType; }
71 inline void SetJobType(RecommendationJobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
74
76
79 inline const Aws::String& GetJobArn() const { return m_jobArn; }
80 template<typename JobArnT = Aws::String>
81 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
82 template<typename JobArnT = Aws::String>
83 DescribeInferenceRecommendationsJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 template<typename RoleArnT = Aws::String>
93 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
94 template<typename RoleArnT = Aws::String>
95 DescribeInferenceRecommendationsJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
97
99
102 inline RecommendationJobStatus GetStatus() const { return m_status; }
103 inline void SetStatus(RecommendationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
106
108
111 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
112 template<typename CreationTimeT = Aws::Utils::DateTime>
113 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
114 template<typename CreationTimeT = Aws::Utils::DateTime>
115 DescribeInferenceRecommendationsJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
123 template<typename CompletionTimeT = Aws::Utils::DateTime>
124 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
125 template<typename CompletionTimeT = Aws::Utils::DateTime>
126 DescribeInferenceRecommendationsJobResult& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
134 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
135 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
136 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
137 DescribeInferenceRecommendationsJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
139
141
144 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
145 template<typename FailureReasonT = Aws::String>
146 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
147 template<typename FailureReasonT = Aws::String>
148 DescribeInferenceRecommendationsJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
150
152
157 inline const RecommendationJobInputConfig& GetInputConfig() const { return m_inputConfig; }
158 template<typename InputConfigT = RecommendationJobInputConfig>
159 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
160 template<typename InputConfigT = RecommendationJobInputConfig>
161 DescribeInferenceRecommendationsJobResult& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
163
165
168 inline const RecommendationJobStoppingConditions& GetStoppingConditions() const { return m_stoppingConditions; }
169 template<typename StoppingConditionsT = RecommendationJobStoppingConditions>
170 void SetStoppingConditions(StoppingConditionsT&& value) { m_stoppingConditionsHasBeenSet = true; m_stoppingConditions = std::forward<StoppingConditionsT>(value); }
171 template<typename StoppingConditionsT = RecommendationJobStoppingConditions>
172 DescribeInferenceRecommendationsJobResult& WithStoppingConditions(StoppingConditionsT&& value) { SetStoppingConditions(std::forward<StoppingConditionsT>(value)); return *this;}
174
176
179 inline const Aws::Vector<InferenceRecommendation>& GetInferenceRecommendations() const { return m_inferenceRecommendations; }
180 template<typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
181 void SetInferenceRecommendations(InferenceRecommendationsT&& value) { m_inferenceRecommendationsHasBeenSet = true; m_inferenceRecommendations = std::forward<InferenceRecommendationsT>(value); }
182 template<typename InferenceRecommendationsT = Aws::Vector<InferenceRecommendation>>
183 DescribeInferenceRecommendationsJobResult& WithInferenceRecommendations(InferenceRecommendationsT&& value) { SetInferenceRecommendations(std::forward<InferenceRecommendationsT>(value)); return *this;}
184 template<typename InferenceRecommendationsT = InferenceRecommendation>
185 DescribeInferenceRecommendationsJobResult& AddInferenceRecommendations(InferenceRecommendationsT&& value) { m_inferenceRecommendationsHasBeenSet = true; m_inferenceRecommendations.emplace_back(std::forward<InferenceRecommendationsT>(value)); return *this; }
187
189
193 inline const Aws::Vector<EndpointPerformance>& GetEndpointPerformances() const { return m_endpointPerformances; }
194 template<typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
195 void SetEndpointPerformances(EndpointPerformancesT&& value) { m_endpointPerformancesHasBeenSet = true; m_endpointPerformances = std::forward<EndpointPerformancesT>(value); }
196 template<typename EndpointPerformancesT = Aws::Vector<EndpointPerformance>>
197 DescribeInferenceRecommendationsJobResult& WithEndpointPerformances(EndpointPerformancesT&& value) { SetEndpointPerformances(std::forward<EndpointPerformancesT>(value)); return *this;}
198 template<typename EndpointPerformancesT = EndpointPerformance>
199 DescribeInferenceRecommendationsJobResult& AddEndpointPerformances(EndpointPerformancesT&& value) { m_endpointPerformancesHasBeenSet = true; m_endpointPerformances.emplace_back(std::forward<EndpointPerformancesT>(value)); return *this; }
201
203
204 inline const Aws::String& GetRequestId() const { return m_requestId; }
205 template<typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
207 template<typename RequestIdT = Aws::String>
208 DescribeInferenceRecommendationsJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
210 private:
211
212 Aws::String m_jobName;
213 bool m_jobNameHasBeenSet = false;
214
215 Aws::String m_jobDescription;
216 bool m_jobDescriptionHasBeenSet = false;
217
219 bool m_jobTypeHasBeenSet = false;
220
221 Aws::String m_jobArn;
222 bool m_jobArnHasBeenSet = false;
223
224 Aws::String m_roleArn;
225 bool m_roleArnHasBeenSet = false;
226
228 bool m_statusHasBeenSet = false;
229
230 Aws::Utils::DateTime m_creationTime{};
231 bool m_creationTimeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_completionTime{};
234 bool m_completionTimeHasBeenSet = false;
235
236 Aws::Utils::DateTime m_lastModifiedTime{};
237 bool m_lastModifiedTimeHasBeenSet = false;
238
239 Aws::String m_failureReason;
240 bool m_failureReasonHasBeenSet = false;
241
242 RecommendationJobInputConfig m_inputConfig;
243 bool m_inputConfigHasBeenSet = false;
244
245 RecommendationJobStoppingConditions m_stoppingConditions;
246 bool m_stoppingConditionsHasBeenSet = false;
247
248 Aws::Vector<InferenceRecommendation> m_inferenceRecommendations;
249 bool m_inferenceRecommendationsHasBeenSet = false;
250
251 Aws::Vector<EndpointPerformance> m_endpointPerformances;
252 bool m_endpointPerformancesHasBeenSet = false;
253
254 Aws::String m_requestId;
255 bool m_requestIdHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace SageMaker
260} // 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