7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ExternalSourcesRetrieveAndGenerateConfiguration.h>
9#include <aws/bedrock/model/KnowledgeBaseRetrieveAndGenerateConfiguration.h>
10#include <aws/bedrock/model/RetrieveAndGenerateType.h>
47 m_typeHasBeenSet =
true;
63 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
65 m_knowledgeBaseConfigurationHasBeenSet =
true;
66 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
68 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
81 return m_externalSourcesConfiguration;
84 template <
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
86 m_externalSourcesConfigurationHasBeenSet =
true;
87 m_externalSourcesConfiguration = std::forward<ExternalSourcesConfigurationT>(value);
89 template <
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
98 KnowledgeBaseRetrieveAndGenerateConfiguration m_knowledgeBaseConfiguration;
100 ExternalSourcesRetrieveAndGenerateConfiguration m_externalSourcesConfiguration;
101 bool m_typeHasBeenSet =
false;
102 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
103 bool m_externalSourcesConfigurationHasBeenSet =
false;
AWS_BEDROCK_API RetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const KnowledgeBaseRetrieveAndGenerateConfiguration & GetKnowledgeBaseConfiguration() const
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
RetrieveAndGenerateConfiguration & WithType(RetrieveAndGenerateType value)
bool ExternalSourcesConfigurationHasBeenSet() const
void SetExternalSourcesConfiguration(ExternalSourcesConfigurationT &&value)
bool KnowledgeBaseConfigurationHasBeenSet() const
RetrieveAndGenerateType GetType() const
RetrieveAndGenerateConfiguration & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
void SetType(RetrieveAndGenerateType value)
AWS_BEDROCK_API RetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ExternalSourcesRetrieveAndGenerateConfiguration & GetExternalSourcesConfiguration() const
AWS_BEDROCK_API RetrieveAndGenerateConfiguration()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
RetrieveAndGenerateConfiguration & WithExternalSourcesConfiguration(ExternalSourcesConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue