7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/CreationMode.h>
9#include <aws/bedrock-agent/model/InferenceConfiguration.h>
10#include <aws/bedrock-agent/model/PromptState.h>
11#include <aws/bedrock-agent/model/PromptType.h>
12#include <aws/core/utils/Document.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace BedrockAgent {
49 m_promptTypeHasBeenSet =
true;
68 m_promptCreationModeHasBeenSet =
true;
69 m_promptCreationMode = value;
91 m_promptStateHasBeenSet =
true;
92 m_promptState = value;
112 template <
typename BasePromptTemplateT = Aws::String>
114 m_basePromptTemplateHasBeenSet =
true;
115 m_basePromptTemplate = std::forward<BasePromptTemplateT>(value);
117 template <
typename BasePromptTemplateT = Aws::String>
134 template <
typename InferenceConfigurationT = InferenceConfiguration>
136 m_inferenceConfigurationHasBeenSet =
true;
137 m_inferenceConfiguration = std::forward<InferenceConfigurationT>(value);
139 template <
typename InferenceConfigurationT = InferenceConfiguration>
158 m_parserModeHasBeenSet =
true;
159 m_parserMode = value;
173 template <
typename FoundationModelT = Aws::String>
175 m_foundationModelHasBeenSet =
true;
176 m_foundationModel = std::forward<FoundationModelT>(value);
178 template <
typename FoundationModelT = Aws::String>
196 template <
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
198 m_additionalModelRequestFieldsHasBeenSet =
true;
199 m_additionalModelRequestFields = std::forward<AdditionalModelRequestFieldsT>(value);
201 template <
typename AdditionalModelRequestFieldsT = Aws::Utils::Document>
216 InferenceConfiguration m_inferenceConfiguration;
223 bool m_promptTypeHasBeenSet =
false;
224 bool m_promptCreationModeHasBeenSet =
false;
225 bool m_promptStateHasBeenSet =
false;
226 bool m_basePromptTemplateHasBeenSet =
false;
227 bool m_inferenceConfigurationHasBeenSet =
false;
228 bool m_parserModeHasBeenSet =
false;
229 bool m_foundationModelHasBeenSet =
false;
230 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue