/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies information about the specified endpoint.See Also:
* AWS
* API Reference
The Amazon Resource Number (ARN) of the endpoint.
*/ inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; } /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; } /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; } /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); } /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); } /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline EndpointProperties& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline EndpointProperties& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the endpoint.
*/ inline EndpointProperties& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;} /** *Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies the status of the endpoint. Because the endpoint updates and
* creation are asynchronous, so customers will need to wait for the endpoint to be
* Ready status before making inference requests.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
Specifies a reason for failure in cases of Failed status.
The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline const Aws::String& GetModelArn() const{ return m_modelArn; } /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; } /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; } /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); } /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); } /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline EndpointProperties& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline EndpointProperties& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the model to which the endpoint is * attached.
*/ inline EndpointProperties& WithModelArn(const char* value) { SetModelArn(value); return *this;} /** *The desired number of inference units to be used by the model using this * endpoint. Each inference unit represents of a throughput of 100 characters per * second.
*/ inline int GetDesiredInferenceUnits() const{ return m_desiredInferenceUnits; } /** *The desired number of inference units to be used by the model using this * endpoint. Each inference unit represents of a throughput of 100 characters per * second.
*/ inline bool DesiredInferenceUnitsHasBeenSet() const { return m_desiredInferenceUnitsHasBeenSet; } /** *The desired number of inference units to be used by the model using this * endpoint. Each inference unit represents of a throughput of 100 characters per * second.
*/ inline void SetDesiredInferenceUnits(int value) { m_desiredInferenceUnitsHasBeenSet = true; m_desiredInferenceUnits = value; } /** *The desired number of inference units to be used by the model using this * endpoint. Each inference unit represents of a throughput of 100 characters per * second.
*/ inline EndpointProperties& WithDesiredInferenceUnits(int value) { SetDesiredInferenceUnits(value); return *this;} /** *The number of inference units currently used by the model using this * endpoint.
*/ inline int GetCurrentInferenceUnits() const{ return m_currentInferenceUnits; } /** *The number of inference units currently used by the model using this * endpoint.
*/ inline bool CurrentInferenceUnitsHasBeenSet() const { return m_currentInferenceUnitsHasBeenSet; } /** *The number of inference units currently used by the model using this * endpoint.
*/ inline void SetCurrentInferenceUnits(int value) { m_currentInferenceUnitsHasBeenSet = true; m_currentInferenceUnits = value; } /** *The number of inference units currently used by the model using this * endpoint.
*/ inline EndpointProperties& WithCurrentInferenceUnits(int value) { SetCurrentInferenceUnits(value); return *this;} /** *The creation date and time of the endpoint.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The creation date and time of the endpoint.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The creation date and time of the endpoint.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The creation date and time of the endpoint.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The creation date and time of the endpoint.
*/ inline EndpointProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The creation date and time of the endpoint.
*/ inline EndpointProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time that the endpoint was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The date and time that the endpoint was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The date and time that the endpoint was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The date and time that the endpoint was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The date and time that the endpoint was last modified.
*/ inline EndpointProperties& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time that the endpoint was last modified.
*/ inline EndpointProperties& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_endpointArn; bool m_endpointArnHasBeenSet; EndpointStatus m_status; bool m_statusHasBeenSet; Aws::String m_message; bool m_messageHasBeenSet; Aws::String m_modelArn; bool m_modelArnHasBeenSet; int m_desiredInferenceUnits; bool m_desiredInferenceUnitsHasBeenSet; int m_currentInferenceUnits; bool m_currentInferenceUnitsHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet; }; } // namespace Model } // namespace Comprehend } // namespace Aws