7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ExternalSourcesRetrieveAndGenerateConfiguration.h>
9#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrieveAndGenerateConfiguration.h>
10#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateType.h>
23namespace BedrockAgentRuntime
53 template<
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
54 void SetExternalSourcesConfiguration(ExternalSourcesConfigurationT&& value) { m_externalSourcesConfigurationHasBeenSet =
true; m_externalSourcesConfiguration = std::forward<ExternalSourcesConfigurationT>(value); }
55 template<
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
66 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
67 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { m_knowledgeBaseConfigurationHasBeenSet =
true; m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value); }
68 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
87 bool m_externalSourcesConfigurationHasBeenSet =
false;
90 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseConfigurationHasBeenSet() const
const ExternalSourcesRetrieveAndGenerateConfiguration & GetExternalSourcesConfiguration() const
const KnowledgeBaseRetrieveAndGenerateConfiguration & GetKnowledgeBaseConfiguration() const
void SetType(RetrieveAndGenerateType value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateConfiguration()=default
RetrieveAndGenerateType GetType() const
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
RetrieveAndGenerateConfiguration & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
RetrieveAndGenerateConfiguration & WithExternalSourcesConfiguration(ExternalSourcesConfigurationT &&value)
RetrieveAndGenerateConfiguration & WithType(RetrieveAndGenerateType value)
bool ExternalSourcesConfigurationHasBeenSet() const
bool TypeHasBeenSet() const
void SetExternalSourcesConfiguration(ExternalSourcesConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue