/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information about an entity recognizer.See Also:
* AWS
* API Reference
The number of documents in the input data that were used to train the entity * recognizer. Typically this is 80 to 90 percent of the input documents.
*/ inline int GetNumberOfTrainedDocuments() const{ return m_numberOfTrainedDocuments; } /** *The number of documents in the input data that were used to train the entity * recognizer. Typically this is 80 to 90 percent of the input documents.
*/ inline bool NumberOfTrainedDocumentsHasBeenSet() const { return m_numberOfTrainedDocumentsHasBeenSet; } /** *The number of documents in the input data that were used to train the entity * recognizer. Typically this is 80 to 90 percent of the input documents.
*/ inline void SetNumberOfTrainedDocuments(int value) { m_numberOfTrainedDocumentsHasBeenSet = true; m_numberOfTrainedDocuments = value; } /** *The number of documents in the input data that were used to train the entity * recognizer. Typically this is 80 to 90 percent of the input documents.
*/ inline EntityRecognizerMetadata& WithNumberOfTrainedDocuments(int value) { SetNumberOfTrainedDocuments(value); return *this;} /** *The number of documents in the input data that were used to test the entity * recognizer. Typically this is 10 to 20 percent of the input documents.
*/ inline int GetNumberOfTestDocuments() const{ return m_numberOfTestDocuments; } /** *The number of documents in the input data that were used to test the entity * recognizer. Typically this is 10 to 20 percent of the input documents.
*/ inline bool NumberOfTestDocumentsHasBeenSet() const { return m_numberOfTestDocumentsHasBeenSet; } /** *The number of documents in the input data that were used to test the entity * recognizer. Typically this is 10 to 20 percent of the input documents.
*/ inline void SetNumberOfTestDocuments(int value) { m_numberOfTestDocumentsHasBeenSet = true; m_numberOfTestDocuments = value; } /** *The number of documents in the input data that were used to test the entity * recognizer. Typically this is 10 to 20 percent of the input documents.
*/ inline EntityRecognizerMetadata& WithNumberOfTestDocuments(int value) { SetNumberOfTestDocuments(value); return *this;} /** *Detailed information about the accuracy of an entity recognizer.
*/ inline const EntityRecognizerEvaluationMetrics& GetEvaluationMetrics() const{ return m_evaluationMetrics; } /** *Detailed information about the accuracy of an entity recognizer.
*/ inline bool EvaluationMetricsHasBeenSet() const { return m_evaluationMetricsHasBeenSet; } /** *Detailed information about the accuracy of an entity recognizer.
*/ inline void SetEvaluationMetrics(const EntityRecognizerEvaluationMetrics& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = value; } /** *Detailed information about the accuracy of an entity recognizer.
*/ inline void SetEvaluationMetrics(EntityRecognizerEvaluationMetrics&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = std::move(value); } /** *Detailed information about the accuracy of an entity recognizer.
*/ inline EntityRecognizerMetadata& WithEvaluationMetrics(const EntityRecognizerEvaluationMetrics& value) { SetEvaluationMetrics(value); return *this;} /** *Detailed information about the accuracy of an entity recognizer.
*/ inline EntityRecognizerMetadata& WithEvaluationMetrics(EntityRecognizerEvaluationMetrics&& value) { SetEvaluationMetrics(std::move(value)); return *this;} /** *Entity types from the metadata of an entity recognizer.
*/ inline const Aws::VectorEntity types from the metadata of an entity recognizer.
*/ inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; } /** *Entity types from the metadata of an entity recognizer.
*/ inline void SetEntityTypes(const Aws::VectorEntity types from the metadata of an entity recognizer.
*/ inline void SetEntityTypes(Aws::VectorEntity types from the metadata of an entity recognizer.
*/ inline EntityRecognizerMetadata& WithEntityTypes(const Aws::VectorEntity types from the metadata of an entity recognizer.
*/ inline EntityRecognizerMetadata& WithEntityTypes(Aws::VectorEntity types from the metadata of an entity recognizer.
*/ inline EntityRecognizerMetadata& AddEntityTypes(const EntityRecognizerMetadataEntityTypesListItem& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; } /** *Entity types from the metadata of an entity recognizer.
*/ inline EntityRecognizerMetadata& AddEntityTypes(EntityRecognizerMetadataEntityTypesListItem&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; } private: int m_numberOfTrainedDocuments; bool m_numberOfTrainedDocumentsHasBeenSet = false; int m_numberOfTestDocuments; bool m_numberOfTestDocumentsHasBeenSet = false; EntityRecognizerEvaluationMetrics m_evaluationMetrics; bool m_evaluationMetricsHasBeenSet = false; Aws::Vector