AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
48 inline const Aws::String& GetJobName() const{ return m_jobName; }
49 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
50 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
51 inline void SetJobName(const char* value) { m_jobName.assign(value); }
52 inline DescribeInferenceRecommendationsJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
53 inline DescribeInferenceRecommendationsJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
54 inline DescribeInferenceRecommendationsJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
56
58
61 inline const Aws::String& GetJobDescription() const{ return m_jobDescription; }
62 inline void SetJobDescription(const Aws::String& value) { m_jobDescription = value; }
63 inline void SetJobDescription(Aws::String&& value) { m_jobDescription = std::move(value); }
64 inline void SetJobDescription(const char* value) { m_jobDescription.assign(value); }
67 inline DescribeInferenceRecommendationsJobResult& WithJobDescription(const char* value) { SetJobDescription(value); return *this;}
69
71
74 inline const RecommendationJobType& GetJobType() const{ return m_jobType; }
75 inline void SetJobType(const RecommendationJobType& value) { m_jobType = value; }
76 inline void SetJobType(RecommendationJobType&& value) { m_jobType = std::move(value); }
80
82
85 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
86 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
87 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
88 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
89 inline DescribeInferenceRecommendationsJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
90 inline DescribeInferenceRecommendationsJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
91 inline DescribeInferenceRecommendationsJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
93
95
99 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
100 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
101 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
102 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
104 inline DescribeInferenceRecommendationsJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
105 inline DescribeInferenceRecommendationsJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
107
109
112 inline const RecommendationJobStatus& GetStatus() const{ return m_status; }
113 inline void SetStatus(const RecommendationJobStatus& value) { m_status = value; }
114 inline void SetStatus(RecommendationJobStatus&& value) { m_status = std::move(value); }
118
120
123 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
124 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
125 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
129
131
134 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
135 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; }
136 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); }
140
142
145 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
146 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
147 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
151
153
156 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
157 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
158 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
159 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
162 inline DescribeInferenceRecommendationsJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
164
166
171 inline const RecommendationJobInputConfig& GetInputConfig() const{ return m_inputConfig; }
172 inline void SetInputConfig(const RecommendationJobInputConfig& value) { m_inputConfig = value; }
173 inline void SetInputConfig(RecommendationJobInputConfig&& value) { m_inputConfig = std::move(value); }
177
179
182 inline const RecommendationJobStoppingConditions& GetStoppingConditions() const{ return m_stoppingConditions; }
183 inline void SetStoppingConditions(const RecommendationJobStoppingConditions& value) { m_stoppingConditions = value; }
184 inline void SetStoppingConditions(RecommendationJobStoppingConditions&& value) { m_stoppingConditions = std::move(value); }
188
190
193 inline const Aws::Vector<InferenceRecommendation>& GetInferenceRecommendations() const{ return m_inferenceRecommendations; }
194 inline void SetInferenceRecommendations(const Aws::Vector<InferenceRecommendation>& value) { m_inferenceRecommendations = value; }
195 inline void SetInferenceRecommendations(Aws::Vector<InferenceRecommendation>&& value) { m_inferenceRecommendations = std::move(value); }
198 inline DescribeInferenceRecommendationsJobResult& AddInferenceRecommendations(const InferenceRecommendation& value) { m_inferenceRecommendations.push_back(value); return *this; }
199 inline DescribeInferenceRecommendationsJobResult& AddInferenceRecommendations(InferenceRecommendation&& value) { m_inferenceRecommendations.push_back(std::move(value)); return *this; }
201
203
207 inline const Aws::Vector<EndpointPerformance>& GetEndpointPerformances() const{ return m_endpointPerformances; }
208 inline void SetEndpointPerformances(const Aws::Vector<EndpointPerformance>& value) { m_endpointPerformances = value; }
209 inline void SetEndpointPerformances(Aws::Vector<EndpointPerformance>&& value) { m_endpointPerformances = std::move(value); }
212 inline DescribeInferenceRecommendationsJobResult& AddEndpointPerformances(const EndpointPerformance& value) { m_endpointPerformances.push_back(value); return *this; }
213 inline DescribeInferenceRecommendationsJobResult& AddEndpointPerformances(EndpointPerformance&& value) { m_endpointPerformances.push_back(std::move(value)); return *this; }
215
217
218 inline const Aws::String& GetRequestId() const{ return m_requestId; }
219 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
220 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
221 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
223 inline DescribeInferenceRecommendationsJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
224 inline DescribeInferenceRecommendationsJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
226 private:
227
228 Aws::String m_jobName;
229
230 Aws::String m_jobDescription;
231
232 RecommendationJobType m_jobType;
233
234 Aws::String m_jobArn;
235
236 Aws::String m_roleArn;
237
239
240 Aws::Utils::DateTime m_creationTime;
241
242 Aws::Utils::DateTime m_completionTime;
243
244 Aws::Utils::DateTime m_lastModifiedTime;
245
246 Aws::String m_failureReason;
247
248 RecommendationJobInputConfig m_inputConfig;
249
250 RecommendationJobStoppingConditions m_stoppingConditions;
251
252 Aws::Vector<InferenceRecommendation> m_inferenceRecommendations;
253
254 Aws::Vector<EndpointPerformance> m_endpointPerformances;
255
256 Aws::String m_requestId;
257 };
258
259} // namespace Model
260} // namespace SageMaker
261} // namespace Aws
DescribeInferenceRecommendationsJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeInferenceRecommendationsJobResult & WithJobDescription(const char *value)
DescribeInferenceRecommendationsJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeInferenceRecommendationsJobResult & WithJobName(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & WithRoleArn(const char *value)
DescribeInferenceRecommendationsJobResult & WithFailureReason(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & AddInferenceRecommendations(const InferenceRecommendation &value)
DescribeInferenceRecommendationsJobResult & WithStoppingConditions(RecommendationJobStoppingConditions &&value)
DescribeInferenceRecommendationsJobResult & WithJobArn(const char *value)
DescribeInferenceRecommendationsJobResult & WithInputConfig(const RecommendationJobInputConfig &value)
DescribeInferenceRecommendationsJobResult & WithJobType(RecommendationJobType &&value)
DescribeInferenceRecommendationsJobResult & WithRequestId(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeInferenceRecommendationsJobResult & WithJobDescription(Aws::String &&value)
DescribeInferenceRecommendationsJobResult & AddInferenceRecommendations(InferenceRecommendation &&value)
AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceRecommendationsJobResult & WithCompletionTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceRecommendationsJobResult & WithStatus(RecommendationJobStatus &&value)
DescribeInferenceRecommendationsJobResult & WithStatus(const RecommendationJobStatus &value)
DescribeInferenceRecommendationsJobResult & AddEndpointPerformances(const EndpointPerformance &value)
DescribeInferenceRecommendationsJobResult & WithInferenceRecommendations(Aws::Vector< InferenceRecommendation > &&value)
DescribeInferenceRecommendationsJobResult & WithInputConfig(RecommendationJobInputConfig &&value)
DescribeInferenceRecommendationsJobResult & WithCompletionTime(Aws::Utils::DateTime &&value)
DescribeInferenceRecommendationsJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeInferenceRecommendationsJobResult & WithRequestId(Aws::String &&value)
DescribeInferenceRecommendationsJobResult & WithJobName(Aws::String &&value)
void SetInferenceRecommendations(const Aws::Vector< InferenceRecommendation > &value)
DescribeInferenceRecommendationsJobResult & WithJobName(const char *value)
DescribeInferenceRecommendationsJobResult & WithRequestId(const char *value)
DescribeInferenceRecommendationsJobResult & WithEndpointPerformances(const Aws::Vector< EndpointPerformance > &value)
DescribeInferenceRecommendationsJobResult & WithJobArn(Aws::String &&value)
DescribeInferenceRecommendationsJobResult & WithRoleArn(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & WithJobDescription(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & WithFailureReason(Aws::String &&value)
DescribeInferenceRecommendationsJobResult & WithFailureReason(const char *value)
DescribeInferenceRecommendationsJobResult & WithEndpointPerformances(Aws::Vector< EndpointPerformance > &&value)
DescribeInferenceRecommendationsJobResult & WithRoleArn(Aws::String &&value)
DescribeInferenceRecommendationsJobResult & WithInferenceRecommendations(const Aws::Vector< InferenceRecommendation > &value)
DescribeInferenceRecommendationsJobResult & WithStoppingConditions(const RecommendationJobStoppingConditions &value)
DescribeInferenceRecommendationsJobResult & WithJobArn(const Aws::String &value)
DescribeInferenceRecommendationsJobResult & AddEndpointPerformances(EndpointPerformance &&value)
DescribeInferenceRecommendationsJobResult & WithJobType(const RecommendationJobType &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