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
71 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
87 inline void SetModelArn(
const char* value) { m_modelArnHasBeenSet =
true; m_modelArn.assign(value); }
121 bool m_generationConfigurationHasBeenSet =
false;
124 bool m_knowledgeBaseIdHasBeenSet =
false;
127 bool m_modelArnHasBeenSet =
false;
130 bool m_orchestrationConfigurationHasBeenSet =
false;
133 bool m_retrievalConfigurationHasBeenSet =
false;
const GenerationConfiguration & GetGenerationConfiguration() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithKnowledgeBaseId(const char *value)
bool GenerationConfigurationHasBeenSet() const
bool ModelArnHasBeenSet() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithOrchestrationConfiguration(OrchestrationConfiguration &&value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithOrchestrationConfiguration(const OrchestrationConfiguration &value)
void SetOrchestrationConfiguration(OrchestrationConfiguration &&value)
const OrchestrationConfiguration & GetOrchestrationConfiguration() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithModelArn(const Aws::String &value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithKnowledgeBaseId(const Aws::String &value)
const Aws::String & GetModelArn() const
void SetKnowledgeBaseId(const char *value)
void SetModelArn(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const KnowledgeBaseRetrievalConfiguration & GetRetrievalConfiguration() const
const Aws::String & GetKnowledgeBaseId() const
bool RetrievalConfigurationHasBeenSet() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithGenerationConfiguration(const GenerationConfiguration &value)
void SetOrchestrationConfiguration(const OrchestrationConfiguration &value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithModelArn(Aws::String &&value)
bool OrchestrationConfigurationHasBeenSet() const
KnowledgeBaseRetrieveAndGenerateConfiguration & WithRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithKnowledgeBaseId(Aws::String &&value)
void SetModelArn(const char *value)
void SetGenerationConfiguration(GenerationConfiguration &&value)
void SetRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithModelArn(const char *value)
void SetRetrievalConfiguration(const KnowledgeBaseRetrievalConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration()
void SetModelArn(const Aws::String &value)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithGenerationConfiguration(GenerationConfiguration &&value)
void SetGenerationConfiguration(const GenerationConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API KnowledgeBaseRetrieveAndGenerateConfiguration(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseRetrieveAndGenerateConfiguration & WithRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration &&value)
bool KnowledgeBaseIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue