1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/comprehend/Comprehend_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace Comprehend 13 { 14 namespace Model 15 { 16 enum class EntityType 17 { 18 NOT_SET, 19 PERSON, 20 LOCATION, 21 ORGANIZATION, 22 COMMERCIAL_ITEM, 23 EVENT, 24 DATE, 25 QUANTITY, 26 TITLE, 27 OTHER 28 }; 29 30 namespace EntityTypeMapper 31 { 32 AWS_COMPREHEND_API EntityType GetEntityTypeForName(const Aws::String& name); 33 34 AWS_COMPREHEND_API Aws::String GetNameForEntityType(EntityType value); 35 } // namespace EntityTypeMapper 36 } // namespace Model 37 } // namespace Comprehend 38 } // namespace Aws 39