7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailConfiguration.h>
10#include <aws/bedrock-agent-runtime/model/InferenceConfig.h>
11#include <aws/bedrock-agent-runtime/model/PromptTemplate.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/Document.h>
26namespace BedrockAgentRuntime
106 bool m_additionalModelRequestFieldsHasBeenSet =
false;
109 bool m_guardrailConfigurationHasBeenSet =
false;
112 bool m_inferenceConfigHasBeenSet =
false;
115 bool m_promptTemplateHasBeenSet =
false;
bool AdditionalModelRequestFieldsHasBeenSet() const
void SetInferenceConfig(InferenceConfig &&value)
ExternalSourcesGenerationConfiguration & WithAdditionalModelRequestFields(const Aws::Map< Aws::String, Aws::Utils::Document > &value)
void SetAdditionalModelRequestFields(const Aws::Map< Aws::String, Aws::Utils::Document > &value)
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, Aws::Utils::Document &&value)
void SetPromptTemplate(const PromptTemplate &value)
ExternalSourcesGenerationConfiguration & WithInferenceConfig(InferenceConfig &&value)
ExternalSourcesGenerationConfiguration & WithGuardrailConfiguration(const GuardrailConfiguration &value)
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(const char *key, Aws::Utils::Document &&value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetAdditionalModelRequestFields() const
const InferenceConfig & GetInferenceConfig() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(const char *key, const Aws::Utils::Document &value)
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesGenerationConfiguration()
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesGenerationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ExternalSourcesGenerationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, const Aws::Utils::Document &value)
ExternalSourcesGenerationConfiguration & WithInferenceConfig(const InferenceConfig &value)
bool PromptTemplateHasBeenSet() const
bool GuardrailConfigurationHasBeenSet() const
const PromptTemplate & GetPromptTemplate() const
ExternalSourcesGenerationConfiguration & WithPromptTemplate(PromptTemplate &&value)
void SetAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
void SetInferenceConfig(const InferenceConfig &value)
ExternalSourcesGenerationConfiguration & WithGuardrailConfiguration(GuardrailConfiguration &&value)
bool InferenceConfigHasBeenSet() const
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, Aws::Utils::Document &&value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
ExternalSourcesGenerationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, const Aws::Utils::Document &value)
ExternalSourcesGenerationConfiguration & WithPromptTemplate(const PromptTemplate &value)
void SetPromptTemplate(PromptTemplate &&value)
ExternalSourcesGenerationConfiguration & WithAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue