AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeInferenceComponentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/InferenceComponentDeploymentConfig.h>
11#include <aws/sagemaker/model/InferenceComponentRuntimeConfigSummary.h>
12#include <aws/sagemaker/model/InferenceComponentSpecificationSummary.h>
13#include <aws/sagemaker/model/InferenceComponentStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeInferenceComponentResult() = default;
33
35
38 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
39 template <typename InferenceComponentNameT = Aws::String>
40 void SetInferenceComponentName(InferenceComponentNameT&& value) {
41 m_inferenceComponentNameHasBeenSet = true;
42 m_inferenceComponentName = std::forward<InferenceComponentNameT>(value);
43 }
44 template <typename InferenceComponentNameT = Aws::String>
46 SetInferenceComponentName(std::forward<InferenceComponentNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
56 template <typename InferenceComponentArnT = Aws::String>
57 void SetInferenceComponentArn(InferenceComponentArnT&& value) {
58 m_inferenceComponentArnHasBeenSet = true;
59 m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value);
60 }
61 template <typename InferenceComponentArnT = Aws::String>
63 SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
73 template <typename EndpointNameT = Aws::String>
74 void SetEndpointName(EndpointNameT&& value) {
75 m_endpointNameHasBeenSet = true;
76 m_endpointName = std::forward<EndpointNameT>(value);
77 }
78 template <typename EndpointNameT = Aws::String>
80 SetEndpointName(std::forward<EndpointNameT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
91 template <typename EndpointArnT = Aws::String>
92 void SetEndpointArn(EndpointArnT&& value) {
93 m_endpointArnHasBeenSet = true;
94 m_endpointArn = std::forward<EndpointArnT>(value);
95 }
96 template <typename EndpointArnT = Aws::String>
98 SetEndpointArn(std::forward<EndpointArnT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetVariantName() const { return m_variantName; }
108 template <typename VariantNameT = Aws::String>
109 void SetVariantName(VariantNameT&& value) {
110 m_variantNameHasBeenSet = true;
111 m_variantName = std::forward<VariantNameT>(value);
112 }
113 template <typename VariantNameT = Aws::String>
115 SetVariantName(std::forward<VariantNameT>(value));
116 return *this;
117 }
119
121
125 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
126 template <typename FailureReasonT = Aws::String>
127 void SetFailureReason(FailureReasonT&& value) {
128 m_failureReasonHasBeenSet = true;
129 m_failureReason = std::forward<FailureReasonT>(value);
130 }
131 template <typename FailureReasonT = Aws::String>
133 SetFailureReason(std::forward<FailureReasonT>(value));
134 return *this;
135 }
137
139
143 inline const InferenceComponentSpecificationSummary& GetSpecification() const { return m_specification; }
144 template <typename SpecificationT = InferenceComponentSpecificationSummary>
145 void SetSpecification(SpecificationT&& value) {
146 m_specificationHasBeenSet = true;
147 m_specification = std::forward<SpecificationT>(value);
148 }
149 template <typename SpecificationT = InferenceComponentSpecificationSummary>
151 SetSpecification(std::forward<SpecificationT>(value));
152 return *this;
153 }
155
157
161 inline const InferenceComponentRuntimeConfigSummary& GetRuntimeConfig() const { return m_runtimeConfig; }
162 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
163 void SetRuntimeConfig(RuntimeConfigT&& value) {
164 m_runtimeConfigHasBeenSet = true;
165 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
166 }
167 template <typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
169 SetRuntimeConfig(std::forward<RuntimeConfigT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
179 template <typename CreationTimeT = Aws::Utils::DateTime>
180 void SetCreationTime(CreationTimeT&& value) {
181 m_creationTimeHasBeenSet = true;
182 m_creationTime = std::forward<CreationTimeT>(value);
183 }
184 template <typename CreationTimeT = Aws::Utils::DateTime>
186 SetCreationTime(std::forward<CreationTimeT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
196 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
197 void SetLastModifiedTime(LastModifiedTimeT&& value) {
198 m_lastModifiedTimeHasBeenSet = true;
199 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
200 }
201 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
203 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
204 return *this;
205 }
207
209
212 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
214 m_inferenceComponentStatusHasBeenSet = true;
215 m_inferenceComponentStatus = value;
216 }
219 return *this;
220 }
222
224
228 inline const InferenceComponentDeploymentConfig& GetLastDeploymentConfig() const { return m_lastDeploymentConfig; }
229 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
230 void SetLastDeploymentConfig(LastDeploymentConfigT&& value) {
231 m_lastDeploymentConfigHasBeenSet = true;
232 m_lastDeploymentConfig = std::forward<LastDeploymentConfigT>(value);
233 }
234 template <typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
236 SetLastDeploymentConfig(std::forward<LastDeploymentConfigT>(value));
237 return *this;
238 }
240
242
243 inline const Aws::String& GetRequestId() const { return m_requestId; }
244 template <typename RequestIdT = Aws::String>
245 void SetRequestId(RequestIdT&& value) {
246 m_requestIdHasBeenSet = true;
247 m_requestId = std::forward<RequestIdT>(value);
248 }
249 template <typename RequestIdT = Aws::String>
251 SetRequestId(std::forward<RequestIdT>(value));
252 return *this;
253 }
255 private:
256 Aws::String m_inferenceComponentName;
257
258 Aws::String m_inferenceComponentArn;
259
260 Aws::String m_endpointName;
261
262 Aws::String m_endpointArn;
263
264 Aws::String m_variantName;
265
266 Aws::String m_failureReason;
267
269
271
272 Aws::Utils::DateTime m_creationTime{};
273
274 Aws::Utils::DateTime m_lastModifiedTime{};
275
277
278 InferenceComponentDeploymentConfig m_lastDeploymentConfig;
279
280 Aws::String m_requestId;
281 bool m_inferenceComponentNameHasBeenSet = false;
282 bool m_inferenceComponentArnHasBeenSet = false;
283 bool m_endpointNameHasBeenSet = false;
284 bool m_endpointArnHasBeenSet = false;
285 bool m_variantNameHasBeenSet = false;
286 bool m_failureReasonHasBeenSet = false;
287 bool m_specificationHasBeenSet = false;
288 bool m_runtimeConfigHasBeenSet = false;
289 bool m_creationTimeHasBeenSet = false;
290 bool m_lastModifiedTimeHasBeenSet = false;
291 bool m_inferenceComponentStatusHasBeenSet = false;
292 bool m_lastDeploymentConfigHasBeenSet = false;
293 bool m_requestIdHasBeenSet = false;
294};
295
296} // namespace Model
297} // namespace SageMaker
298} // 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