AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeEndpointResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/DataCaptureConfigSummary.h>
11#include <aws/sagemaker/model/EndpointStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/DeploymentConfig.h>
14#include <aws/sagemaker/model/AsyncInferenceConfig.h>
15#include <aws/sagemaker/model/PendingDeploymentSummary.h>
16#include <aws/sagemaker/model/ExplainerConfig.h>
17#include <aws/sagemaker/model/ProductionVariantSummary.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker
33{
34namespace Model
35{
37 {
38 public:
39 AWS_SAGEMAKER_API DescribeEndpointResult() = default;
42
43
45
48 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
49 template<typename EndpointNameT = Aws::String>
50 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
51 template<typename EndpointNameT = Aws::String>
52 DescribeEndpointResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
60 template<typename EndpointArnT = Aws::String>
61 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
62 template<typename EndpointArnT = Aws::String>
63 DescribeEndpointResult& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEndpointConfigName() const { return m_endpointConfigName; }
71 template<typename EndpointConfigNameT = Aws::String>
72 void SetEndpointConfigName(EndpointConfigNameT&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::forward<EndpointConfigNameT>(value); }
73 template<typename EndpointConfigNameT = Aws::String>
74 DescribeEndpointResult& WithEndpointConfigName(EndpointConfigNameT&& value) { SetEndpointConfigName(std::forward<EndpointConfigNameT>(value)); return *this;}
76
78
83 inline const Aws::Vector<ProductionVariantSummary>& GetProductionVariants() const { return m_productionVariants; }
84 template<typename ProductionVariantsT = Aws::Vector<ProductionVariantSummary>>
85 void SetProductionVariants(ProductionVariantsT&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::forward<ProductionVariantsT>(value); }
86 template<typename ProductionVariantsT = Aws::Vector<ProductionVariantSummary>>
87 DescribeEndpointResult& WithProductionVariants(ProductionVariantsT&& value) { SetProductionVariants(std::forward<ProductionVariantsT>(value)); return *this;}
88 template<typename ProductionVariantsT = ProductionVariantSummary>
89 DescribeEndpointResult& AddProductionVariants(ProductionVariantsT&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.emplace_back(std::forward<ProductionVariantsT>(value)); return *this; }
91
93
94 inline const DataCaptureConfigSummary& GetDataCaptureConfig() const { return m_dataCaptureConfig; }
95 template<typename DataCaptureConfigT = DataCaptureConfigSummary>
96 void SetDataCaptureConfig(DataCaptureConfigT&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::forward<DataCaptureConfigT>(value); }
97 template<typename DataCaptureConfigT = DataCaptureConfigSummary>
98 DescribeEndpointResult& WithDataCaptureConfig(DataCaptureConfigT&& value) { SetDataCaptureConfig(std::forward<DataCaptureConfigT>(value)); return *this;}
100
102
142 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
143 inline void SetEndpointStatus(EndpointStatus value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
146
148
152 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
153 template<typename FailureReasonT = Aws::String>
154 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
155 template<typename FailureReasonT = Aws::String>
156 DescribeEndpointResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
158
160
163 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
164 template<typename CreationTimeT = Aws::Utils::DateTime>
165 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
166 template<typename CreationTimeT = Aws::Utils::DateTime>
167 DescribeEndpointResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
175 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
176 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
177 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
178 DescribeEndpointResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
180
182
185 inline const DeploymentConfig& GetLastDeploymentConfig() const { return m_lastDeploymentConfig; }
186 template<typename LastDeploymentConfigT = DeploymentConfig>
187 void SetLastDeploymentConfig(LastDeploymentConfigT&& value) { m_lastDeploymentConfigHasBeenSet = true; m_lastDeploymentConfig = std::forward<LastDeploymentConfigT>(value); }
188 template<typename LastDeploymentConfigT = DeploymentConfig>
189 DescribeEndpointResult& WithLastDeploymentConfig(LastDeploymentConfigT&& value) { SetLastDeploymentConfig(std::forward<LastDeploymentConfigT>(value)); return *this;}
191
193
198 inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const { return m_asyncInferenceConfig; }
199 template<typename AsyncInferenceConfigT = AsyncInferenceConfig>
200 void SetAsyncInferenceConfig(AsyncInferenceConfigT&& value) { m_asyncInferenceConfigHasBeenSet = true; m_asyncInferenceConfig = std::forward<AsyncInferenceConfigT>(value); }
201 template<typename AsyncInferenceConfigT = AsyncInferenceConfig>
202 DescribeEndpointResult& WithAsyncInferenceConfig(AsyncInferenceConfigT&& value) { SetAsyncInferenceConfig(std::forward<AsyncInferenceConfigT>(value)); return *this;}
204
206
210 inline const PendingDeploymentSummary& GetPendingDeploymentSummary() const { return m_pendingDeploymentSummary; }
211 template<typename PendingDeploymentSummaryT = PendingDeploymentSummary>
212 void SetPendingDeploymentSummary(PendingDeploymentSummaryT&& value) { m_pendingDeploymentSummaryHasBeenSet = true; m_pendingDeploymentSummary = std::forward<PendingDeploymentSummaryT>(value); }
213 template<typename PendingDeploymentSummaryT = PendingDeploymentSummary>
214 DescribeEndpointResult& WithPendingDeploymentSummary(PendingDeploymentSummaryT&& value) { SetPendingDeploymentSummary(std::forward<PendingDeploymentSummaryT>(value)); return *this;}
216
218
221 inline const ExplainerConfig& GetExplainerConfig() const { return m_explainerConfig; }
222 template<typename ExplainerConfigT = ExplainerConfig>
223 void SetExplainerConfig(ExplainerConfigT&& value) { m_explainerConfigHasBeenSet = true; m_explainerConfig = std::forward<ExplainerConfigT>(value); }
224 template<typename ExplainerConfigT = ExplainerConfig>
225 DescribeEndpointResult& WithExplainerConfig(ExplainerConfigT&& value) { SetExplainerConfig(std::forward<ExplainerConfigT>(value)); return *this;}
227
229
236 inline const Aws::Vector<ProductionVariantSummary>& GetShadowProductionVariants() const { return m_shadowProductionVariants; }
237 template<typename ShadowProductionVariantsT = Aws::Vector<ProductionVariantSummary>>
238 void SetShadowProductionVariants(ShadowProductionVariantsT&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = std::forward<ShadowProductionVariantsT>(value); }
239 template<typename ShadowProductionVariantsT = Aws::Vector<ProductionVariantSummary>>
240 DescribeEndpointResult& WithShadowProductionVariants(ShadowProductionVariantsT&& value) { SetShadowProductionVariants(std::forward<ShadowProductionVariantsT>(value)); return *this;}
241 template<typename ShadowProductionVariantsT = ProductionVariantSummary>
242 DescribeEndpointResult& AddShadowProductionVariants(ShadowProductionVariantsT&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.emplace_back(std::forward<ShadowProductionVariantsT>(value)); return *this; }
244
246
247 inline const Aws::String& GetRequestId() const { return m_requestId; }
248 template<typename RequestIdT = Aws::String>
249 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
250 template<typename RequestIdT = Aws::String>
251 DescribeEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
253 private:
254
255 Aws::String m_endpointName;
256 bool m_endpointNameHasBeenSet = false;
257
258 Aws::String m_endpointArn;
259 bool m_endpointArnHasBeenSet = false;
260
261 Aws::String m_endpointConfigName;
262 bool m_endpointConfigNameHasBeenSet = false;
263
264 Aws::Vector<ProductionVariantSummary> m_productionVariants;
265 bool m_productionVariantsHasBeenSet = false;
266
267 DataCaptureConfigSummary m_dataCaptureConfig;
268 bool m_dataCaptureConfigHasBeenSet = false;
269
270 EndpointStatus m_endpointStatus{EndpointStatus::NOT_SET};
271 bool m_endpointStatusHasBeenSet = false;
272
273 Aws::String m_failureReason;
274 bool m_failureReasonHasBeenSet = false;
275
276 Aws::Utils::DateTime m_creationTime{};
277 bool m_creationTimeHasBeenSet = false;
278
279 Aws::Utils::DateTime m_lastModifiedTime{};
280 bool m_lastModifiedTimeHasBeenSet = false;
281
282 DeploymentConfig m_lastDeploymentConfig;
283 bool m_lastDeploymentConfigHasBeenSet = false;
284
285 AsyncInferenceConfig m_asyncInferenceConfig;
286 bool m_asyncInferenceConfigHasBeenSet = false;
287
288 PendingDeploymentSummary m_pendingDeploymentSummary;
289 bool m_pendingDeploymentSummaryHasBeenSet = false;
290
291 ExplainerConfig m_explainerConfig;
292 bool m_explainerConfigHasBeenSet = false;
293
294 Aws::Vector<ProductionVariantSummary> m_shadowProductionVariants;
295 bool m_shadowProductionVariantsHasBeenSet = false;
296
297 Aws::String m_requestId;
298 bool m_requestIdHasBeenSet = false;
299 };
300
301} // namespace Model
302} // namespace SageMaker
303} // namespace Aws
DescribeEndpointResult & AddShadowProductionVariants(ShadowProductionVariantsT &&value)
void SetDataCaptureConfig(DataCaptureConfigT &&value)
DescribeEndpointResult & WithCreationTime(CreationTimeT &&value)
DescribeEndpointResult & WithEndpointArn(EndpointArnT &&value)
const DataCaptureConfigSummary & GetDataCaptureConfig() const
AWS_SAGEMAKER_API DescribeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
void SetEndpointConfigName(EndpointConfigNameT &&value)
void SetProductionVariants(ProductionVariantsT &&value)
DescribeEndpointResult & WithLastDeploymentConfig(LastDeploymentConfigT &&value)
DescribeEndpointResult & WithDataCaptureConfig(DataCaptureConfigT &&value)
const Aws::Vector< ProductionVariantSummary > & GetShadowProductionVariants() const
DescribeEndpointResult & WithRequestId(RequestIdT &&value)
const DeploymentConfig & GetLastDeploymentConfig() const
AWS_SAGEMAKER_API DescribeEndpointResult()=default
const Aws::Vector< ProductionVariantSummary > & GetProductionVariants() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const PendingDeploymentSummary & GetPendingDeploymentSummary() const
DescribeEndpointResult & WithEndpointStatus(EndpointStatus value)
DescribeEndpointResult & AddProductionVariants(ProductionVariantsT &&value)
void SetPendingDeploymentSummary(PendingDeploymentSummaryT &&value)
DescribeEndpointResult & WithEndpointName(EndpointNameT &&value)
DescribeEndpointResult & WithShadowProductionVariants(ShadowProductionVariantsT &&value)
DescribeEndpointResult & WithEndpointConfigName(EndpointConfigNameT &&value)
DescribeEndpointResult & WithProductionVariants(ProductionVariantsT &&value)
const AsyncInferenceConfig & GetAsyncInferenceConfig() const
DescribeEndpointResult & WithPendingDeploymentSummary(PendingDeploymentSummaryT &&value)
void SetLastDeploymentConfig(LastDeploymentConfigT &&value)
DescribeEndpointResult & WithExplainerConfig(ExplainerConfigT &&value)
AWS_SAGEMAKER_API DescribeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetShadowProductionVariants(ShadowProductionVariantsT &&value)
DescribeEndpointResult & WithAsyncInferenceConfig(AsyncInferenceConfigT &&value)
DescribeEndpointResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeEndpointResult & WithFailureReason(FailureReasonT &&value)
void SetAsyncInferenceConfig(AsyncInferenceConfigT &&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