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/RenderingConfiguration.h>
12#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
13#include <aws/qconnect/model/SourceConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/qconnect/model/VectorIngestionConfiguration.h>
17#include <aws/core/utils/UUID.h>
54 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
96 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
180 bool m_clientTokenHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
186 bool m_knowledgeBaseTypeHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
192 bool m_renderingConfigurationHasBeenSet =
false;
195 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
198 bool m_sourceConfigurationHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
204 bool m_vectorIngestionConfigurationHasBeenSet =
false;
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
CreateKnowledgeBaseRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetClientToken(const char *value)
CreateKnowledgeBaseRequest & WithRenderingConfiguration(const RenderingConfiguration &value)
CreateKnowledgeBaseRequest & WithDescription(const char *value)
void SetKnowledgeBaseType(const KnowledgeBaseType &value)
const SourceConfiguration & GetSourceConfiguration() const
CreateKnowledgeBaseRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetRenderingConfiguration(RenderingConfiguration &&value)
void SetRenderingConfiguration(const RenderingConfiguration &value)
CreateKnowledgeBaseRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKnowledgeBaseRequest & WithName(const char *value)
CreateKnowledgeBaseRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, const char *value)
CreateKnowledgeBaseRequest & WithRenderingConfiguration(RenderingConfiguration &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateKnowledgeBaseRequest & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateKnowledgeBaseRequest & WithSourceConfiguration(SourceConfiguration &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
CreateKnowledgeBaseRequest & WithClientToken(const Aws::String &value)
void SetName(const Aws::String &value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
bool RenderingConfigurationHasBeenSet() const
void SetDescription(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKnowledgeBaseRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const KnowledgeBaseType & GetKnowledgeBaseType() const
void SetVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
CreateKnowledgeBaseRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateKnowledgeBaseRequest & WithClientToken(Aws::String &&value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetClientToken(Aws::String &&value)
bool ClientTokenHasBeenSet() const
AWS_QCONNECT_API CreateKnowledgeBaseRequest()
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateKnowledgeBaseRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateKnowledgeBaseRequest & WithVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
CreateKnowledgeBaseRequest & WithKnowledgeBaseType(KnowledgeBaseType &&value)
CreateKnowledgeBaseRequest & WithClientToken(const char *value)
bool VectorIngestionConfigurationHasBeenSet() const
bool KnowledgeBaseTypeHasBeenSet() const
CreateKnowledgeBaseRequest & WithName(const Aws::String &value)
CreateKnowledgeBaseRequest & WithVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
CreateKnowledgeBaseRequest & AddTags(const char *key, Aws::String &&value)
void SetVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
CreateKnowledgeBaseRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetKnowledgeBaseType(KnowledgeBaseType &&value)
void SetName(Aws::String &&value)
CreateKnowledgeBaseRequest & WithDescription(Aws::String &&value)
CreateKnowledgeBaseRequest & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetSourceConfiguration(const SourceConfiguration &value)
void SetName(const char *value)
CreateKnowledgeBaseRequest & WithSourceConfiguration(const SourceConfiguration &value)
void SetSourceConfiguration(SourceConfiguration &&value)
bool SourceConfigurationHasBeenSet() const
bool TagsHasBeenSet() const
CreateKnowledgeBaseRequest & WithKnowledgeBaseType(const KnowledgeBaseType &value)
const Aws::String & GetClientToken() const
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