AWS SDK for C++

AWS SDK for C++ Version 1.11.804

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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/InferenceComponentDeploymentConfig.h>
13#include <aws/sagemaker/model/InferenceComponentRuntimeConfigSummary.h>
14#include <aws/sagemaker/model/InferenceComponentSpecificationSummary.h>
15#include <aws/sagemaker/model/InferenceComponentStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker {
29namespace Model {
31 public:
32 AWS_SAGEMAKER_API DescribeInferenceComponentResult() = default;
35
37
40 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
41 template <typename InferenceComponentNameT = Aws::String>
42 void SetInferenceComponentName(InferenceComponentNameT&& value) {
43 m_inferenceComponentNameHasBeenSet = true;
44 m_inferenceComponentName = std::forward<InferenceComponentNameT>(value);
45 }
46 template <typename InferenceComponentNameT = Aws::String>
48 SetInferenceComponentName(std::forward<InferenceComponentNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
58 template <typename InferenceComponentArnT = Aws::String>
59 void SetInferenceComponentArn(InferenceComponentArnT&& value) {
60 m_inferenceComponentArnHasBeenSet = true;
61 m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value);
62 }
63 template <typename InferenceComponentArnT = Aws::String>
65 SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
75 template <typename EndpointNameT = Aws::String>
76 void SetEndpointName(EndpointNameT&& value) {
77 m_endpointNameHasBeenSet = true;
78 m_endpointName = std::forward<EndpointNameT>(value);
79 }
80 template <typename EndpointNameT = Aws::String>
82 SetEndpointName(std::forward<EndpointNameT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
93 template <typename EndpointArnT = Aws::String>
94 void SetEndpointArn(EndpointArnT&& value) {
95 m_endpointArnHasBeenSet = true;
96 m_endpointArn = std::forward<EndpointArnT>(value);
97 }
98 template <typename EndpointArnT = Aws::String>
100 SetEndpointArn(std::forward<EndpointArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetVariantName() const { return m_variantName; }
110 template <typename VariantNameT = Aws::String>
111 void SetVariantName(VariantNameT&& value) {
112 m_variantNameHasBeenSet = true;
113 m_variantName = std::forward<VariantNameT>(value);
114 }
115 template <typename VariantNameT = Aws::String>
117 SetVariantName(std::forward<VariantNameT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
128 template <typename FailureReasonT = Aws::String>
129 void SetFailureReason(FailureReasonT&& value) {
130 m_failureReasonHasBeenSet = true;
131 m_failureReason = std::forward<FailureReasonT>(value);
132 }
133 template <typename FailureReasonT = Aws::String>
135 SetFailureReason(std::forward<FailureReasonT>(value));
136 return *this;
137 }
139
141
145 inline const InferenceComponentSpecificationSummary& GetSpecification() const { return m_specification; }
146 template <typename SpecificationT = InferenceComponentSpecificationSummary>
147 void SetSpecification(SpecificationT&& value) {
148 m_specificationHasBeenSet = true;
149 m_specification = std::forward<SpecificationT>(value);
150 }
151 template <typename SpecificationT = InferenceComponentSpecificationSummary>
153 SetSpecification(std::forward<SpecificationT>(value));
154 return *this;
155 }
157
159
165 inline const Aws::Vector<InferenceComponentSpecificationSummary>& GetSpecifications() const { return m_specifications; }
166 template <typename SpecificationsT = Aws::Vector<InferenceComponentSpecificationSummary>>
167 void SetSpecifications(SpecificationsT&& value) {
168 m_specificationsHasBeenSet = true;
169 m_specifications = std::forward<SpecificationsT>(value);
170 }
171 template <typename SpecificationsT = Aws::Vector<InferenceComponentSpecificationSummary>>
173 SetSpecifications(std::forward<SpecificationsT>(value));
174 return *this;
175 }
176 template <typename SpecificationsT = InferenceComponentSpecificationSummary>
178 m_specificationsHasBeenSet = true;
179 m_specifications.emplace_back(std::forward<SpecificationsT>(value));
180 return *this;
181 }
183
185
189 inline const InferenceComponentRuntimeConfigSummary& GetRuntimeConfig() const { return m_runtimeConfig; }
190 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
191 void SetRuntimeConfig(RuntimeConfigT&& value) {
192 m_runtimeConfigHasBeenSet = true;
193 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
194 }
195 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
197 SetRuntimeConfig(std::forward<RuntimeConfigT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
207 template <typename CreationTimeT = Aws::Utils::DateTime>
208 void SetCreationTime(CreationTimeT&& value) {
209 m_creationTimeHasBeenSet = true;
210 m_creationTime = std::forward<CreationTimeT>(value);
211 }
212 template <typename CreationTimeT = Aws::Utils::DateTime>
214 SetCreationTime(std::forward<CreationTimeT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
224 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
225 void SetLastModifiedTime(LastModifiedTimeT&& value) {
226 m_lastModifiedTimeHasBeenSet = true;
227 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
228 }
229 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
231 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
232 return *this;
233 }
235
237
240 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
242 m_inferenceComponentStatusHasBeenSet = true;
243 m_inferenceComponentStatus = value;
244 }
247 return *this;
248 }
250
252
256 inline const InferenceComponentDeploymentConfig& GetLastDeploymentConfig() const { return m_lastDeploymentConfig; }
257 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
258 void SetLastDeploymentConfig(LastDeploymentConfigT&& value) {
259 m_lastDeploymentConfigHasBeenSet = true;
260 m_lastDeploymentConfig = std::forward<LastDeploymentConfigT>(value);
261 }
262 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
264 SetLastDeploymentConfig(std::forward<LastDeploymentConfigT>(value));
265 return *this;
266 }
268
270
271 inline const Aws::String& GetRequestId() const { return m_requestId; }
272 template <typename RequestIdT = Aws::String>
273 void SetRequestId(RequestIdT&& value) {
274 m_requestIdHasBeenSet = true;
275 m_requestId = std::forward<RequestIdT>(value);
276 }
277 template <typename RequestIdT = Aws::String>
279 SetRequestId(std::forward<RequestIdT>(value));
280 return *this;
281 }
283 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
284
285 private:
286 Aws::String m_inferenceComponentName;
287
288 Aws::String m_inferenceComponentArn;
289
290 Aws::String m_endpointName;
291
292 Aws::String m_endpointArn;
293
294 Aws::String m_variantName;
295
296 Aws::String m_failureReason;
297
299
301
303
304 Aws::Utils::DateTime m_creationTime{};
305
306 Aws::Utils::DateTime m_lastModifiedTime{};
307
309
310 InferenceComponentDeploymentConfig m_lastDeploymentConfig;
311
312 Aws::String m_requestId;
313 Aws::Http::HttpResponseCode m_HttpResponseCode;
314 bool m_inferenceComponentNameHasBeenSet = false;
315 bool m_inferenceComponentArnHasBeenSet = false;
316 bool m_endpointNameHasBeenSet = false;
317 bool m_endpointArnHasBeenSet = false;
318 bool m_variantNameHasBeenSet = false;
319 bool m_failureReasonHasBeenSet = false;
320 bool m_specificationHasBeenSet = false;
321 bool m_specificationsHasBeenSet = false;
322 bool m_runtimeConfigHasBeenSet = false;
323 bool m_creationTimeHasBeenSet = false;
324 bool m_lastModifiedTimeHasBeenSet = false;
325 bool m_inferenceComponentStatusHasBeenSet = false;
326 bool m_lastDeploymentConfigHasBeenSet = false;
327 bool m_requestIdHasBeenSet = false;
328};
329
330} // namespace Model
331} // namespace SageMaker
332} // 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)
DescribeInferenceComponentResult & WithSpecifications(SpecificationsT &&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 & AddSpecifications(SpecificationsT &&value)
DescribeInferenceComponentResult & WithLastDeploymentConfig(LastDeploymentConfigT &&value)
const Aws::Vector< InferenceComponentSpecificationSummary > & GetSpecifications() const
DescribeInferenceComponentResult & WithInferenceComponentArn(InferenceComponentArnT &&value)
DescribeInferenceComponentResult & WithEndpointArn(EndpointArnT &&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