AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicNamedEntity.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/SemanticEntityType.h>
11#include <aws/quicksight/model/NamedEntityDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API TopicNamedEntity() = default;
38 AWS_QUICKSIGHT_API TopicNamedEntity(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEntityName() const { return m_entityName; }
48 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
49 template<typename EntityNameT = Aws::String>
50 void SetEntityName(EntityNameT&& value) { m_entityNameHasBeenSet = true; m_entityName = std::forward<EntityNameT>(value); }
51 template<typename EntityNameT = Aws::String>
52 TopicNamedEntity& WithEntityName(EntityNameT&& value) { SetEntityName(std::forward<EntityNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEntityDescription() const { return m_entityDescription; }
60 inline bool EntityDescriptionHasBeenSet() const { return m_entityDescriptionHasBeenSet; }
61 template<typename EntityDescriptionT = Aws::String>
62 void SetEntityDescription(EntityDescriptionT&& value) { m_entityDescriptionHasBeenSet = true; m_entityDescription = std::forward<EntityDescriptionT>(value); }
63 template<typename EntityDescriptionT = Aws::String>
64 TopicNamedEntity& WithEntityDescription(EntityDescriptionT&& value) { SetEntityDescription(std::forward<EntityDescriptionT>(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetEntitySynonyms() const { return m_entitySynonyms; }
72 inline bool EntitySynonymsHasBeenSet() const { return m_entitySynonymsHasBeenSet; }
73 template<typename EntitySynonymsT = Aws::Vector<Aws::String>>
74 void SetEntitySynonyms(EntitySynonymsT&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms = std::forward<EntitySynonymsT>(value); }
75 template<typename EntitySynonymsT = Aws::Vector<Aws::String>>
76 TopicNamedEntity& WithEntitySynonyms(EntitySynonymsT&& value) { SetEntitySynonyms(std::forward<EntitySynonymsT>(value)); return *this;}
77 template<typename EntitySynonymsT = Aws::String>
78 TopicNamedEntity& AddEntitySynonyms(EntitySynonymsT&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.emplace_back(std::forward<EntitySynonymsT>(value)); return *this; }
80
82
85 inline const SemanticEntityType& GetSemanticEntityType() const { return m_semanticEntityType; }
86 inline bool SemanticEntityTypeHasBeenSet() const { return m_semanticEntityTypeHasBeenSet; }
87 template<typename SemanticEntityTypeT = SemanticEntityType>
88 void SetSemanticEntityType(SemanticEntityTypeT&& value) { m_semanticEntityTypeHasBeenSet = true; m_semanticEntityType = std::forward<SemanticEntityTypeT>(value); }
89 template<typename SemanticEntityTypeT = SemanticEntityType>
90 TopicNamedEntity& WithSemanticEntityType(SemanticEntityTypeT&& value) { SetSemanticEntityType(std::forward<SemanticEntityTypeT>(value)); return *this;}
92
94
97 inline const Aws::Vector<NamedEntityDefinition>& GetDefinition() const { return m_definition; }
98 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
99 template<typename DefinitionT = Aws::Vector<NamedEntityDefinition>>
100 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
101 template<typename DefinitionT = Aws::Vector<NamedEntityDefinition>>
102 TopicNamedEntity& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
103 template<typename DefinitionT = NamedEntityDefinition>
104 TopicNamedEntity& AddDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition.emplace_back(std::forward<DefinitionT>(value)); return *this; }
106 private:
107
108 Aws::String m_entityName;
109 bool m_entityNameHasBeenSet = false;
110
111 Aws::String m_entityDescription;
112 bool m_entityDescriptionHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_entitySynonyms;
115 bool m_entitySynonymsHasBeenSet = false;
116
117 SemanticEntityType m_semanticEntityType;
118 bool m_semanticEntityTypeHasBeenSet = false;
119
121 bool m_definitionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
const Aws::String & GetEntityDescription() const
const Aws::Vector< Aws::String > & GetEntitySynonyms() const
const SemanticEntityType & GetSemanticEntityType() const
void SetEntityDescription(EntityDescriptionT &&value)
const Aws::String & GetEntityName() const
const Aws::Vector< NamedEntityDefinition > & GetDefinition() const
AWS_QUICKSIGHT_API TopicNamedEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicNamedEntity & AddEntitySynonyms(EntitySynonymsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TopicNamedEntity(Aws::Utils::Json::JsonView jsonValue)
TopicNamedEntity & WithSemanticEntityType(SemanticEntityTypeT &&value)
TopicNamedEntity & AddDefinition(DefinitionT &&value)
void SetSemanticEntityType(SemanticEntityTypeT &&value)
TopicNamedEntity & WithDefinition(DefinitionT &&value)
TopicNamedEntity & WithEntitySynonyms(EntitySynonymsT &&value)
void SetEntitySynonyms(EntitySynonymsT &&value)
TopicNamedEntity & WithEntityDescription(EntityDescriptionT &&value)
AWS_QUICKSIGHT_API TopicNamedEntity()=default
TopicNamedEntity & WithEntityName(EntityNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue