/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

A structure that represents a named entity.

See Also:

AWS * API Reference

*/ class TopicNamedEntity { public: AWS_QUICKSIGHT_API TopicNamedEntity(); AWS_QUICKSIGHT_API TopicNamedEntity(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API TopicNamedEntity& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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::Vector& GetEntitySynonyms() const{ return m_entitySynonyms; } /** *

The 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::Vector& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms = value; } /** *

The other names or aliases for the named entity.

*/ inline void SetEntitySynonyms(Aws::Vector&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms = std::move(value); } /** *

The other names or aliases for the named entity.

*/ inline TopicNamedEntity& WithEntitySynonyms(const Aws::Vector& value) { SetEntitySynonyms(value); return *this;} /** *

The other names or aliases for the named entity.

*/ inline TopicNamedEntity& WithEntitySynonyms(Aws::Vector&& value) { SetEntitySynonyms(std::move(value)); return *this;} /** *

The 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::Vector& GetDefinition() const{ return m_definition; } /** *

The definition of a named entity.

*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *

The definition of a named entity.

*/ inline void SetDefinition(const Aws::Vector& value) { m_definitionHasBeenSet = true; m_definition = value; } /** *

The definition of a named entity.

*/ inline void SetDefinition(Aws::Vector&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } /** *

The definition of a named entity.

*/ inline TopicNamedEntity& WithDefinition(const Aws::Vector& value) { SetDefinition(value); return *this;} /** *

The definition of a named entity.

*/ inline TopicNamedEntity& WithDefinition(Aws::Vector&& value) { SetDefinition(std::move(value)); return *this;} /** *

The 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 m_entitySynonyms; bool m_entitySynonymsHasBeenSet = false; SemanticEntityType m_semanticEntityType; bool m_semanticEntityTypeHasBeenSet = false; Aws::Vector m_definition; bool m_definitionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws