7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetMaxTokens(
int value) { m_maxTokensHasBeenSet =
true; m_maxTokens = value; }
77 inline void SetTemperature(
double value) { m_temperatureHasBeenSet =
true; m_temperature = value; }
86 inline double GetTopP()
const{
return m_topP; }
88 inline void SetTopP(
double value) { m_topPHasBeenSet =
true; m_topP = value; }
94 bool m_maxTokensHasBeenSet =
false;
97 bool m_stopSequencesHasBeenSet =
false;
100 bool m_temperatureHasBeenSet =
false;
103 bool m_topPHasBeenSet =
false;
void SetStopSequences(const Aws::Vector< Aws::String > &value)
void SetTopP(double value)
PromptModelInferenceConfiguration & AddStopSequences(Aws::String &&value)
PromptModelInferenceConfiguration & WithTemperature(double value)
bool TemperatureHasBeenSet() const
bool MaxTokensHasBeenSet() const
double GetTemperature() const
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration()
void SetTemperature(double value)
PromptModelInferenceConfiguration & AddStopSequences(const char *value)
PromptModelInferenceConfiguration & AddStopSequences(const Aws::String &value)
PromptModelInferenceConfiguration & WithTopP(double value)
void SetMaxTokens(int value)
bool StopSequencesHasBeenSet() const
PromptModelInferenceConfiguration & WithStopSequences(Aws::Vector< Aws::String > &&value)
PromptModelInferenceConfiguration & WithStopSequences(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStopSequences() const
void SetStopSequences(Aws::Vector< Aws::String > &&value)
PromptModelInferenceConfiguration & WithMaxTokens(int value)
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TopPHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue