/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information for an endpoint.See Also:
AWS
* API Reference
The name of the endpoint.
*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *The name of the endpoint.
*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *The name of the endpoint.
*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *The name of the endpoint.
*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *The name of the endpoint.
*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *The name of the endpoint.
*/ inline EndpointSummary& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *The name of the endpoint.
*/ inline EndpointSummary& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *The name of the endpoint.
*/ inline EndpointSummary& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; } /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; } /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); } /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline EndpointSummary& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline EndpointSummary& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the endpoint.
*/ inline EndpointSummary& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;} /** *A timestamp that shows when the endpoint was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that shows when the endpoint was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that shows when the endpoint was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that shows when the endpoint was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that shows when the endpoint was created.
*/ inline EndpointSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that shows when the endpoint was created.
*/ inline EndpointSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *A timestamp that shows when the endpoint was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *A timestamp that shows when the endpoint was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *A timestamp that shows when the endpoint was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *A timestamp that shows when the endpoint was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *A timestamp that shows when the endpoint was last modified.
*/ inline EndpointSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *A timestamp that shows when the endpoint was last modified.
*/ inline EndpointSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline const EndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; } /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; } /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline void SetEndpointStatus(const EndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; } /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline void SetEndpointStatus(EndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); } /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline EndpointSummary& WithEndpointStatus(const EndpointStatus& value) { SetEndpointStatus(value); return *this;} /** *The status of the endpoint.
OutOfService:
* Endpoint is not available to take incoming requests.
* Creating: CreateEndpoint is executing.
* Updating: UpdateEndpoint or
* UpdateEndpointWeightsAndCapacities is executing.
* SystemUpdating: Endpoint is undergoing maintenance and cannot be
* updated or deleted or re-scaled until it has completed. This maintenance
* operation does not change any customer-specified values such as VPC config, KMS
* encryption, model, instance type, or instance count.
* RollingBack: Endpoint fails to scale up or down or change its
* variant weight and is in the process of rolling back to its previous
* configuration. Once the rollback completes, endpoint returns to an
* InService status. This transitional status only applies to an
* endpoint that has autoscaling enabled and is undergoing variant weight or
* capacity changes as part of an UpdateEndpointWeightsAndCapacities call or
* when the UpdateEndpointWeightsAndCapacities operation is called
* explicitly.
InService: Endpoint is available to
* process incoming requests.
Deleting:
* DeleteEndpoint is executing.
Failed:
* Endpoint could not be created, updated, or re-scaled. Use
* DescribeEndpointOutput$FailureReason for information about the failure.
* DeleteEndpoint is the only operation that can be performed on a failed
* endpoint.
To get a list of endpoints with a specified status, * use the ListEndpointsInput$StatusEquals filter.
*/ inline EndpointSummary& WithEndpointStatus(EndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;} private: Aws::String m_endpointName; bool m_endpointNameHasBeenSet; Aws::String m_endpointArn; bool m_endpointArnHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet; EndpointStatus m_endpointStatus; bool m_endpointStatusHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws