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>
21namespace BedrockAgentRuntime {
46 return m_externalSourcesConfiguration;
49 template <
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
51 m_externalSourcesConfigurationHasBeenSet =
true;
52 m_externalSourcesConfiguration = std::forward<ExternalSourcesConfigurationT>(value);
54 template <
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
68 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
70 m_knowledgeBaseConfigurationHasBeenSet =
true;
71 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
73 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
90 m_typeHasBeenSet =
true;
104 bool m_externalSourcesConfigurationHasBeenSet =
false;
105 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
106 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue