1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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/ProductionVariantSummary.h> 16 #include <utility> 17 18 namespace Aws 19 { 20 template<typename RESULT_TYPE> 21 class AmazonWebServiceResult; 22 23 namespace Utils 24 { 25 namespace Json 26 { 27 class JsonValue; 28 } // namespace Json 29 } // namespace Utils 30 namespace SageMaker 31 { 32 namespace Model 33 { 34 class AWS_SAGEMAKER_API DescribeEndpointResult 35 { 36 public: 37 DescribeEndpointResult(); 38 DescribeEndpointResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 DescribeEndpointResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 40 41 42 /** 43 * <p>Name of the endpoint.</p> 44 */ GetEndpointName()45 inline const Aws::String& GetEndpointName() const{ return m_endpointName; } 46 47 /** 48 * <p>Name of the endpoint.</p> 49 */ SetEndpointName(const Aws::String & value)50 inline void SetEndpointName(const Aws::String& value) { m_endpointName = value; } 51 52 /** 53 * <p>Name of the endpoint.</p> 54 */ SetEndpointName(Aws::String && value)55 inline void SetEndpointName(Aws::String&& value) { m_endpointName = std::move(value); } 56 57 /** 58 * <p>Name of the endpoint.</p> 59 */ SetEndpointName(const char * value)60 inline void SetEndpointName(const char* value) { m_endpointName.assign(value); } 61 62 /** 63 * <p>Name of the endpoint.</p> 64 */ WithEndpointName(const Aws::String & value)65 inline DescribeEndpointResult& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} 66 67 /** 68 * <p>Name of the endpoint.</p> 69 */ WithEndpointName(Aws::String && value)70 inline DescribeEndpointResult& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} 71 72 /** 73 * <p>Name of the endpoint.</p> 74 */ WithEndpointName(const char * value)75 inline DescribeEndpointResult& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} 76 77 78 /** 79 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 80 */ GetEndpointArn()81 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; } 82 83 /** 84 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 85 */ SetEndpointArn(const Aws::String & value)86 inline void SetEndpointArn(const Aws::String& value) { m_endpointArn = value; } 87 88 /** 89 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 90 */ SetEndpointArn(Aws::String && value)91 inline void SetEndpointArn(Aws::String&& value) { m_endpointArn = std::move(value); } 92 93 /** 94 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 95 */ SetEndpointArn(const char * value)96 inline void SetEndpointArn(const char* value) { m_endpointArn.assign(value); } 97 98 /** 99 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 100 */ WithEndpointArn(const Aws::String & value)101 inline DescribeEndpointResult& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;} 102 103 /** 104 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 105 */ WithEndpointArn(Aws::String && value)106 inline DescribeEndpointResult& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;} 107 108 /** 109 * <p>The Amazon Resource Name (ARN) of the endpoint.</p> 110 */ WithEndpointArn(const char * value)111 inline DescribeEndpointResult& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;} 112 113 114 /** 115 * <p>The name of the endpoint configuration associated with this endpoint.</p> 116 */ GetEndpointConfigName()117 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; } 118 119 /** 120 * <p>The name of the endpoint configuration associated with this endpoint.</p> 121 */ SetEndpointConfigName(const Aws::String & value)122 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigName = value; } 123 124 /** 125 * <p>The name of the endpoint configuration associated with this endpoint.</p> 126 */ SetEndpointConfigName(Aws::String && value)127 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigName = std::move(value); } 128 129 /** 130 * <p>The name of the endpoint configuration associated with this endpoint.</p> 131 */ SetEndpointConfigName(const char * value)132 inline void SetEndpointConfigName(const char* value) { m_endpointConfigName.assign(value); } 133 134 /** 135 * <p>The name of the endpoint configuration associated with this endpoint.</p> 136 */ WithEndpointConfigName(const Aws::String & value)137 inline DescribeEndpointResult& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;} 138 139 /** 140 * <p>The name of the endpoint configuration associated with this endpoint.</p> 141 */ WithEndpointConfigName(Aws::String && value)142 inline DescribeEndpointResult& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;} 143 144 /** 145 * <p>The name of the endpoint configuration associated with this endpoint.</p> 146 */ WithEndpointConfigName(const char * value)147 inline DescribeEndpointResult& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;} 148 149 150 /** 151 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 152 * hosted behind this endpoint. </p> 153 */ GetProductionVariants()154 inline const Aws::Vector<ProductionVariantSummary>& GetProductionVariants() const{ return m_productionVariants; } 155 156 /** 157 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 158 * hosted behind this endpoint. </p> 159 */ SetProductionVariants(const Aws::Vector<ProductionVariantSummary> & value)160 inline void SetProductionVariants(const Aws::Vector<ProductionVariantSummary>& value) { m_productionVariants = value; } 161 162 /** 163 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 164 * hosted behind this endpoint. </p> 165 */ SetProductionVariants(Aws::Vector<ProductionVariantSummary> && value)166 inline void SetProductionVariants(Aws::Vector<ProductionVariantSummary>&& value) { m_productionVariants = std::move(value); } 167 168 /** 169 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 170 * hosted behind this endpoint. </p> 171 */ WithProductionVariants(const Aws::Vector<ProductionVariantSummary> & value)172 inline DescribeEndpointResult& WithProductionVariants(const Aws::Vector<ProductionVariantSummary>& value) { SetProductionVariants(value); return *this;} 173 174 /** 175 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 176 * hosted behind this endpoint. </p> 177 */ WithProductionVariants(Aws::Vector<ProductionVariantSummary> && value)178 inline DescribeEndpointResult& WithProductionVariants(Aws::Vector<ProductionVariantSummary>&& value) { SetProductionVariants(std::move(value)); return *this;} 179 180 /** 181 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 182 * hosted behind this endpoint. </p> 183 */ AddProductionVariants(const ProductionVariantSummary & value)184 inline DescribeEndpointResult& AddProductionVariants(const ProductionVariantSummary& value) { m_productionVariants.push_back(value); return *this; } 185 186 /** 187 * <p> An array of <a>ProductionVariantSummary</a> objects, one for each model 188 * hosted behind this endpoint. </p> 189 */ AddProductionVariants(ProductionVariantSummary && value)190 inline DescribeEndpointResult& AddProductionVariants(ProductionVariantSummary&& value) { m_productionVariants.push_back(std::move(value)); return *this; } 191 192 193 GetDataCaptureConfig()194 inline const DataCaptureConfigSummary& GetDataCaptureConfig() const{ return m_dataCaptureConfig; } 195 196 SetDataCaptureConfig(const DataCaptureConfigSummary & value)197 inline void SetDataCaptureConfig(const DataCaptureConfigSummary& value) { m_dataCaptureConfig = value; } 198 199 SetDataCaptureConfig(DataCaptureConfigSummary && value)200 inline void SetDataCaptureConfig(DataCaptureConfigSummary&& value) { m_dataCaptureConfig = std::move(value); } 201 202 WithDataCaptureConfig(const DataCaptureConfigSummary & value)203 inline DescribeEndpointResult& WithDataCaptureConfig(const DataCaptureConfigSummary& value) { SetDataCaptureConfig(value); return *this;} 204 205 WithDataCaptureConfig(DataCaptureConfigSummary && value)206 inline DescribeEndpointResult& WithDataCaptureConfig(DataCaptureConfigSummary&& value) { SetDataCaptureConfig(std::move(value)); return *this;} 207 208 209 /** 210 * <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: 211 * Endpoint is not available to take incoming requests.</p> </li> <li> <p> 212 * <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> 213 * <code>Updating</code>: <a>UpdateEndpoint</a> or 214 * <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> 215 * <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be 216 * updated or deleted or re-scaled until it has completed. This maintenance 217 * operation does not change any customer-specified values such as VPC config, KMS 218 * encryption, model, instance type, or instance count.</p> </li> <li> <p> 219 * <code>RollingBack</code>: Endpoint fails to scale up or down or change its 220 * variant weight and is in the process of rolling back to its previous 221 * configuration. Once the rollback completes, endpoint returns to an 222 * <code>InService</code> status. This transitional status only applies to an 223 * endpoint that has autoscaling enabled and is undergoing variant weight or 224 * capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or 225 * when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called 226 * explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to 227 * process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: 228 * <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: 229 * Endpoint could not be created, updated, or re-scaled. Use 230 * <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. 231 * <a>DeleteEndpoint</a> is the only operation that can be performed on a failed 232 * endpoint.</p> </li> </ul> 233 */ GetEndpointStatus()234 inline const EndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; } 235 236 /** 237 * <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: 238 * Endpoint is not available to take incoming requests.</p> </li> <li> <p> 239 * <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> 240 * <code>Updating</code>: <a>UpdateEndpoint</a> or 241 * <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> 242 * <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be 243 * updated or deleted or re-scaled until it has completed. This maintenance 244 * operation does not change any customer-specified values such as VPC config, KMS 245 * encryption, model, instance type, or instance count.</p> </li> <li> <p> 246 * <code>RollingBack</code>: Endpoint fails to scale up or down or change its 247 * variant weight and is in the process of rolling back to its previous 248 * configuration. Once the rollback completes, endpoint returns to an 249 * <code>InService</code> status. This transitional status only applies to an 250 * endpoint that has autoscaling enabled and is undergoing variant weight or 251 * capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or 252 * when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called 253 * explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to 254 * process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: 255 * <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: 256 * Endpoint could not be created, updated, or re-scaled. Use 257 * <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. 258 * <a>DeleteEndpoint</a> is the only operation that can be performed on a failed 259 * endpoint.</p> </li> </ul> 260 */ SetEndpointStatus(const EndpointStatus & value)261 inline void SetEndpointStatus(const EndpointStatus& value) { m_endpointStatus = value; } 262 263 /** 264 * <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: 265 * Endpoint is not available to take incoming requests.</p> </li> <li> <p> 266 * <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> 267 * <code>Updating</code>: <a>UpdateEndpoint</a> or 268 * <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> 269 * <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be 270 * updated or deleted or re-scaled until it has completed. This maintenance 271 * operation does not change any customer-specified values such as VPC config, KMS 272 * encryption, model, instance type, or instance count.</p> </li> <li> <p> 273 * <code>RollingBack</code>: Endpoint fails to scale up or down or change its 274 * variant weight and is in the process of rolling back to its previous 275 * configuration. Once the rollback completes, endpoint returns to an 276 * <code>InService</code> status. This transitional status only applies to an 277 * endpoint that has autoscaling enabled and is undergoing variant weight or 278 * capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or 279 * when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called 280 * explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to 281 * process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: 282 * <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: 283 * Endpoint could not be created, updated, or re-scaled. Use 284 * <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. 285 * <a>DeleteEndpoint</a> is the only operation that can be performed on a failed 286 * endpoint.</p> </li> </ul> 287 */ SetEndpointStatus(EndpointStatus && value)288 inline void SetEndpointStatus(EndpointStatus&& value) { m_endpointStatus = std::move(value); } 289 290 /** 291 * <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: 292 * Endpoint is not available to take incoming requests.</p> </li> <li> <p> 293 * <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> 294 * <code>Updating</code>: <a>UpdateEndpoint</a> or 295 * <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> 296 * <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be 297 * updated or deleted or re-scaled until it has completed. This maintenance 298 * operation does not change any customer-specified values such as VPC config, KMS 299 * encryption, model, instance type, or instance count.</p> </li> <li> <p> 300 * <code>RollingBack</code>: Endpoint fails to scale up or down or change its 301 * variant weight and is in the process of rolling back to its previous 302 * configuration. Once the rollback completes, endpoint returns to an 303 * <code>InService</code> status. This transitional status only applies to an 304 * endpoint that has autoscaling enabled and is undergoing variant weight or 305 * capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or 306 * when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called 307 * explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to 308 * process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: 309 * <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: 310 * Endpoint could not be created, updated, or re-scaled. Use 311 * <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. 312 * <a>DeleteEndpoint</a> is the only operation that can be performed on a failed 313 * endpoint.</p> </li> </ul> 314 */ WithEndpointStatus(const EndpointStatus & value)315 inline DescribeEndpointResult& WithEndpointStatus(const EndpointStatus& value) { SetEndpointStatus(value); return *this;} 316 317 /** 318 * <p>The status of the endpoint.</p> <ul> <li> <p> <code>OutOfService</code>: 319 * Endpoint is not available to take incoming requests.</p> </li> <li> <p> 320 * <code>Creating</code>: <a>CreateEndpoint</a> is executing.</p> </li> <li> <p> 321 * <code>Updating</code>: <a>UpdateEndpoint</a> or 322 * <a>UpdateEndpointWeightsAndCapacities</a> is executing.</p> </li> <li> <p> 323 * <code>SystemUpdating</code>: Endpoint is undergoing maintenance and cannot be 324 * updated or deleted or re-scaled until it has completed. This maintenance 325 * operation does not change any customer-specified values such as VPC config, KMS 326 * encryption, model, instance type, or instance count.</p> </li> <li> <p> 327 * <code>RollingBack</code>: Endpoint fails to scale up or down or change its 328 * variant weight and is in the process of rolling back to its previous 329 * configuration. Once the rollback completes, endpoint returns to an 330 * <code>InService</code> status. This transitional status only applies to an 331 * endpoint that has autoscaling enabled and is undergoing variant weight or 332 * capacity changes as part of an <a>UpdateEndpointWeightsAndCapacities</a> call or 333 * when the <a>UpdateEndpointWeightsAndCapacities</a> operation is called 334 * explicitly.</p> </li> <li> <p> <code>InService</code>: Endpoint is available to 335 * process incoming requests.</p> </li> <li> <p> <code>Deleting</code>: 336 * <a>DeleteEndpoint</a> is executing.</p> </li> <li> <p> <code>Failed</code>: 337 * Endpoint could not be created, updated, or re-scaled. Use 338 * <a>DescribeEndpointOutput$FailureReason</a> for information about the failure. 339 * <a>DeleteEndpoint</a> is the only operation that can be performed on a failed 340 * endpoint.</p> </li> </ul> 341 */ WithEndpointStatus(EndpointStatus && value)342 inline DescribeEndpointResult& WithEndpointStatus(EndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;} 343 344 345 /** 346 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 347 * failed. </p> 348 */ GetFailureReason()349 inline const Aws::String& GetFailureReason() const{ return m_failureReason; } 350 351 /** 352 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 353 * failed. </p> 354 */ SetFailureReason(const Aws::String & value)355 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } 356 357 /** 358 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 359 * failed. </p> 360 */ SetFailureReason(Aws::String && value)361 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } 362 363 /** 364 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 365 * failed. </p> 366 */ SetFailureReason(const char * value)367 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } 368 369 /** 370 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 371 * failed. </p> 372 */ WithFailureReason(const Aws::String & value)373 inline DescribeEndpointResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} 374 375 /** 376 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 377 * failed. </p> 378 */ WithFailureReason(Aws::String && value)379 inline DescribeEndpointResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} 380 381 /** 382 * <p>If the status of the endpoint is <code>Failed</code>, the reason why it 383 * failed. </p> 384 */ WithFailureReason(const char * value)385 inline DescribeEndpointResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} 386 387 388 /** 389 * <p>A timestamp that shows when the endpoint was created.</p> 390 */ GetCreationTime()391 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } 392 393 /** 394 * <p>A timestamp that shows when the endpoint was created.</p> 395 */ SetCreationTime(const Aws::Utils::DateTime & value)396 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } 397 398 /** 399 * <p>A timestamp that shows when the endpoint was created.</p> 400 */ SetCreationTime(Aws::Utils::DateTime && value)401 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } 402 403 /** 404 * <p>A timestamp that shows when the endpoint was created.</p> 405 */ WithCreationTime(const Aws::Utils::DateTime & value)406 inline DescribeEndpointResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} 407 408 /** 409 * <p>A timestamp that shows when the endpoint was created.</p> 410 */ WithCreationTime(Aws::Utils::DateTime && value)411 inline DescribeEndpointResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} 412 413 414 /** 415 * <p>A timestamp that shows when the endpoint was last modified.</p> 416 */ GetLastModifiedTime()417 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } 418 419 /** 420 * <p>A timestamp that shows when the endpoint was last modified.</p> 421 */ SetLastModifiedTime(const Aws::Utils::DateTime & value)422 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } 423 424 /** 425 * <p>A timestamp that shows when the endpoint was last modified.</p> 426 */ SetLastModifiedTime(Aws::Utils::DateTime && value)427 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } 428 429 /** 430 * <p>A timestamp that shows when the endpoint was last modified.</p> 431 */ WithLastModifiedTime(const Aws::Utils::DateTime & value)432 inline DescribeEndpointResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} 433 434 /** 435 * <p>A timestamp that shows when the endpoint was last modified.</p> 436 */ WithLastModifiedTime(Aws::Utils::DateTime && value)437 inline DescribeEndpointResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} 438 439 440 /** 441 * <p>The most recent deployment configuration for the endpoint.</p> 442 */ GetLastDeploymentConfig()443 inline const DeploymentConfig& GetLastDeploymentConfig() const{ return m_lastDeploymentConfig; } 444 445 /** 446 * <p>The most recent deployment configuration for the endpoint.</p> 447 */ SetLastDeploymentConfig(const DeploymentConfig & value)448 inline void SetLastDeploymentConfig(const DeploymentConfig& value) { m_lastDeploymentConfig = value; } 449 450 /** 451 * <p>The most recent deployment configuration for the endpoint.</p> 452 */ SetLastDeploymentConfig(DeploymentConfig && value)453 inline void SetLastDeploymentConfig(DeploymentConfig&& value) { m_lastDeploymentConfig = std::move(value); } 454 455 /** 456 * <p>The most recent deployment configuration for the endpoint.</p> 457 */ WithLastDeploymentConfig(const DeploymentConfig & value)458 inline DescribeEndpointResult& WithLastDeploymentConfig(const DeploymentConfig& value) { SetLastDeploymentConfig(value); return *this;} 459 460 /** 461 * <p>The most recent deployment configuration for the endpoint.</p> 462 */ WithLastDeploymentConfig(DeploymentConfig && value)463 inline DescribeEndpointResult& WithLastDeploymentConfig(DeploymentConfig&& value) { SetLastDeploymentConfig(std::move(value)); return *this;} 464 465 466 /** 467 * <p>Returns the description of an endpoint configuration created using the <a 468 * href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html"> 469 * <code>CreateEndpointConfig</code> </a> API.</p> 470 */ GetAsyncInferenceConfig()471 inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const{ return m_asyncInferenceConfig; } 472 473 /** 474 * <p>Returns the description of an endpoint configuration created using the <a 475 * href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html"> 476 * <code>CreateEndpointConfig</code> </a> API.</p> 477 */ SetAsyncInferenceConfig(const AsyncInferenceConfig & value)478 inline void SetAsyncInferenceConfig(const AsyncInferenceConfig& value) { m_asyncInferenceConfig = value; } 479 480 /** 481 * <p>Returns the description of an endpoint configuration created using the <a 482 * href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html"> 483 * <code>CreateEndpointConfig</code> </a> API.</p> 484 */ SetAsyncInferenceConfig(AsyncInferenceConfig && value)485 inline void SetAsyncInferenceConfig(AsyncInferenceConfig&& value) { m_asyncInferenceConfig = std::move(value); } 486 487 /** 488 * <p>Returns the description of an endpoint configuration created using the <a 489 * href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html"> 490 * <code>CreateEndpointConfig</code> </a> API.</p> 491 */ WithAsyncInferenceConfig(const AsyncInferenceConfig & value)492 inline DescribeEndpointResult& WithAsyncInferenceConfig(const AsyncInferenceConfig& value) { SetAsyncInferenceConfig(value); return *this;} 493 494 /** 495 * <p>Returns the description of an endpoint configuration created using the <a 496 * href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html"> 497 * <code>CreateEndpointConfig</code> </a> API.</p> 498 */ WithAsyncInferenceConfig(AsyncInferenceConfig && value)499 inline DescribeEndpointResult& WithAsyncInferenceConfig(AsyncInferenceConfig&& value) { SetAsyncInferenceConfig(std::move(value)); return *this;} 500 501 private: 502 503 Aws::String m_endpointName; 504 505 Aws::String m_endpointArn; 506 507 Aws::String m_endpointConfigName; 508 509 Aws::Vector<ProductionVariantSummary> m_productionVariants; 510 511 DataCaptureConfigSummary m_dataCaptureConfig; 512 513 EndpointStatus m_endpointStatus; 514 515 Aws::String m_failureReason; 516 517 Aws::Utils::DateTime m_creationTime; 518 519 Aws::Utils::DateTime m_lastModifiedTime; 520 521 DeploymentConfig m_lastDeploymentConfig; 522 523 AsyncInferenceConfig m_asyncInferenceConfig; 524 }; 525 526 } // namespace Model 527 } // namespace SageMaker 528 } // namespace Aws 529