7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
44 template <
typename KnowledgeBaseIdT = Aws::String>
46 m_knowledgeBaseIdHasBeenSet =
true;
47 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
49 template <
typename KnowledgeBaseIdT = Aws::String>
65 template <
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
67 m_retrievalConfigurationHasBeenSet =
true;
68 m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value);
70 template <
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
80 bool m_knowledgeBaseIdHasBeenSet =
false;
81 bool m_retrievalConfigurationHasBeenSet =
false;
KnowledgeBaseConfiguration & WithRetrievalConfiguration(RetrievalConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetKnowledgeBaseId() const
KnowledgeBaseConfiguration & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool KnowledgeBaseIdHasBeenSet() const
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration()=default
void SetRetrievalConfiguration(RetrievalConfigurationT &&value)
bool RetrievalConfigurationHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue