/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies one of the label or labels that categorize the personally
* identifiable information (PII) entity being analyzed.See Also:
* AWS
* API Reference
The name of the label.
*/ inline const PiiEntityType& GetName() const{ return m_name; } /** *The name of the label.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the label.
*/ inline void SetName(const PiiEntityType& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the label.
*/ inline void SetName(PiiEntityType&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the label.
*/ inline EntityLabel& WithName(const PiiEntityType& value) { SetName(value); return *this;} /** *The name of the label.
*/ inline EntityLabel& WithName(PiiEntityType&& value) { SetName(std::move(value)); return *this;} /** *The level of confidence that Amazon Comprehend has in the accuracy of the * detection.
*/ inline double GetScore() const{ return m_score; } /** *The level of confidence that Amazon Comprehend has in the accuracy of the * detection.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The level of confidence that Amazon Comprehend has in the accuracy of the * detection.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The level of confidence that Amazon Comprehend has in the accuracy of the * detection.
*/ inline EntityLabel& WithScore(double value) { SetScore(value); return *this;} private: PiiEntityType m_name; bool m_nameHasBeenSet = false; double m_score; bool m_scoreHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws