AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseRetrievalConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/KnowledgeBaseVectorSearchConfiguration.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrievalConfiguration();
47 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
57 inline const KnowledgeBaseVectorSearchConfiguration& GetVectorSearchConfiguration() const{ return m_vectorSearchConfiguration; }
58 inline bool VectorSearchConfigurationHasBeenSet() const { return m_vectorSearchConfigurationHasBeenSet; }
59 inline void SetVectorSearchConfiguration(const KnowledgeBaseVectorSearchConfiguration& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = value; }
60 inline void SetVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration&& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = std::move(value); }
64 private:
65
66 KnowledgeBaseVectorSearchConfiguration m_vectorSearchConfiguration;
67 bool m_vectorSearchConfigurationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace BedrockAgentRuntime
72} // namespace Aws
void SetVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrievalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseRetrievalConfiguration & WithVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrievalConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseRetrievalConfiguration & WithVectorSearchConfiguration(const KnowledgeBaseVectorSearchConfiguration &value)
const KnowledgeBaseVectorSearchConfiguration & GetVectorSearchConfiguration() const
void SetVectorSearchConfiguration(const KnowledgeBaseVectorSearchConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue