/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The performance results from running an Inference Recommender job on an
* existing endpoint.See Also:
AWS
* API Reference
The metrics for an existing endpoint.
*/ inline const InferenceMetrics& GetMetrics() const{ return m_metrics; } /** *The metrics for an existing endpoint.
*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *The metrics for an existing endpoint.
*/ inline void SetMetrics(const InferenceMetrics& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *The metrics for an existing endpoint.
*/ inline void SetMetrics(InferenceMetrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *The metrics for an existing endpoint.
*/ inline EndpointPerformance& WithMetrics(const InferenceMetrics& value) { SetMetrics(value); return *this;} /** *The metrics for an existing endpoint.
*/ inline EndpointPerformance& WithMetrics(InferenceMetrics&& value) { SetMetrics(std::move(value)); return *this;} inline const EndpointInfo& GetEndpointInfo() const{ return m_endpointInfo; } inline bool EndpointInfoHasBeenSet() const { return m_endpointInfoHasBeenSet; } inline void SetEndpointInfo(const EndpointInfo& value) { m_endpointInfoHasBeenSet = true; m_endpointInfo = value; } inline void SetEndpointInfo(EndpointInfo&& value) { m_endpointInfoHasBeenSet = true; m_endpointInfo = std::move(value); } inline EndpointPerformance& WithEndpointInfo(const EndpointInfo& value) { SetEndpointInfo(value); return *this;} inline EndpointPerformance& WithEndpointInfo(EndpointInfo&& value) { SetEndpointInfo(std::move(value)); return *this;} private: InferenceMetrics m_metrics; bool m_metricsHasBeenSet = false; EndpointInfo m_endpointInfo; bool m_endpointInfoHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws