7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RetrievalFilter.h>
9#include <aws/bedrock-agent-runtime/model/SearchType.h>
22namespace BedrockAgentRuntime
72 inline void SetNumberOfResults(
int value) { m_numberOfResultsHasBeenSet =
true; m_numberOfResults = value; }
98 bool m_filterHasBeenSet =
false;
100 int m_numberOfResults;
101 bool m_numberOfResultsHasBeenSet =
false;
104 bool m_overrideSearchTypeHasBeenSet =
false;
void SetOverrideSearchType(SearchType &&value)
int GetNumberOfResults() const
void SetFilter(const RetrievalFilter &value)
void SetNumberOfResults(int value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseVectorSearchConfiguration()
const RetrievalFilter & GetFilter() const
KnowledgeBaseVectorSearchConfiguration & WithOverrideSearchType(SearchType &&value)
void SetOverrideSearchType(const SearchType &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseVectorSearchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseVectorSearchConfiguration & WithNumberOfResults(int value)
KnowledgeBaseVectorSearchConfiguration & WithFilter(const RetrievalFilter &value)
const SearchType & GetOverrideSearchType() const
KnowledgeBaseVectorSearchConfiguration & WithFilter(RetrievalFilter &&value)
KnowledgeBaseVectorSearchConfiguration & WithOverrideSearchType(const SearchType &value)
void SetFilter(RetrievalFilter &&value)
bool OverrideSearchTypeHasBeenSet() const
bool FilterHasBeenSet() const
bool NumberOfResultsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseVectorSearchConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue