AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeInferenceComponentResult.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/InferenceComponentSpecificationSummary.h>
10#include <aws/sagemaker/model/InferenceComponentRuntimeConfigSummary.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/InferenceComponentStatus.h>
13#include <aws/sagemaker/model/InferenceComponentDeploymentConfig.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeInferenceComponentResult() = default;
38
39
41
44 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
45 template<typename InferenceComponentNameT = Aws::String>
46 void SetInferenceComponentName(InferenceComponentNameT&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::forward<InferenceComponentNameT>(value); }
47 template<typename InferenceComponentNameT = Aws::String>
48 DescribeInferenceComponentResult& WithInferenceComponentName(InferenceComponentNameT&& value) { SetInferenceComponentName(std::forward<InferenceComponentNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
56 template<typename InferenceComponentArnT = Aws::String>
57 void SetInferenceComponentArn(InferenceComponentArnT&& value) { m_inferenceComponentArnHasBeenSet = true; m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value); }
58 template<typename InferenceComponentArnT = Aws::String>
59 DescribeInferenceComponentResult& WithInferenceComponentArn(InferenceComponentArnT&& value) { SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
67 template<typename EndpointNameT = Aws::String>
68 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
69 template<typename EndpointNameT = Aws::String>
70 DescribeInferenceComponentResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
72
74
78 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
79 template<typename EndpointArnT = Aws::String>
80 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
81 template<typename EndpointArnT = Aws::String>
82 DescribeInferenceComponentResult& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetVariantName() const { return m_variantName; }
90 template<typename VariantNameT = Aws::String>
91 void SetVariantName(VariantNameT&& value) { m_variantNameHasBeenSet = true; m_variantName = std::forward<VariantNameT>(value); }
92 template<typename VariantNameT = Aws::String>
93 DescribeInferenceComponentResult& WithVariantName(VariantNameT&& value) { SetVariantName(std::forward<VariantNameT>(value)); return *this;}
95
97
101 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
102 template<typename FailureReasonT = Aws::String>
103 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
104 template<typename FailureReasonT = Aws::String>
105 DescribeInferenceComponentResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
107
109
113 inline const InferenceComponentSpecificationSummary& GetSpecification() const { return m_specification; }
114 template<typename SpecificationT = InferenceComponentSpecificationSummary>
115 void SetSpecification(SpecificationT&& value) { m_specificationHasBeenSet = true; m_specification = std::forward<SpecificationT>(value); }
116 template<typename SpecificationT = InferenceComponentSpecificationSummary>
117 DescribeInferenceComponentResult& WithSpecification(SpecificationT&& value) { SetSpecification(std::forward<SpecificationT>(value)); return *this;}
119
121
125 inline const InferenceComponentRuntimeConfigSummary& GetRuntimeConfig() const { return m_runtimeConfig; }
126 template<typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
127 void SetRuntimeConfig(RuntimeConfigT&& value) { m_runtimeConfigHasBeenSet = true; m_runtimeConfig = std::forward<RuntimeConfigT>(value); }
128 template<typename RuntimeConfigT = InferenceComponentRuntimeConfigSummary>
129 DescribeInferenceComponentResult& WithRuntimeConfig(RuntimeConfigT&& value) { SetRuntimeConfig(std::forward<RuntimeConfigT>(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
137 template<typename CreationTimeT = Aws::Utils::DateTime>
138 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
139 template<typename CreationTimeT = Aws::Utils::DateTime>
140 DescribeInferenceComponentResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
148 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
149 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
150 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
151 DescribeInferenceComponentResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
153
155
158 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
159 inline void SetInferenceComponentStatus(InferenceComponentStatus value) { m_inferenceComponentStatusHasBeenSet = true; m_inferenceComponentStatus = value; }
162
164
168 inline const InferenceComponentDeploymentConfig& GetLastDeploymentConfig() const { return m_lastDeploymentConfig; }
169 template<typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
170 void SetLastDeploymentConfig(LastDeploymentConfigT&& value) { m_lastDeploymentConfigHasBeenSet = true; m_lastDeploymentConfig = std::forward<LastDeploymentConfigT>(value); }
171 template<typename LastDeploymentConfigT = InferenceComponentDeploymentConfig>
172 DescribeInferenceComponentResult& WithLastDeploymentConfig(LastDeploymentConfigT&& value) { SetLastDeploymentConfig(std::forward<LastDeploymentConfigT>(value)); return *this;}
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 template<typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
180 template<typename RequestIdT = Aws::String>
181 DescribeInferenceComponentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
183 private:
184
185 Aws::String m_inferenceComponentName;
186 bool m_inferenceComponentNameHasBeenSet = false;
187
188 Aws::String m_inferenceComponentArn;
189 bool m_inferenceComponentArnHasBeenSet = false;
190
191 Aws::String m_endpointName;
192 bool m_endpointNameHasBeenSet = false;
193
194 Aws::String m_endpointArn;
195 bool m_endpointArnHasBeenSet = false;
196
197 Aws::String m_variantName;
198 bool m_variantNameHasBeenSet = false;
199
200 Aws::String m_failureReason;
201 bool m_failureReasonHasBeenSet = false;
202
204 bool m_specificationHasBeenSet = false;
205
207 bool m_runtimeConfigHasBeenSet = false;
208
209 Aws::Utils::DateTime m_creationTime{};
210 bool m_creationTimeHasBeenSet = false;
211
212 Aws::Utils::DateTime m_lastModifiedTime{};
213 bool m_lastModifiedTimeHasBeenSet = false;
214
216 bool m_inferenceComponentStatusHasBeenSet = false;
217
218 InferenceComponentDeploymentConfig m_lastDeploymentConfig;
219 bool m_lastDeploymentConfigHasBeenSet = false;
220
221 Aws::String m_requestId;
222 bool m_requestIdHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace SageMaker
227} // 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