/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An attribute that was extracted, but Amazon Comprehend Medical was unable to
* relate to an entity. See Also:
AWS
* API Reference
The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline const EntityType& GetType() const{ return m_type; } /** *The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline void SetType(const EntityType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline void SetType(EntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline UnmappedAttribute& WithType(const EntityType& value) { SetType(value); return *this;} /** *The type of the unmapped attribute, could be one of the following values: * "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or * "PROTECTED_HEALTH_INFORMATION".
*/ inline UnmappedAttribute& WithType(EntityType&& value) { SetType(std::move(value)); return *this;} /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline const Attribute& GetAttribute() const{ return m_attribute; } /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline void SetAttribute(const Attribute& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline void SetAttribute(Attribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline UnmappedAttribute& WithAttribute(const Attribute& value) { SetAttribute(value); return *this;} /** *The specific attribute that has been extracted but not mapped to an entity. *
*/ inline UnmappedAttribute& WithAttribute(Attribute&& value) { SetAttribute(std::move(value)); return *this;} private: EntityType m_type; bool m_typeHasBeenSet = false; Attribute m_attribute; bool m_attributeHasBeenSet = false; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws