7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/KnowledgeBaseType.h>
11#include <aws/qconnect/model/SourceConfiguration.h>
12#include <aws/qconnect/model/RenderingConfiguration.h>
13#include <aws/qconnect/model/VectorIngestionConfiguration.h>
14#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/UUID.h>
52 template<
typename ClientTokenT = Aws::String>
53 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
54 template<
typename ClientTokenT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
89 template<
typename SourceConfigurationT = SourceConfiguration>
90 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet =
true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
91 template<
typename SourceConfigurationT = SourceConfiguration>
101 template<
typename RenderingConfigurationT = RenderingConfiguration>
102 void SetRenderingConfiguration(RenderingConfigurationT&& value) { m_renderingConfigurationHasBeenSet =
true; m_renderingConfiguration = std::forward<RenderingConfigurationT>(value); }
103 template<
typename RenderingConfigurationT = RenderingConfiguration>
113 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
114 void SetVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { m_vectorIngestionConfigurationHasBeenSet =
true; m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value); }
115 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
133 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
134 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
135 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
145 template<
typename DescriptionT = Aws::String>
146 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
147 template<
typename DescriptionT = Aws::String>
157 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
169 bool m_clientTokenHasBeenSet =
true;
172 bool m_nameHasBeenSet =
false;
175 bool m_knowledgeBaseTypeHasBeenSet =
false;
177 SourceConfiguration m_sourceConfiguration;
178 bool m_sourceConfigurationHasBeenSet =
false;
180 RenderingConfiguration m_renderingConfiguration;
181 bool m_renderingConfigurationHasBeenSet =
false;
183 VectorIngestionConfiguration m_vectorIngestionConfiguration;
184 bool m_vectorIngestionConfigurationHasBeenSet =
false;
186 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
187 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 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