7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/PromptType.h>
9#include <aws/bedrock-agent/model/CreationMode.h>
10#include <aws/bedrock-agent/model/PromptState.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-agent/model/InferenceConfiguration.h>
13#include <aws/core/utils/Document.h>
100 template<
typename BasePromptTemplateT = Aws::String>
101 void SetBasePromptTemplate(BasePromptTemplateT&& value) { m_basePromptTemplateHasBeenSet =
true; m_basePromptTemplate = std::forward<BasePromptTemplateT>(value); }
102 template<
typename BasePromptTemplateT = Aws::String>
116 template<
typename InferenceConfigurationT = InferenceConfiguration>
117 void SetInferenceConfiguration(InferenceConfigurationT&& value) { m_inferenceConfigurationHasBeenSet =
true; m_inferenceConfiguration = std::forward<InferenceConfigurationT>(value); }
118 template<
typename InferenceConfigurationT = InferenceConfiguration>
143 template<
typename FoundationModelT = Aws::String>
144 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet =
true; m_foundationModel = std::forward<FoundationModelT>(value); }
145 template<
typename FoundationModelT = Aws::String>
160 template<
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
161 void SetAdditionalModelRequestFields(AdditionalModelRequestFieldsT&& value) { m_additionalModelRequestFieldsHasBeenSet =
true; m_additionalModelRequestFields = std::forward<AdditionalModelRequestFieldsT>(value); }
162 template<
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
168 bool m_promptTypeHasBeenSet =
false;
171 bool m_promptCreationModeHasBeenSet =
false;
174 bool m_promptStateHasBeenSet =
false;
177 bool m_basePromptTemplateHasBeenSet =
false;
179 InferenceConfiguration m_inferenceConfiguration;
180 bool m_inferenceConfigurationHasBeenSet =
false;
183 bool m_parserModeHasBeenSet =
false;
186 bool m_foundationModelHasBeenSet =
false;
189 bool m_additionalModelRequestFieldsHasBeenSet =
false;
void SetFoundationModel(FoundationModelT &&value)
PromptConfiguration & WithInferenceConfiguration(InferenceConfigurationT &&value)
PromptConfiguration & WithAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
const Aws::String & GetFoundationModel() const
bool AdditionalModelRequestFieldsHasBeenSet() const
void SetParserMode(CreationMode value)
void SetPromptType(PromptType value)
AWS_BEDROCKAGENT_API PromptConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PromptTypeHasBeenSet() const
void SetInferenceConfiguration(InferenceConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBasePromptTemplate(BasePromptTemplateT &&value)
PromptConfiguration & WithBasePromptTemplate(BasePromptTemplateT &&value)
void SetPromptState(PromptState value)
PromptConfiguration & WithPromptCreationMode(CreationMode value)
const InferenceConfiguration & GetInferenceConfiguration() const
Aws::Utils::DocumentView GetAdditionalModelRequestFields() const
PromptConfiguration & WithPromptType(PromptType value)
bool FoundationModelHasBeenSet() const
PromptConfiguration & WithPromptState(PromptState value)
const Aws::String & GetBasePromptTemplate() const
AWS_BEDROCKAGENT_API PromptConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPromptCreationMode(CreationMode value)
bool BasePromptTemplateHasBeenSet() const
AWS_BEDROCKAGENT_API PromptConfiguration()=default
bool InferenceConfigurationHasBeenSet() const
PromptConfiguration & WithFoundationModel(FoundationModelT &&value)
void SetAdditionalModelRequestFields(AdditionalModelRequestFieldsT &&value)
CreationMode GetPromptCreationMode() const
PromptType GetPromptType() const
CreationMode GetParserMode() const
PromptConfiguration & WithParserMode(CreationMode value)
bool ParserModeHasBeenSet() const
bool PromptStateHasBeenSet() const
PromptState GetPromptState() const
bool PromptCreationModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue