/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contextual information for the entity. The traits recognized by InferICD10CM
* are DIAGNOSIS
, SIGN
, SYMPTOM
, and
* NEGATION
.See Also:
AWS
* API Reference
Provides a name or contextual description about the trait.
*/ inline const ICD10CMTraitName& GetName() const{ return m_name; } /** *Provides a name or contextual description about the trait.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Provides a name or contextual description about the trait.
*/ inline void SetName(const ICD10CMTraitName& value) { m_nameHasBeenSet = true; m_name = value; } /** *Provides a name or contextual description about the trait.
*/ inline void SetName(ICD10CMTraitName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Provides a name or contextual description about the trait.
*/ inline ICD10CMTrait& WithName(const ICD10CMTraitName& value) { SetName(value); return *this;} /** *Provides a name or contextual description about the trait.
*/ inline ICD10CMTrait& WithName(ICD10CMTraitName&& value) { SetName(std::move(value)); return *this;} /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as a trait.
*/ inline double GetScore() const{ return m_score; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as a trait.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as a trait.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as a trait.
*/ inline ICD10CMTrait& WithScore(double value) { SetScore(value); return *this;} private: ICD10CMTraitName m_name; bool m_nameHasBeenSet = false; double m_score; bool m_scoreHasBeenSet = false; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws