AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; }
50 inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); }
51 inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); }
52 inline TopicNamedEntity& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;}
53 inline TopicNamedEntity& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;}
54 inline TopicNamedEntity& WithEntityName(const char* value) { SetEntityName(value); return *this;}
56
58
61 inline const Aws::String& GetEntityDescription() const{ return m_entityDescription; }
62 inline bool EntityDescriptionHasBeenSet() const { return m_entityDescriptionHasBeenSet; }
63 inline void SetEntityDescription(const Aws::String& value) { m_entityDescriptionHasBeenSet = true; m_entityDescription = value; }
64 inline void SetEntityDescription(Aws::String&& value) { m_entityDescriptionHasBeenSet = true; m_entityDescription = std::move(value); }
65 inline void SetEntityDescription(const char* value) { m_entityDescriptionHasBeenSet = true; m_entityDescription.assign(value); }
66 inline TopicNamedEntity& WithEntityDescription(const Aws::String& value) { SetEntityDescription(value); return *this;}
67 inline TopicNamedEntity& WithEntityDescription(Aws::String&& value) { SetEntityDescription(std::move(value)); return *this;}
68 inline TopicNamedEntity& WithEntityDescription(const char* value) { SetEntityDescription(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetEntitySynonyms() const{ return m_entitySynonyms; }
76 inline bool EntitySynonymsHasBeenSet() const { return m_entitySynonymsHasBeenSet; }
77 inline void SetEntitySynonyms(const Aws::Vector<Aws::String>& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms = value; }
78 inline void SetEntitySynonyms(Aws::Vector<Aws::String>&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms = std::move(value); }
80 inline TopicNamedEntity& WithEntitySynonyms(Aws::Vector<Aws::String>&& value) { SetEntitySynonyms(std::move(value)); return *this;}
81 inline TopicNamedEntity& AddEntitySynonyms(const Aws::String& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(value); return *this; }
82 inline TopicNamedEntity& AddEntitySynonyms(Aws::String&& value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(std::move(value)); return *this; }
83 inline TopicNamedEntity& AddEntitySynonyms(const char* value) { m_entitySynonymsHasBeenSet = true; m_entitySynonyms.push_back(value); return *this; }
85
87
90 inline const SemanticEntityType& GetSemanticEntityType() const{ return m_semanticEntityType; }
91 inline bool SemanticEntityTypeHasBeenSet() const { return m_semanticEntityTypeHasBeenSet; }
92 inline void SetSemanticEntityType(const SemanticEntityType& value) { m_semanticEntityTypeHasBeenSet = true; m_semanticEntityType = value; }
93 inline void SetSemanticEntityType(SemanticEntityType&& value) { m_semanticEntityTypeHasBeenSet = true; m_semanticEntityType = std::move(value); }
95 inline TopicNamedEntity& WithSemanticEntityType(SemanticEntityType&& value) { SetSemanticEntityType(std::move(value)); return *this;}
97
99
102 inline const Aws::Vector<NamedEntityDefinition>& GetDefinition() const{ return m_definition; }
103 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
104 inline void SetDefinition(const Aws::Vector<NamedEntityDefinition>& value) { m_definitionHasBeenSet = true; m_definition = value; }
105 inline void SetDefinition(Aws::Vector<NamedEntityDefinition>&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
107 inline TopicNamedEntity& WithDefinition(Aws::Vector<NamedEntityDefinition>&& value) { SetDefinition(std::move(value)); return *this;}
108 inline TopicNamedEntity& AddDefinition(const NamedEntityDefinition& value) { m_definitionHasBeenSet = true; m_definition.push_back(value); return *this; }
109 inline TopicNamedEntity& AddDefinition(NamedEntityDefinition&& value) { m_definitionHasBeenSet = true; m_definition.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_entityName;
114 bool m_entityNameHasBeenSet = false;
115
116 Aws::String m_entityDescription;
117 bool m_entityDescriptionHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_entitySynonyms;
120 bool m_entitySynonymsHasBeenSet = false;
121
122 SemanticEntityType m_semanticEntityType;
123 bool m_semanticEntityTypeHasBeenSet = false;
124
126 bool m_definitionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace QuickSight
131} // namespace Aws
TopicNamedEntity & AddEntitySynonyms(const char *value)
const Aws::String & GetEntityDescription() const
TopicNamedEntity & WithSemanticEntityType(SemanticEntityType &&value)
const Aws::Vector< Aws::String > & GetEntitySynonyms() const
TopicNamedEntity & WithEntitySynonyms(const Aws::Vector< Aws::String > &value)
const SemanticEntityType & GetSemanticEntityType() const
TopicNamedEntity & WithEntityName(const Aws::String &value)
const Aws::String & GetEntityName() const
void SetEntitySynonyms(const Aws::Vector< Aws::String > &value)
const Aws::Vector< NamedEntityDefinition > & GetDefinition() const
AWS_QUICKSIGHT_API TopicNamedEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefinition(Aws::Vector< NamedEntityDefinition > &&value)
TopicNamedEntity & WithEntityName(const char *value)
TopicNamedEntity & WithDefinition(Aws::Vector< NamedEntityDefinition > &&value)
TopicNamedEntity & WithEntityDescription(Aws::String &&value)
void SetEntityName(const Aws::String &value)
void SetEntitySynonyms(Aws::Vector< Aws::String > &&value)
void SetSemanticEntityType(const SemanticEntityType &value)
TopicNamedEntity & WithEntitySynonyms(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicNamedEntity & WithEntityName(Aws::String &&value)
TopicNamedEntity & WithEntityDescription(const char *value)
AWS_QUICKSIGHT_API TopicNamedEntity(Aws::Utils::Json::JsonView jsonValue)
TopicNamedEntity & AddEntitySynonyms(Aws::String &&value)
void SetSemanticEntityType(SemanticEntityType &&value)
TopicNamedEntity & WithDefinition(const Aws::Vector< NamedEntityDefinition > &value)
TopicNamedEntity & WithSemanticEntityType(const SemanticEntityType &value)
TopicNamedEntity & AddDefinition(NamedEntityDefinition &&value)
TopicNamedEntity & AddEntitySynonyms(const Aws::String &value)
void SetEntityDescription(const Aws::String &value)
TopicNamedEntity & AddDefinition(const NamedEntityDefinition &value)
void SetDefinition(const Aws::Vector< NamedEntityDefinition > &value)
void SetEntityDescription(Aws::String &&value)
TopicNamedEntity & WithEntityDescription(const Aws::String &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