7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GenerationConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/OrchestrationConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/KnowledgeBaseRetrievalConfiguration.h>
24namespace BedrockAgentRuntime
57 template<
typename GenerationConfigurationT = GenerationConfiguration>
58 void SetGenerationConfiguration(GenerationConfigurationT&& value) { m_generationConfigurationHasBeenSet =
true; m_generationConfiguration = std::forward<GenerationConfigurationT>(value); }
59 template<
typename GenerationConfigurationT = GenerationConfiguration>
69 template<
typename KnowledgeBaseIdT = Aws::String>
70 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
71 template<
typename KnowledgeBaseIdT = Aws::String>
83 template<
typename ModelArnT = Aws::String>
84 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
85 template<
typename ModelArnT = Aws::String>
96 template<
typename OrchestrationConfigurationT = OrchestrationConfiguration>
97 void SetOrchestrationConfiguration(OrchestrationConfigurationT&& value) { m_orchestrationConfigurationHasBeenSet =
true; m_orchestrationConfiguration = std::forward<OrchestrationConfigurationT>(value); }
98 template<
typename OrchestrationConfigurationT = OrchestrationConfiguration>
109 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
110 void SetRetrievalConfiguration(RetrievalConfigurationT&& value) { m_retrievalConfigurationHasBeenSet =
true; m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value); }
111 template<
typename RetrievalConfigurationT = KnowledgeBaseRetrievalConfiguration>
117 bool m_generationConfigurationHasBeenSet =
false;
120 bool m_knowledgeBaseIdHasBeenSet =
false;
123 bool m_modelArnHasBeenSet =
false;
126 bool m_orchestrationConfigurationHasBeenSet =
false;
129 bool m_retrievalConfigurationHasBeenSet =
false;
const GenerationConfiguration & GetGenerationConfiguration() const
bool GenerationConfigurationHasBeenSet() const
bool ModelArnHasBeenSet() const
void SetRetrievalConfiguration(RetrievalConfigurationT &&value)
const OrchestrationConfiguration & GetOrchestrationConfiguration() const
const Aws::String & GetModelArn() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelArn(ModelArnT &&value)
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
const Aws::String & GetKnowledgeBaseId() const
bool RetrievalConfigurationHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithGenerationConfiguration(GenerationConfigurationT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithOrchestrationConfiguration(OrchestrationConfigurationT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithRetrievalConfiguration(RetrievalConfigurationT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithModelArn(ModelArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration()=default
bool OrchestrationConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGenerationConfiguration(GenerationConfigurationT &&value)
void SetOrchestrationConfiguration(OrchestrationConfigurationT &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue