/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Evaluation metrics provide an estimate of the quality of your machine * learning transform.

See Also:

AWS * API Reference

*/ class EvaluationMetrics { public: AWS_GLUE_API EvaluationMetrics(); AWS_GLUE_API EvaluationMetrics(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API EvaluationMetrics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of machine learning transform.

*/ inline const TransformType& GetTransformType() const{ return m_transformType; } /** *

The type of machine learning transform.

*/ inline bool TransformTypeHasBeenSet() const { return m_transformTypeHasBeenSet; } /** *

The type of machine learning transform.

*/ inline void SetTransformType(const TransformType& value) { m_transformTypeHasBeenSet = true; m_transformType = value; } /** *

The type of machine learning transform.

*/ inline void SetTransformType(TransformType&& value) { m_transformTypeHasBeenSet = true; m_transformType = std::move(value); } /** *

The type of machine learning transform.

*/ inline EvaluationMetrics& WithTransformType(const TransformType& value) { SetTransformType(value); return *this;} /** *

The type of machine learning transform.

*/ inline EvaluationMetrics& WithTransformType(TransformType&& value) { SetTransformType(std::move(value)); return *this;} /** *

The evaluation metrics for the find matches algorithm.

*/ inline const FindMatchesMetrics& GetFindMatchesMetrics() const{ return m_findMatchesMetrics; } /** *

The evaluation metrics for the find matches algorithm.

*/ inline bool FindMatchesMetricsHasBeenSet() const { return m_findMatchesMetricsHasBeenSet; } /** *

The evaluation metrics for the find matches algorithm.

*/ inline void SetFindMatchesMetrics(const FindMatchesMetrics& value) { m_findMatchesMetricsHasBeenSet = true; m_findMatchesMetrics = value; } /** *

The evaluation metrics for the find matches algorithm.

*/ inline void SetFindMatchesMetrics(FindMatchesMetrics&& value) { m_findMatchesMetricsHasBeenSet = true; m_findMatchesMetrics = std::move(value); } /** *

The evaluation metrics for the find matches algorithm.

*/ inline EvaluationMetrics& WithFindMatchesMetrics(const FindMatchesMetrics& value) { SetFindMatchesMetrics(value); return *this;} /** *

The evaluation metrics for the find matches algorithm.

*/ inline EvaluationMetrics& WithFindMatchesMetrics(FindMatchesMetrics&& value) { SetFindMatchesMetrics(std::move(value)); return *this;} private: TransformType m_transformType; bool m_transformTypeHasBeenSet = false; FindMatchesMetrics m_findMatchesMetrics; bool m_findMatchesMetricsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws