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 {
42 template <
typename DescriptionT = Aws::String>
44 m_descriptionHasBeenSet =
true;
45 m_description = std::forward<DescriptionT>(value);
47 template <
typename DescriptionT = Aws::String>
61 template <
typename KnowledgeBaseIdT = Aws::String>
63 m_knowledgeBaseIdHasBeenSet =
true;
64 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
66 template <
typename KnowledgeBaseIdT = Aws::String>
82 template <
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
84 m_retrievalConfigurationHasBeenSet =
true;
85 m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value);
87 template <
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
99 bool m_descriptionHasBeenSet =
false;
100 bool m_knowledgeBaseIdHasBeenSet =
false;
101 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::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