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>
82 return m_managedKnowledgeBaseConfiguration;
85 template <
typename ManagedKnowledgeBaseConfigurationT = ManagedKnowledgeBaseConfiguration>
87 m_managedKnowledgeBaseConfigurationHasBeenSet =
true;
88 m_managedKnowledgeBaseConfiguration = std::forward<ManagedKnowledgeBaseConfigurationT>(value);
90 template <
typename ManagedKnowledgeBaseConfigurationT = ManagedKnowledgeBaseConfiguration>
103 template <
typename KendraKnowledgeBaseConfigurationT = KendraKnowledgeBaseConfiguration>
105 m_kendraKnowledgeBaseConfigurationHasBeenSet =
true;
106 m_kendraKnowledgeBaseConfiguration = std::forward<KendraKnowledgeBaseConfigurationT>(value);
108 template <
typename KendraKnowledgeBaseConfigurationT = KendraKnowledgeBaseConfiguration>
122 template <
typename SqlKnowledgeBaseConfigurationT = SqlKnowledgeBaseConfiguration>
124 m_sqlKnowledgeBaseConfigurationHasBeenSet =
true;
125 m_sqlKnowledgeBaseConfiguration = std::forward<SqlKnowledgeBaseConfigurationT>(value);
127 template <
typename SqlKnowledgeBaseConfigurationT = SqlKnowledgeBaseConfiguration>
136 VectorKnowledgeBaseConfiguration m_vectorKnowledgeBaseConfiguration;
138 ManagedKnowledgeBaseConfiguration m_managedKnowledgeBaseConfiguration;
140 KendraKnowledgeBaseConfiguration m_kendraKnowledgeBaseConfiguration;
142 SqlKnowledgeBaseConfiguration m_sqlKnowledgeBaseConfiguration;
143 bool m_typeHasBeenSet =
false;
144 bool m_vectorKnowledgeBaseConfigurationHasBeenSet =
false;
145 bool m_managedKnowledgeBaseConfigurationHasBeenSet =
false;
146 bool m_kendraKnowledgeBaseConfigurationHasBeenSet =
false;
147 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