7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/KendraKnowledgeBaseConfiguration.h>
9#include <aws/bedrock-agent/model/KnowledgeBaseType.h>
10#include <aws/bedrock-agent/model/ManagedKnowledgeBaseConfiguration.h>
11#include <aws/bedrock-agent/model/SqlKnowledgeBaseConfiguration.h>
12#include <aws/bedrock-agent/model/VectorKnowledgeBaseConfiguration.h>
23namespace BedrockAgent {
47 m_typeHasBeenSet =
true;
63 template <
typename VectorKnowledgeBaseConfigurationT = VectorKnowledgeBaseConfiguration>
65 m_vectorKnowledgeBaseConfigurationHasBeenSet =
true;
66 m_vectorKnowledgeBaseConfiguration = std::forward<VectorKnowledgeBaseConfigurationT>(value);
68 template <
typename VectorKnowledgeBaseConfigurationT = VectorKnowledgeBaseConfiguration>
78 return m_managedKnowledgeBaseConfiguration;
81 template <
typename ManagedKnowledgeBaseConfigurationT = ManagedKnowledgeBaseConfiguration>
83 m_managedKnowledgeBaseConfigurationHasBeenSet =
true;
84 m_managedKnowledgeBaseConfiguration = std::forward<ManagedKnowledgeBaseConfigurationT>(value);
86 template <
typename ManagedKnowledgeBaseConfigurationT = ManagedKnowledgeBaseConfiguration>
99 template <
typename KendraKnowledgeBaseConfigurationT = KendraKnowledgeBaseConfiguration>
101 m_kendraKnowledgeBaseConfigurationHasBeenSet =
true;
102 m_kendraKnowledgeBaseConfiguration = std::forward<KendraKnowledgeBaseConfigurationT>(value);
104 template <
typename KendraKnowledgeBaseConfigurationT = KendraKnowledgeBaseConfiguration>
118 template <
typename SqlKnowledgeBaseConfigurationT = SqlKnowledgeBaseConfiguration>
120 m_sqlKnowledgeBaseConfigurationHasBeenSet =
true;
121 m_sqlKnowledgeBaseConfiguration = std::forward<SqlKnowledgeBaseConfigurationT>(value);
123 template <
typename SqlKnowledgeBaseConfigurationT = SqlKnowledgeBaseConfiguration>
132 VectorKnowledgeBaseConfiguration m_vectorKnowledgeBaseConfiguration;
134 ManagedKnowledgeBaseConfiguration m_managedKnowledgeBaseConfiguration;
136 KendraKnowledgeBaseConfiguration m_kendraKnowledgeBaseConfiguration;
138 SqlKnowledgeBaseConfiguration m_sqlKnowledgeBaseConfiguration;
139 bool m_typeHasBeenSet =
false;
140 bool m_vectorKnowledgeBaseConfigurationHasBeenSet =
false;
141 bool m_managedKnowledgeBaseConfigurationHasBeenSet =
false;
142 bool m_kendraKnowledgeBaseConfigurationHasBeenSet =
false;
143 bool m_sqlKnowledgeBaseConfigurationHasBeenSet =
false;
KnowledgeBaseConfiguration & WithManagedKnowledgeBaseConfiguration(ManagedKnowledgeBaseConfigurationT &&value)
KnowledgeBaseConfiguration & WithType(KnowledgeBaseType value)
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfigurationT &&value)
void SetManagedKnowledgeBaseConfiguration(ManagedKnowledgeBaseConfigurationT &&value)
bool SqlKnowledgeBaseConfigurationHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfigurationT &&value)
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration()=default
bool TypeHasBeenSet() const
KnowledgeBaseType GetType() const
bool KendraKnowledgeBaseConfigurationHasBeenSet() const
const ManagedKnowledgeBaseConfiguration & GetManagedKnowledgeBaseConfiguration() const
AWS_BEDROCKAGENT_API KnowledgeBaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool VectorKnowledgeBaseConfigurationHasBeenSet() const
void SetSqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfigurationT &&value)
const VectorKnowledgeBaseConfiguration & GetVectorKnowledgeBaseConfiguration() const
KnowledgeBaseConfiguration & WithKendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfigurationT &&value)
const KendraKnowledgeBaseConfiguration & GetKendraKnowledgeBaseConfiguration() const
KnowledgeBaseConfiguration & WithSqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfigurationT &&value)
const SqlKnowledgeBaseConfiguration & GetSqlKnowledgeBaseConfiguration() const
bool ManagedKnowledgeBaseConfigurationHasBeenSet() const
KnowledgeBaseConfiguration & WithVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfigurationT &&value)
void SetType(KnowledgeBaseType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue