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
109 bool m_additionalModelRequestFieldsHasBeenSet =
false;
112 bool m_guardrailConfigurationHasBeenSet =
false;
115 bool m_inferenceConfigHasBeenSet =
false;
118 bool m_promptTemplateHasBeenSet =
false;
void SetInferenceConfig(InferenceConfig &&value)
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration()
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
void SetAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
GenerationConfiguration & WithInferenceConfig(const InferenceConfig &value)
const InferenceConfig & GetInferenceConfig() const
bool GuardrailConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GenerationConfiguration & WithGuardrailConfiguration(GuardrailConfiguration &&value)
GenerationConfiguration & WithGuardrailConfiguration(const GuardrailConfiguration &value)
void SetPromptTemplate(PromptTemplate &&value)
void SetPromptTemplate(const PromptTemplate &value)
GenerationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, Aws::Utils::Document &&value)
const PromptTemplate & GetPromptTemplate() const
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerationConfiguration & WithAdditionalModelRequestFields(const Aws::Map< Aws::String, Aws::Utils::Document > &value)
void SetInferenceConfig(const InferenceConfig &value)
GenerationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, const Aws::Utils::Document &value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetAdditionalModelRequestFields() const
GenerationConfiguration & AddAdditionalModelRequestFields(Aws::String &&key, Aws::Utils::Document &&value)
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration(Aws::Utils::Json::JsonView jsonValue)
GenerationConfiguration & WithAdditionalModelRequestFields(Aws::Map< Aws::String, Aws::Utils::Document > &&value)
bool AdditionalModelRequestFieldsHasBeenSet() const
GenerationConfiguration & AddAdditionalModelRequestFields(const char *key, Aws::Utils::Document &&value)
GenerationConfiguration & WithPromptTemplate(PromptTemplate &&value)
const GuardrailConfiguration & GetGuardrailConfiguration() const
GenerationConfiguration & AddAdditionalModelRequestFields(const Aws::String &key, const Aws::Utils::Document &value)
GenerationConfiguration & AddAdditionalModelRequestFields(const char *key, const Aws::Utils::Document &value)
GenerationConfiguration & WithPromptTemplate(const PromptTemplate &value)
GenerationConfiguration & WithInferenceConfig(InferenceConfig &&value)
bool PromptTemplateHasBeenSet() const
bool InferenceConfigHasBeenSet() const
void SetAdditionalModelRequestFields(const 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