7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockRuntime
63 inline void SetMaxTokens(
int value) { m_maxTokensHasBeenSet =
true; m_maxTokens = value; }
79 inline void SetTemperature(
double value) { m_temperatureHasBeenSet =
true; m_temperature = value; }
93 inline double GetTopP()
const{
return m_topP; }
95 inline void SetTopP(
double value) { m_topPHasBeenSet =
true; m_topP = value; }
117 bool m_maxTokensHasBeenSet =
false;
119 double m_temperature;
120 bool m_temperatureHasBeenSet =
false;
123 bool m_topPHasBeenSet =
false;
126 bool m_stopSequencesHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API InferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
InferenceConfiguration & AddStopSequences(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStopSequences() const
bool TopPHasBeenSet() const
InferenceConfiguration & WithTopP(double value)
AWS_BEDROCKRUNTIME_API InferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTopP(double value)
InferenceConfiguration & AddStopSequences(const char *value)
double GetTemperature() const
AWS_BEDROCKRUNTIME_API InferenceConfiguration()
bool TemperatureHasBeenSet() const
void SetTemperature(double value)
InferenceConfiguration & WithStopSequences(Aws::Vector< Aws::String > &&value)
InferenceConfiguration & WithStopSequences(const Aws::Vector< Aws::String > &value)
bool StopSequencesHasBeenSet() const
void SetStopSequences(Aws::Vector< Aws::String > &&value)
InferenceConfiguration & WithTemperature(double value)
InferenceConfiguration & WithMaxTokens(int value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStopSequences(const Aws::Vector< Aws::String > &value)
void SetMaxTokens(int value)
InferenceConfiguration & AddStopSequences(const Aws::String &value)
bool MaxTokensHasBeenSet() 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