7#include <aws/comprehend/Comprehend_EXPORTS.h>
47 inline void SetPrecision(
double value) { m_precisionHasBeenSet =
true; m_precision = value; }
58 inline void SetRecall(
double value) { m_recallHasBeenSet =
true; m_recall = value; }
73 inline void SetF1Score(
double value) { m_f1ScoreHasBeenSet =
true; m_f1Score = value; }
79 bool m_precisionHasBeenSet =
false;
82 bool m_recallHasBeenSet =
false;
85 bool m_f1ScoreHasBeenSet =
false;
EntityRecognizerEvaluationMetrics & WithRecall(double value)
EntityRecognizerEvaluationMetrics & WithPrecision(double value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
double GetF1Score() const
AWS_COMPREHEND_API EntityRecognizerEvaluationMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetF1Score(double value)
void SetPrecision(double value)
AWS_COMPREHEND_API EntityRecognizerEvaluationMetrics(Aws::Utils::Json::JsonView jsonValue)
EntityRecognizerEvaluationMetrics & WithF1Score(double value)
double GetPrecision() const
bool PrecisionHasBeenSet() const
bool RecallHasBeenSet() const
bool F1ScoreHasBeenSet() const
void SetRecall(double value)
AWS_COMPREHEND_API EntityRecognizerEvaluationMetrics()
Aws::Utils::Json::JsonValue JsonValue