7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/RetrieveAndGenerateType.h>
9#include <aws/bedrock/model/KnowledgeBaseRetrieveAndGenerateConfiguration.h>
10#include <aws/bedrock/model/ExternalSourcesRetrieveAndGenerateConfiguration.h>
63 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
64 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { m_knowledgeBaseConfigurationHasBeenSet =
true; m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value); }
65 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseRetrieveAndGenerateConfiguration>
76 template<
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
77 void SetExternalSourcesConfiguration(ExternalSourcesConfigurationT&& value) { m_externalSourcesConfigurationHasBeenSet =
true; m_externalSourcesConfiguration = std::forward<ExternalSourcesConfigurationT>(value); }
78 template<
typename ExternalSourcesConfigurationT = ExternalSourcesRetrieveAndGenerateConfiguration>
84 bool m_typeHasBeenSet =
false;
86 KnowledgeBaseRetrieveAndGenerateConfiguration m_knowledgeBaseConfiguration;
87 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
89 ExternalSourcesRetrieveAndGenerateConfiguration m_externalSourcesConfiguration;
90 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)
Aws::Utils::Json::JsonValue JsonValue