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/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/KnowledgeBaseType.h>
10#include <aws/qconnect/model/RenderingConfiguration.h>
11#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
12#include <aws/qconnect/model/SourceConfiguration.h>
13#include <aws/qconnect/model/KnowledgeBaseStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/qconnect/model/VectorIngestionConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QConnect
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_QCONNECT_API KnowledgeBaseSummary();
44 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetDescription() const{ return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
54 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
55 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
56 inline KnowledgeBaseSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline KnowledgeBaseSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline KnowledgeBaseSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
60
62
65 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
66 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
67 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
68 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
69 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
70 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
71 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
72 inline KnowledgeBaseSummary& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
74
76
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
139 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
140 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
141 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
142 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
146
148
151 inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
152 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
153 inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
154 inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
158
160
163 inline const KnowledgeBaseStatus& GetStatus() const{ return m_status; }
164 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
165 inline void SetStatus(const KnowledgeBaseStatus& value) { m_statusHasBeenSet = true; m_status = value; }
166 inline void SetStatus(KnowledgeBaseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
167 inline KnowledgeBaseSummary& WithStatus(const KnowledgeBaseStatus& value) { SetStatus(value); return *this;}
168 inline KnowledgeBaseSummary& WithStatus(KnowledgeBaseStatus&& value) { SetStatus(std::move(value)); return *this;}
170
172
175 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
176 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
177 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
178 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
179 inline KnowledgeBaseSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
180 inline KnowledgeBaseSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
181 inline KnowledgeBaseSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
182 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
183 inline KnowledgeBaseSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
184 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
185 inline KnowledgeBaseSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
186 inline KnowledgeBaseSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
187 inline KnowledgeBaseSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
189
191
194 inline const VectorIngestionConfiguration& GetVectorIngestionConfiguration() const{ return m_vectorIngestionConfiguration; }
195 inline bool VectorIngestionConfigurationHasBeenSet() const { return m_vectorIngestionConfigurationHasBeenSet; }
196 inline void SetVectorIngestionConfiguration(const VectorIngestionConfiguration& value) { m_vectorIngestionConfigurationHasBeenSet = true; m_vectorIngestionConfiguration = value; }
197 inline void SetVectorIngestionConfiguration(VectorIngestionConfiguration&& value) { m_vectorIngestionConfigurationHasBeenSet = true; m_vectorIngestionConfiguration = std::move(value); }
201 private:
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
206 Aws::String m_knowledgeBaseArn;
207 bool m_knowledgeBaseArnHasBeenSet = false;
208
209 Aws::String m_knowledgeBaseId;
210 bool m_knowledgeBaseIdHasBeenSet = false;
211
212 KnowledgeBaseType m_knowledgeBaseType;
213 bool m_knowledgeBaseTypeHasBeenSet = false;
214
215 Aws::String m_name;
216 bool m_nameHasBeenSet = false;
217
218 RenderingConfiguration m_renderingConfiguration;
219 bool m_renderingConfigurationHasBeenSet = false;
220
221 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
222 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
223
224 SourceConfiguration m_sourceConfiguration;
225 bool m_sourceConfigurationHasBeenSet = false;
226
227 KnowledgeBaseStatus m_status;
228 bool m_statusHasBeenSet = false;
229
231 bool m_tagsHasBeenSet = false;
232
233 VectorIngestionConfiguration m_vectorIngestionConfiguration;
234 bool m_vectorIngestionConfigurationHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace QConnect
239} // namespace Aws
void SetStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseSummary & WithRenderingConfiguration(const RenderingConfiguration &value)
AWS_QCONNECT_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithKnowledgeBaseArn(const char *value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, const char *value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseSummary & WithSourceConfiguration(const SourceConfiguration &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetKnowledgeBaseArn(const Aws::String &value)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus &&value)
KnowledgeBaseSummary & WithDescription(const Aws::String &value)
KnowledgeBaseSummary & WithKnowledgeBaseId(Aws::String &&value)
KnowledgeBaseSummary & WithVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
KnowledgeBaseSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfiguration &&value)
KnowledgeBaseSummary & WithName(const char *value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, Aws::String &&value)
KnowledgeBaseSummary & WithVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
KnowledgeBaseSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
KnowledgeBaseSummary & WithDescription(Aws::String &&value)
void SetSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseSummary & AddTags(const char *key, const char *value)
KnowledgeBaseSummary & WithKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseSummary & WithName(const Aws::String &value)
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType &&value)
KnowledgeBaseSummary & WithKnowledgeBaseArn(const Aws::String &value)
const KnowledgeBaseStatus & GetStatus() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
void SetKnowledgeBaseType(KnowledgeBaseType &&value)
void SetVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
void SetStatus(KnowledgeBaseStatus &&value)
void SetDescription(const Aws::String &value)
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
KnowledgeBaseSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseSummary & WithStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseSummary & WithKnowledgeBaseArn(Aws::String &&value)
KnowledgeBaseSummary & AddTags(const char *key, Aws::String &&value)
void SetSourceConfiguration(const SourceConfiguration &value)
KnowledgeBaseSummary & WithDescription(const char *value)
const KnowledgeBaseType & GetKnowledgeBaseType() const
void SetRenderingConfiguration(const RenderingConfiguration &value)
KnowledgeBaseSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRenderingConfiguration(RenderingConfiguration &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(const char *value)
KnowledgeBaseSummary & WithKnowledgeBaseType(const KnowledgeBaseType &value)
KnowledgeBaseSummary & WithName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_QCONNECT_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
void SetVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
KnowledgeBaseSummary & AddTags(const Aws::String &key, const Aws::String &value)
const SourceConfiguration & GetSourceConfiguration() const
void SetKnowledgeBaseType(const KnowledgeBaseType &value)
const RenderingConfiguration & GetRenderingConfiguration() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&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