AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/KnowledgeBaseStatus.h>
11#include <aws/qconnect/model/SourceConfiguration.h>
12#include <aws/qconnect/model/VectorIngestionConfiguration.h>
13#include <aws/qconnect/model/RenderingConfiguration.h>
14#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSMap.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() = default;
44 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
52 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
53 template<typename KnowledgeBaseIdT = Aws::String>
54 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
55 template<typename KnowledgeBaseIdT = Aws::String>
56 KnowledgeBaseSummary& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetKnowledgeBaseArn() const { return m_knowledgeBaseArn; }
64 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
65 template<typename KnowledgeBaseArnT = Aws::String>
66 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
67 template<typename KnowledgeBaseArnT = Aws::String>
68 KnowledgeBaseSummary& WithKnowledgeBaseArn(KnowledgeBaseArnT&& value) { SetKnowledgeBaseArn(std::forward<KnowledgeBaseArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 KnowledgeBaseSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
87 inline KnowledgeBaseType GetKnowledgeBaseType() const { return m_knowledgeBaseType; }
88 inline bool KnowledgeBaseTypeHasBeenSet() const { return m_knowledgeBaseTypeHasBeenSet; }
89 inline void SetKnowledgeBaseType(KnowledgeBaseType value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = value; }
92
94
97 inline KnowledgeBaseStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(KnowledgeBaseStatus value) { m_statusHasBeenSet = true; m_status = value; }
100 inline KnowledgeBaseSummary& WithStatus(KnowledgeBaseStatus value) { SetStatus(value); return *this;}
102
104
107 inline const SourceConfiguration& GetSourceConfiguration() const { return m_sourceConfiguration; }
108 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
109 template<typename SourceConfigurationT = SourceConfiguration>
110 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
111 template<typename SourceConfigurationT = SourceConfiguration>
112 KnowledgeBaseSummary& WithSourceConfiguration(SourceConfigurationT&& value) { SetSourceConfiguration(std::forward<SourceConfigurationT>(value)); return *this;}
114
116
119 inline const VectorIngestionConfiguration& GetVectorIngestionConfiguration() const { return m_vectorIngestionConfiguration; }
120 inline bool VectorIngestionConfigurationHasBeenSet() const { return m_vectorIngestionConfigurationHasBeenSet; }
121 template<typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
122 void SetVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { m_vectorIngestionConfigurationHasBeenSet = true; m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value); }
123 template<typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
124 KnowledgeBaseSummary& WithVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { SetVectorIngestionConfiguration(std::forward<VectorIngestionConfigurationT>(value)); return *this;}
126
128
131 inline const RenderingConfiguration& GetRenderingConfiguration() const { return m_renderingConfiguration; }
132 inline bool RenderingConfigurationHasBeenSet() const { return m_renderingConfigurationHasBeenSet; }
133 template<typename RenderingConfigurationT = RenderingConfiguration>
134 void SetRenderingConfiguration(RenderingConfigurationT&& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = std::forward<RenderingConfigurationT>(value); }
135 template<typename RenderingConfigurationT = RenderingConfiguration>
136 KnowledgeBaseSummary& WithRenderingConfiguration(RenderingConfigurationT&& value) { SetRenderingConfiguration(std::forward<RenderingConfigurationT>(value)); return *this;}
138
140
151 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const { return m_serverSideEncryptionConfiguration; }
152 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
153 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
154 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
155 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
156 KnowledgeBaseSummary& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value)); return *this;}
158
160
163 inline const Aws::String& GetDescription() const { return m_description; }
164 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
165 template<typename DescriptionT = Aws::String>
166 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
167 template<typename DescriptionT = Aws::String>
168 KnowledgeBaseSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(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 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
179 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 KnowledgeBaseSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
181 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
183 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
184 }
186 private:
187
188 Aws::String m_knowledgeBaseId;
189 bool m_knowledgeBaseIdHasBeenSet = false;
190
191 Aws::String m_knowledgeBaseArn;
192 bool m_knowledgeBaseArnHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
198 bool m_knowledgeBaseTypeHasBeenSet = false;
199
201 bool m_statusHasBeenSet = false;
202
203 SourceConfiguration m_sourceConfiguration;
204 bool m_sourceConfigurationHasBeenSet = false;
205
206 VectorIngestionConfiguration m_vectorIngestionConfiguration;
207 bool m_vectorIngestionConfigurationHasBeenSet = false;
208
209 RenderingConfiguration m_renderingConfiguration;
210 bool m_renderingConfigurationHasBeenSet = false;
211
212 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
213 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
214
215 Aws::String m_description;
216 bool m_descriptionHasBeenSet = false;
217
219 bool m_tagsHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace QConnect
224} // namespace Aws
AWS_QCONNECT_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus value)
KnowledgeBaseSummary & WithDescription(DescriptionT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
AWS_QCONNECT_API KnowledgeBaseSummary()=default
KnowledgeBaseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
KnowledgeBaseSummary & WithName(NameT &&value)
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfigurationT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType value)
KnowledgeBaseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetKnowledgeBaseType(KnowledgeBaseType value)
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
void SetStatus(KnowledgeBaseStatus value)
KnowledgeBaseSummary & WithTags(TagsT &&value)
KnowledgeBaseSummary & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_QCONNECT_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const SourceConfiguration & GetSourceConfiguration() const
void SetSourceConfiguration(SourceConfigurationT &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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