AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeInferenceComponentResult.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/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/InferenceComponentDeploymentConfig.h>
12#include <aws/sagemaker/model/InferenceComponentRuntimeConfigSummary.h>
13#include <aws/sagemaker/model/InferenceComponentSpecificationSummary.h>
14#include <aws/sagemaker/model/InferenceComponentStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeInferenceComponentResult() = default;
34
36
39 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
40 template <typename InferenceComponentNameT = Aws::String>
41 void SetInferenceComponentName(InferenceComponentNameT&& value) {
42 m_inferenceComponentNameHasBeenSet = true;
43 m_inferenceComponentName = std::forward<InferenceComponentNameT>(value);
44 }
45 template <typename InferenceComponentNameT = Aws::String>
47 SetInferenceComponentName(std::forward<InferenceComponentNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
57 template <typename InferenceComponentArnT = Aws::String>
58 void SetInferenceComponentArn(InferenceComponentArnT&& value) {
59 m_inferenceComponentArnHasBeenSet = true;
60 m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value);
61 }
62 template <typename InferenceComponentArnT = Aws::String>
64 SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
74 template <typename EndpointNameT = Aws::String>
75 void SetEndpointName(EndpointNameT&& value) {
76 m_endpointNameHasBeenSet = true;
77 m_endpointName = std::forward<EndpointNameT>(value);
78 }
79 template <typename EndpointNameT = Aws::String>
81 SetEndpointName(std::forward<EndpointNameT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
92 template <typename EndpointArnT = Aws::String>
93 void SetEndpointArn(EndpointArnT&& value) {
94 m_endpointArnHasBeenSet = true;
95 m_endpointArn = std::forward<EndpointArnT>(value);
96 }
97 template <typename EndpointArnT = Aws::String>
99 SetEndpointArn(std::forward<EndpointArnT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetVariantName() const { return m_variantName; }
109 template <typename VariantNameT = Aws::String>
110 void SetVariantName(VariantNameT&& value) {
111 m_variantNameHasBeenSet = true;
112 m_variantName = std::forward<VariantNameT>(value);
113 }
114 template <typename VariantNameT = Aws::String>
116 SetVariantName(std::forward<VariantNameT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
127 template <typename FailureReasonT = Aws::String>
128 void SetFailureReason(FailureReasonT&& value) {
129 m_failureReasonHasBeenSet = true;
130 m_failureReason = std::forward<FailureReasonT>(value);
131 }
132 template <typename FailureReasonT = Aws::String>
134 SetFailureReason(std::forward<FailureReasonT>(value));
135 return *this;
136 }
138
140
144 inline const InferenceComponentSpecificationSummary& GetSpecification() const { return m_specification; }
145 template <typename SpecificationT = InferenceComponentSpecificationSummary>
146 void SetSpecification(SpecificationT&& value) {
147 m_specificationHasBeenSet = true;
148 m_specification = std::forward<SpecificationT>(value);
149 }
150 template <typename SpecificationT = InferenceComponentSpecificationSummary>
152 SetSpecification(std::forward<SpecificationT>(value));
153 return *this;
154 }
156
158
162 inline const InferenceComponentRuntimeConfigSummary& GetRuntimeConfig() const { return m_runtimeConfig; }
163 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
164 void SetRuntimeConfig(RuntimeConfigT&& value) {
165 m_runtimeConfigHasBeenSet = true;
166 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
167 }
168 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
170 SetRuntimeConfig(std::forward<RuntimeConfigT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
180 template <typename CreationTimeT = Aws::Utils::DateTime>
181 void SetCreationTime(CreationTimeT&& value) {
182 m_creationTimeHasBeenSet = true;
183 m_creationTime = std::forward<CreationTimeT>(value);
184 }
185 template <typename CreationTimeT = Aws::Utils::DateTime>
187 SetCreationTime(std::forward<CreationTimeT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
197 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
198 void SetLastModifiedTime(LastModifiedTimeT&& value) {
199 m_lastModifiedTimeHasBeenSet = true;
200 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
201 }
202 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
204 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
205 return *this;
206 }
208
210
213 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
215 m_inferenceComponentStatusHasBeenSet = true;
216 m_inferenceComponentStatus = value;
217 }
220 return *this;
221 }
223
225
229 inline const InferenceComponentDeploymentConfig& GetLastDeploymentConfig() const { return m_lastDeploymentConfig; }
230 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
231 void SetLastDeploymentConfig(LastDeploymentConfigT&& value) {
232 m_lastDeploymentConfigHasBeenSet = true;
233 m_lastDeploymentConfig = std::forward<LastDeploymentConfigT>(value);
234 }
235 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
237 SetLastDeploymentConfig(std::forward<LastDeploymentConfigT>(value));
238 return *this;
239 }
241
243
244 inline const Aws::String& GetRequestId() const { return m_requestId; }
245 template <typename RequestIdT = Aws::String>
246 void SetRequestId(RequestIdT&& value) {
247 m_requestIdHasBeenSet = true;
248 m_requestId = std::forward<RequestIdT>(value);
249 }
250 template <typename RequestIdT = Aws::String>
252 SetRequestId(std::forward<RequestIdT>(value));
253 return *this;
254 }
256 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
257
258 private:
259 Aws::String m_inferenceComponentName;
260
261 Aws::String m_inferenceComponentArn;
262
263 Aws::String m_endpointName;
264
265 Aws::String m_endpointArn;
266
267 Aws::String m_variantName;
268
269 Aws::String m_failureReason;
270
272
274
275 Aws::Utils::DateTime m_creationTime{};
276
277 Aws::Utils::DateTime m_lastModifiedTime{};
278
280
281 InferenceComponentDeploymentConfig m_lastDeploymentConfig;
282
283 Aws::String m_requestId;
284 Aws::Http::HttpResponseCode m_HttpResponseCode;
285 bool m_inferenceComponentNameHasBeenSet = false;
286 bool m_inferenceComponentArnHasBeenSet = false;
287 bool m_endpointNameHasBeenSet = false;
288 bool m_endpointArnHasBeenSet = false;
289 bool m_variantNameHasBeenSet = false;
290 bool m_failureReasonHasBeenSet = false;
291 bool m_specificationHasBeenSet = false;
292 bool m_runtimeConfigHasBeenSet = false;
293 bool m_creationTimeHasBeenSet = false;
294 bool m_lastModifiedTimeHasBeenSet = false;
295 bool m_inferenceComponentStatusHasBeenSet = false;
296 bool m_lastDeploymentConfigHasBeenSet = false;
297 bool m_requestIdHasBeenSet = false;
298};
299
300} // namespace Model
301} // namespace SageMaker
302} // namespace Aws
const InferenceComponentDeploymentConfig & GetLastDeploymentConfig() const
DescribeInferenceComponentResult & WithFailureReason(FailureReasonT &&value)
DescribeInferenceComponentResult & WithInferenceComponentName(InferenceComponentNameT &&value)
DescribeInferenceComponentResult & WithVariantName(VariantNameT &&value)
DescribeInferenceComponentResult & WithRuntimeConfig(RuntimeConfigT &&value)
DescribeInferenceComponentResult & WithCreationTime(CreationTimeT &&value)
const InferenceComponentSpecificationSummary & GetSpecification() const
DescribeInferenceComponentResult & WithSpecification(SpecificationT &&value)
AWS_SAGEMAKER_API DescribeInferenceComponentResult()=default
DescribeInferenceComponentResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeInferenceComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceComponentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeInferenceComponentResult & WithInferenceComponentStatus(InferenceComponentStatus value)
const InferenceComponentRuntimeConfigSummary & GetRuntimeConfig() const
DescribeInferenceComponentResult & WithEndpointName(EndpointNameT &&value)
AWS_SAGEMAKER_API DescribeInferenceComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceComponentResult & WithLastDeploymentConfig(LastDeploymentConfigT &&value)
DescribeInferenceComponentResult & WithInferenceComponentArn(InferenceComponentArnT &&value)
DescribeInferenceComponentResult & WithEndpointArn(EndpointArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue