7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h>
22namespace BedrockAgentRuntime
48 template<
typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
50 template<
typename DescriptionT = Aws::String>
61 template<
typename KnowledgeBaseIdT = Aws::String>
62 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
63 template<
typename KnowledgeBaseIdT = Aws::String>
76 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
77 void SetRetrievalConfiguration(RetrievalConfigurationT&& value) { m_retrievalConfigurationHasBeenSet =
true; m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value); }
78 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
84 bool m_descriptionHasBeenSet =
false;
87 bool m_knowledgeBaseIdHasBeenSet =
false;
90 bool m_retrievalConfigurationHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetRetrievalConfiguration(RetrievalConfigurationT &&value)
KnowledgeBase & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBase & WithRetrievalConfiguration(RetrievalConfigurationT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBase(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseIdHasBeenSet() const
bool RetrievalConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBase & WithDescription(DescriptionT &&value)
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBase & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKnowledgeBaseId() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBase()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue