7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/KnowledgeBaseRetrievalConfiguration.h>
10#include <aws/bedrock/model/GenerationConfiguration.h>
11#include <aws/bedrock/model/OrchestrationConfiguration.h>
50 template<
typename KnowledgeBaseIdT = Aws::String>
51 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
52 template<
typename KnowledgeBaseIdT = Aws::String>
64 template<
typename ModelArnT = Aws::String>
65 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
66 template<
typename ModelArnT = Aws::String>
76 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
77 void SetRetrievalConfiguration(RetrievalConfigurationT&& value) { m_retrievalConfigurationHasBeenSet =
true; m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value); }
78 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
89 template<
typename GenerationConfigurationT = GenerationConfiguration>
90 void SetGenerationConfiguration(GenerationConfigurationT&& value) { m_generationConfigurationHasBeenSet =
true; m_generationConfiguration = std::forward<GenerationConfigurationT>(value); }
91 template<
typename GenerationConfigurationT = GenerationConfiguration>
102 template<
typename OrchestrationConfigurationT = OrchestrationConfiguration>
103 void SetOrchestrationConfiguration(OrchestrationConfigurationT&& value) { m_orchestrationConfigurationHasBeenSet =
true; m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value); }
104 template<
typename OrchestrationConfigurationT = OrchestrationConfiguration>
110 bool m_knowledgeBaseIdHasBeenSet =
false;
113 bool m_modelArnHasBeenSet =
false;
116 bool m_retrievalConfigurationHasBeenSet =
false;
119 bool m_generationConfigurationHasBeenSet =
false;
122 bool m_orchestrationConfigurationHasBeenSet =
false;
bool ModelArnHasBeenSet() const
const Aws::String & GetModelArn() const
AWS_BEDROCK_API KnowledgeBaseRetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
const GenerationConfiguration & GetGenerationConfiguration() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithModelArn(ModelArnT &&value)
void SetRetrievalConfiguration(RetrievalConfigurationT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithGenerationConfiguration(GenerationConfigurationT &&value)
bool RetrievalConfigurationHasBeenSet() const
const OrchestrationConfiguration & GetOrchestrationConfiguration() const
void SetGenerationConfiguration(GenerationConfigurationT &&value)
bool OrchestrationConfigurationHasBeenSet() const
void SetModelArn(ModelArnT &&value)
AWS_BEDROCK_API KnowledgeBaseRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrchestrationConfiguration(OrchestrationConfigurationT &&value)
bool GenerationConfigurationHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
AWS_BEDROCK_API KnowledgeBaseRetrieveAndGenerateConfiguration()=default
bool KnowledgeBaseIdHasBeenSet() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithOrchestrationConfiguration(OrchestrationConfigurationT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithRetrievalConfiguration(RetrievalConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue