7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/InferenceConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/CreationMode.h>
12#include <aws/bedrock-agent-runtime/model/PromptState.h>
13#include <aws/bedrock-agent-runtime/model/PromptType.h>
26namespace BedrockAgentRuntime
59 template<
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
60 void SetAdditionalModelRequestFields(AdditionalModelRequestFieldsT&& value) { m_additionalModelRequestFieldsHasBeenSet =
true; m_additionalModelRequestFields = std::forward<AdditionalModelRequestFieldsT>(value); }
61 template<
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
77 template<
typename BasePromptTemplateT = Aws::String>
78 void SetBasePromptTemplate(BasePromptTemplateT&& value) { m_basePromptTemplateHasBeenSet =
true; m_basePromptTemplate = std::forward<BasePromptTemplateT>(value); }
79 template<
typename BasePromptTemplateT = Aws::String>
89 template<
typename FoundationModelT = Aws::String>
90 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
91 template<
typename FoundationModelT = Aws::String>
105 template<
typename InferenceConfigurationT = InferenceConfiguration>
106 void SetInferenceConfiguration(InferenceConfigurationT&& value) { m_inferenceConfigurationHasBeenSet =
true; m_inferenceConfiguration = std::forward<InferenceConfigurationT>(value); }
107 template<
typename InferenceConfigurationT = InferenceConfiguration>
169 bool m_additionalModelRequestFieldsHasBeenSet =
false;
172 bool m_basePromptTemplateHasBeenSet =
false;
175 bool m_foundationModelHasBeenSet =
false;
178 bool m_inferenceConfigurationHasBeenSet =
false;
181 bool m_parserModeHasBeenSet =
false;
184 bool m_promptCreationModeHasBeenSet =
false;
187 bool m_promptStateHasBeenSet =
false;
190 bool m_promptTypeHasBeenSet =
false;
const Aws::String & GetFoundationModel() const
PromptConfiguration & WithParserMode(CreationMode value)
PromptConfiguration & WithFoundationModel(FoundationModelT &&value)
CreationMode GetPromptCreationMode() const
const InferenceConfiguration & GetInferenceConfiguration() const
bool InferenceConfigurationHasBeenSet() const
void SetBasePromptTemplate(BasePromptTemplateT &&value)
CreationMode GetParserMode() const
void SetPromptState(PromptState value)
PromptConfiguration & WithInferenceConfiguration(InferenceConfigurationT &&value)
void SetPromptCreationMode(CreationMode value)
bool PromptStateHasBeenSet() const
bool BasePromptTemplateHasBeenSet() const
PromptType GetPromptType() const
bool AdditionalModelRequestFieldsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API PromptConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFoundationModel(FoundationModelT &&value)
bool FoundationModelHasBeenSet() const
PromptConfiguration & WithPromptState(PromptState value)
bool PromptCreationModeHasBeenSet() const
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
PromptState GetPromptState() const
const Aws::String & GetBasePromptTemplate() const
PromptConfiguration & WithPromptType(PromptType value)
bool ParserModeHasBeenSet() const
PromptConfiguration & WithAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
void SetInferenceConfiguration(InferenceConfigurationT &&value)
PromptConfiguration & WithBasePromptTemplate(BasePromptTemplateT &&value)
AWS_BEDROCKAGENTRUNTIME_API PromptConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPromptType(PromptType value)
void SetParserMode(CreationMode value)
AWS_BEDROCKAGENTRUNTIME_API PromptConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool PromptTypeHasBeenSet() const
void SetAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
PromptConfiguration & WithPromptCreationMode(CreationMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue