7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/QConnectRequest.h>
11#include <aws/qconnect/QConnect_EXPORTS.h>
12#include <aws/qconnect/model/KnowledgeBaseType.h>
13#include <aws/qconnect/model/RenderingConfiguration.h>
14#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
15#include <aws/qconnect/model/SourceConfiguration.h>
16#include <aws/qconnect/model/VectorIngestionConfiguration.h>
48 template <
typename ClientTokenT = Aws::String>
50 m_clientTokenHasBeenSet =
true;
51 m_clientToken = std::forward<ClientTokenT>(value);
53 template <
typename ClientTokenT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
87 m_knowledgeBaseTypeHasBeenSet =
true;
88 m_knowledgeBaseType = value;
103 template <
typename SourceConfigurationT = SourceConfiguration>
105 m_sourceConfigurationHasBeenSet =
true;
106 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
108 template <
typename SourceConfigurationT = SourceConfiguration>
121 template <
typename RenderingConfigurationT = RenderingConfiguration>
123 m_renderingConfigurationHasBeenSet =
true;
124 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
126 template <
typename RenderingConfigurationT = RenderingConfiguration>
139 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
141 m_vectorIngestionConfigurationHasBeenSet =
true;
142 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
144 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
164 return m_serverSideEncryptionConfiguration;
167 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
169 m_serverSideEncryptionConfigurationHasBeenSet =
true;
170 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
172 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
185 template <
typename DescriptionT = Aws::String>
187 m_descriptionHasBeenSet =
true;
188 m_description = std::forward<DescriptionT>(value);
190 template <
typename DescriptionT = Aws::String>
203 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 m_tagsHasBeenSet =
true;
206 m_tags = std::forward<TagsT>(value);
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 SetTags(std::forward<TagsT>(value));
213 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
215 m_tagsHasBeenSet =
true;
216 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
227 SourceConfiguration m_sourceConfiguration;
229 RenderingConfiguration m_renderingConfiguration;
231 VectorIngestionConfiguration m_vectorIngestionConfiguration;
233 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
238 bool m_clientTokenHasBeenSet =
true;
239 bool m_nameHasBeenSet =
false;
240 bool m_knowledgeBaseTypeHasBeenSet =
false;
241 bool m_sourceConfigurationHasBeenSet =
false;
242 bool m_renderingConfigurationHasBeenSet =
false;
243 bool m_vectorIngestionConfigurationHasBeenSet =
false;
244 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
const SourceConfiguration & GetSourceConfiguration() const
CreateKnowledgeBaseRequest & WithName(NameT &&value)
CreateKnowledgeBaseRequest & WithRenderingConfiguration(RenderingConfigurationT &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
KnowledgeBaseType GetKnowledgeBaseType() const
CreateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
CreateKnowledgeBaseRequest & WithKnowledgeBaseType(KnowledgeBaseType value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
bool RenderingConfigurationHasBeenSet() const
CreateKnowledgeBaseRequest & WithClientToken(ClientTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
bool ClientTokenHasBeenSet() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
void SetDescription(DescriptionT &&value)
CreateKnowledgeBaseRequest & WithSourceConfiguration(SourceConfigurationT &&value)
void SetSourceConfiguration(SourceConfigurationT &&value)
AWS_QCONNECT_API CreateKnowledgeBaseRequest()=default
bool VectorIngestionConfigurationHasBeenSet() const
bool KnowledgeBaseTypeHasBeenSet() const
CreateKnowledgeBaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
void SetKnowledgeBaseType(KnowledgeBaseType value)
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
void SetTags(TagsT &&value)
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
const Aws::String & GetName() const
CreateKnowledgeBaseRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
bool SourceConfigurationHasBeenSet() const
bool TagsHasBeenSet() const
CreateKnowledgeBaseRequest & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
const Aws::String & GetClientToken() const
CreateKnowledgeBaseRequest & WithTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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