AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseConfiguration.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration();
39 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
49 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
50 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
51 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
52 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
54 inline KnowledgeBaseConfiguration& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
55 inline KnowledgeBaseConfiguration& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
57
59
65 inline const KnowledgeBaseRetrievalConfiguration& GetRetrievalConfiguration() const{ return m_retrievalConfiguration; }
66 inline bool RetrievalConfigurationHasBeenSet() const { return m_retrievalConfigurationHasBeenSet; }
67 inline void SetRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration& value) { m_retrievalConfigurationHasBeenSet = true; m_retrievalConfiguration = value; }
68 inline void SetRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration&& value) { m_retrievalConfigurationHasBeenSet = true; m_retrievalConfiguration = std::move(value); }
72 private:
73
74 Aws::String m_knowledgeBaseId;
75 bool m_knowledgeBaseIdHasBeenSet = false;
76
77 KnowledgeBaseRetrievalConfiguration m_retrievalConfiguration;
78 bool m_retrievalConfigurationHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace BedrockAgentRuntime
83} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseConfiguration & WithKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseConfiguration & WithRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
KnowledgeBaseConfiguration & WithRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
KnowledgeBaseConfiguration & WithKnowledgeBaseId(Aws::String &&value)
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBaseConfiguration & WithKnowledgeBaseId(const char *value)
void SetRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue