AWS SDK for C++

AWS SDK for C++ Version 1.11.509

Loading...
Searching...
No Matches
KnowledgeBaseConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/KendraKnowledgeBaseConfiguration.h>
9#include <aws/bedrock-agent/model/SqlKnowledgeBaseConfiguration.h>
10#include <aws/bedrock-agent/model/KnowledgeBaseType.h>
11#include <aws/bedrock-agent/model/VectorKnowledgeBaseConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration();
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const KendraKnowledgeBaseConfiguration& GetKendraKnowledgeBaseConfiguration() const{ return m_kendraKnowledgeBaseConfiguration; }
49 inline bool KendraKnowledgeBaseConfigurationHasBeenSet() const { return m_kendraKnowledgeBaseConfigurationHasBeenSet; }
50 inline void SetKendraKnowledgeBaseConfiguration(const KendraKnowledgeBaseConfiguration& value) { m_kendraKnowledgeBaseConfigurationHasBeenSet = true; m_kendraKnowledgeBaseConfiguration = value; }
51 inline void SetKendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration&& value) { m_kendraKnowledgeBaseConfigurationHasBeenSet = true; m_kendraKnowledgeBaseConfiguration = std::move(value); }
55
57
61 inline const SqlKnowledgeBaseConfiguration& GetSqlKnowledgeBaseConfiguration() const{ return m_sqlKnowledgeBaseConfiguration; }
62 inline bool SqlKnowledgeBaseConfigurationHasBeenSet() const { return m_sqlKnowledgeBaseConfigurationHasBeenSet; }
63 inline void SetSqlKnowledgeBaseConfiguration(const SqlKnowledgeBaseConfiguration& value) { m_sqlKnowledgeBaseConfigurationHasBeenSet = true; m_sqlKnowledgeBaseConfiguration = value; }
64 inline void SetSqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration&& value) { m_sqlKnowledgeBaseConfigurationHasBeenSet = true; m_sqlKnowledgeBaseConfiguration = std::move(value); }
68
70
74 inline const KnowledgeBaseType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const KnowledgeBaseType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(KnowledgeBaseType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline KnowledgeBaseConfiguration& WithType(const KnowledgeBaseType& value) { SetType(value); return *this;}
79 inline KnowledgeBaseConfiguration& WithType(KnowledgeBaseType&& value) { SetType(std::move(value)); return *this;}
81
83
87 inline const VectorKnowledgeBaseConfiguration& GetVectorKnowledgeBaseConfiguration() const{ return m_vectorKnowledgeBaseConfiguration; }
88 inline bool VectorKnowledgeBaseConfigurationHasBeenSet() const { return m_vectorKnowledgeBaseConfigurationHasBeenSet; }
89 inline void SetVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration& value) { m_vectorKnowledgeBaseConfigurationHasBeenSet = true; m_vectorKnowledgeBaseConfiguration = value; }
90 inline void SetVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration&& value) { m_vectorKnowledgeBaseConfigurationHasBeenSet = true; m_vectorKnowledgeBaseConfiguration = std::move(value); }
94 private:
95
96 KendraKnowledgeBaseConfiguration m_kendraKnowledgeBaseConfiguration;
97 bool m_kendraKnowledgeBaseConfigurationHasBeenSet = false;
98
99 SqlKnowledgeBaseConfiguration m_sqlKnowledgeBaseConfiguration;
100 bool m_sqlKnowledgeBaseConfigurationHasBeenSet = false;
101
102 KnowledgeBaseType m_type;
103 bool m_typeHasBeenSet = false;
104
105 VectorKnowledgeBaseConfiguration m_vectorKnowledgeBaseConfiguration;
106 bool m_vectorKnowledgeBaseConfigurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace BedrockAgent
111} // namespace Aws
KnowledgeBaseConfiguration & WithVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration &&value)
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration &value)
void SetSqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBaseConfiguration & WithKendraKnowledgeBaseConfiguration(const KendraKnowledgeBaseConfiguration &value)
void SetKendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration &&value)
KnowledgeBaseConfiguration & WithSqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration &&value)
void SetSqlKnowledgeBaseConfiguration(const SqlKnowledgeBaseConfiguration &value)
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseConfiguration & WithVectorKnowledgeBaseConfiguration(const VectorKnowledgeBaseConfiguration &value)
KnowledgeBaseConfiguration & WithSqlKnowledgeBaseConfiguration(const SqlKnowledgeBaseConfiguration &value)
const VectorKnowledgeBaseConfiguration & GetVectorKnowledgeBaseConfiguration() const
const KendraKnowledgeBaseConfiguration & GetKendraKnowledgeBaseConfiguration() const
const SqlKnowledgeBaseConfiguration & GetSqlKnowledgeBaseConfiguration() const
void SetVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration &&value)
void SetKendraKnowledgeBaseConfiguration(const KendraKnowledgeBaseConfiguration &value)
KnowledgeBaseConfiguration & WithKendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration &&value)
KnowledgeBaseConfiguration & WithType(const KnowledgeBaseType &value)
KnowledgeBaseConfiguration & WithType(KnowledgeBaseType &&value)
Aws::Utils::Json::JsonValue JsonValue