/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that represents a named entity.See Also:
AWS
* API Reference
The name of the named entity.
*/ inline const Aws::String& GetEntityName() const{ return m_entityName; } /** *The name of the named entity.
*/ inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } /** *The name of the named entity.
*/ inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; } /** *The name of the named entity.
*/ inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); } /** *The name of the named entity.
*/ inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); } /** *The name of the named entity.
*/ inline TopicNamedEntity& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} /** *The name of the named entity.
*/ inline TopicNamedEntity& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} /** *The name of the named entity.
*/ inline TopicNamedEntity& WithEntityName(const char* value) { SetEntityName(value); return *this;} /** *The description of the named entity.
*/ inline const Aws::String& GetEntityDescription() const{ return m_entityDescription; } /** *The description of the named entity.
*/ inline bool EntityDescriptionHasBeenSet() const { return m_entityDescriptionHasBeenSet; } /** *The description of the named entity.
*/ inline void SetEntityDescription(const Aws::String& value) { m_entityDescriptionHasBeenSet = true; m_entityDescription = value; } /** *The description of the named entity.
*/ inline void SetEntityDescription(Aws::String&& value) { m_entityDescriptionHasBeenSet = true; m_entityDescription = std::move(value); } /** *The description of the named entity.
*/ inline void SetEntityDescription(const char* value) { m_entityDescriptionHasBeenSet = true; m_entityDescription.assign(value); } /** *The description of the named entity.
*/ inline TopicNamedEntity& WithEntityDescription(const Aws::String& value) { SetEntityDescription(value); return *this;} /** *The description of the named entity.
*/ inline TopicNamedEntity& WithEntityDescription(Aws::String&& value) { SetEntityDescription(std::move(value)); return *this;} /** *The description of the named entity.
*/ inline TopicNamedEntity& WithEntityDescription(const char* value) { SetEntityDescription(value); return *this;} /** *The other names or aliases for the named entity.
*/ inline const Aws::VectorThe other names or aliases for the named entity.
*/ inline bool EntitySynonymsHasBeenSet() const { return m_entitySynonymsHasBeenSet; } /** *The other names or aliases for the named entity.
*/ inline void SetEntitySynonyms(const Aws::VectorThe other names or aliases for the named entity.
*/ inline void SetEntitySynonyms(Aws::VectorThe other names or aliases for the named entity.
*/ inline TopicNamedEntity& WithEntitySynonyms(const Aws::VectorThe other names or aliases for the named entity.
*/ inline TopicNamedEntity& WithEntitySynonyms(Aws::VectorThe other names or aliases for the named entity.
*/ inline TopicNamedEntity& AddEntitySynonyms(const Aws::String& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(value); return *this; } /** *The other names or aliases for the named entity.
*/ inline TopicNamedEntity& AddEntitySynonyms(Aws::String&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(std::move(value)); return *this; } /** *The other names or aliases for the named entity.
*/ inline TopicNamedEntity& AddEntitySynonyms(const char* value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(value); return *this; } /** *The type of named entity that a topic represents.
*/ inline const SemanticEntityType& GetSemanticEntityType() const{ return m_semanticEntityType; } /** *The type of named entity that a topic represents.
*/ inline bool SemanticEntityTypeHasBeenSet() const { return m_semanticEntityTypeHasBeenSet; } /** *The type of named entity that a topic represents.
*/ inline void SetSemanticEntityType(const SemanticEntityType& value) { m_semanticEntityTypeHasBeenSet = true; m_semanticEntityType = value; } /** *The type of named entity that a topic represents.
*/ inline void SetSemanticEntityType(SemanticEntityType&& value) { m_semanticEntityTypeHasBeenSet = true; m_semanticEntityType = std::move(value); } /** *The type of named entity that a topic represents.
*/ inline TopicNamedEntity& WithSemanticEntityType(const SemanticEntityType& value) { SetSemanticEntityType(value); return *this;} /** *The type of named entity that a topic represents.
*/ inline TopicNamedEntity& WithSemanticEntityType(SemanticEntityType&& value) { SetSemanticEntityType(std::move(value)); return *this;} /** *The definition of a named entity.
*/ inline const Aws::VectorThe definition of a named entity.
*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *The definition of a named entity.
*/ inline void SetDefinition(const Aws::VectorThe definition of a named entity.
*/ inline void SetDefinition(Aws::VectorThe definition of a named entity.
*/ inline TopicNamedEntity& WithDefinition(const Aws::VectorThe definition of a named entity.
*/ inline TopicNamedEntity& WithDefinition(Aws::VectorThe definition of a named entity.
*/ inline TopicNamedEntity& AddDefinition(const NamedEntityDefinition& value) { m_definitionHasBeenSet = true; m_definition.push_back(value); return *this; } /** *The definition of a named entity.
*/ inline TopicNamedEntity& AddDefinition(NamedEntityDefinition&& value) { m_definitionHasBeenSet = true; m_definition.push_back(std::move(value)); return *this; } private: Aws::String m_entityName; bool m_entityNameHasBeenSet = false; Aws::String m_entityDescription; bool m_entityDescriptionHasBeenSet = false; Aws::Vector