AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseSummary.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/KnowledgeBaseType.h>
10#include <aws/wisdom/model/RenderingConfiguration.h>
11#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
12#include <aws/wisdom/model/SourceConfiguration.h>
13#include <aws/wisdom/model/KnowledgeBaseStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace ConnectWisdomService
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary();
41 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDescription() const{ return m_description; }
51 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
52 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
53 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
54 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
55 inline KnowledgeBaseSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
56 inline KnowledgeBaseSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
57 inline KnowledgeBaseSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
59
61
64 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
65 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
66 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
67 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
68 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
69 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
70 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
71 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
73
75
79 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
80 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
81 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
82 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
83 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
84 inline KnowledgeBaseSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
85 inline KnowledgeBaseSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
86 inline KnowledgeBaseSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
88
90
93 inline const KnowledgeBaseType& GetKnowledgeBaseType() const{ return m_knowledgeBaseType; }
94 inline bool KnowledgeBaseTypeHasBeenSet() const { return m_knowledgeBaseTypeHasBeenSet; }
95 inline void SetKnowledgeBaseType(const KnowledgeBaseType& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = value; }
96 inline void SetKnowledgeBaseType(KnowledgeBaseType&& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = std::move(value); }
98 inline KnowledgeBaseSummary& WithKnowledgeBaseType(KnowledgeBaseType&& value) { SetKnowledgeBaseType(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
108 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 inline KnowledgeBaseSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
111 inline KnowledgeBaseSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 inline KnowledgeBaseSummary& WithName(const char* value) { SetName(value); return *this;}
114
116
119 inline const RenderingConfiguration& GetRenderingConfiguration() const{ return m_renderingConfiguration; }
120 inline bool RenderingConfigurationHasBeenSet() const { return m_renderingConfigurationHasBeenSet; }
121 inline void SetRenderingConfiguration(const RenderingConfiguration& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = value; }
122 inline void SetRenderingConfiguration(RenderingConfiguration&& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = std::move(value); }
126
128
138 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
139 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
140 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
141 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
145
147
150 inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
151 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
152 inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
153 inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
157
159
162 inline const KnowledgeBaseStatus& GetStatus() const{ return m_status; }
163 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
164 inline void SetStatus(const KnowledgeBaseStatus& value) { m_statusHasBeenSet = true; m_status = value; }
165 inline void SetStatus(KnowledgeBaseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
166 inline KnowledgeBaseSummary& WithStatus(const KnowledgeBaseStatus& value) { SetStatus(value); return *this;}
167 inline KnowledgeBaseSummary& WithStatus(KnowledgeBaseStatus&& value) { SetStatus(std::move(value)); return *this;}
169
171
174 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
175 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
176 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
177 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
178 inline KnowledgeBaseSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
179 inline KnowledgeBaseSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
180 inline KnowledgeBaseSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
181 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
182 inline KnowledgeBaseSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
183 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
184 inline KnowledgeBaseSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
185 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
186 inline KnowledgeBaseSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
188 private:
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 Aws::String m_knowledgeBaseArn;
194 bool m_knowledgeBaseArnHasBeenSet = false;
195
196 Aws::String m_knowledgeBaseId;
197 bool m_knowledgeBaseIdHasBeenSet = false;
198
199 KnowledgeBaseType m_knowledgeBaseType;
200 bool m_knowledgeBaseTypeHasBeenSet = false;
201
202 Aws::String m_name;
203 bool m_nameHasBeenSet = false;
204
205 RenderingConfiguration m_renderingConfiguration;
206 bool m_renderingConfigurationHasBeenSet = false;
207
208 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
209 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
210
211 SourceConfiguration m_sourceConfiguration;
212 bool m_sourceConfigurationHasBeenSet = false;
213
214 KnowledgeBaseStatus m_status;
215 bool m_statusHasBeenSet = false;
216
218 bool m_tagsHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace ConnectWisdomService
223} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus &&value)
KnowledgeBaseSummary & WithKnowledgeBaseArn(const Aws::String &value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, const Aws::String &value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
KnowledgeBaseSummary & AddTags(const char *key, Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(const KnowledgeBaseStatus &value)
void SetRenderingConfiguration(RenderingConfiguration &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary()
KnowledgeBaseSummary & WithKnowledgeBaseArn(Aws::String &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(const Aws::String &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
KnowledgeBaseSummary & WithDescription(const Aws::String &value)
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(const char *value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, const char *value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
KnowledgeBaseSummary & WithKnowledgeBaseType(const KnowledgeBaseType &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
KnowledgeBaseSummary & WithName(const Aws::String &value)
KnowledgeBaseSummary & WithRenderingConfiguration(const RenderingConfiguration &value)
void SetKnowledgeBaseType(const KnowledgeBaseType &value)
void SetSourceConfiguration(const SourceConfiguration &value)
void SetRenderingConfiguration(const RenderingConfiguration &value)
KnowledgeBaseSummary & WithDescription(const char *value)
KnowledgeBaseSummary & WithName(const char *value)
KnowledgeBaseSummary & WithKnowledgeBaseId(Aws::String &&value)
KnowledgeBaseSummary & WithDescription(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBaseSummary & AddTags(const Aws::String &key, const Aws::String &value)
KnowledgeBaseSummary & WithSourceConfiguration(const SourceConfiguration &value)
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
KnowledgeBaseSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
KnowledgeBaseSummary & AddTags(const char *key, const char *value)
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfiguration &&value)
KnowledgeBaseSummary & AddTags(const Aws::String &key, Aws::String &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
KnowledgeBaseSummary & WithName(Aws::String &&value)
KnowledgeBaseSummary & WithKnowledgeBaseArn(const char *value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue