7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
16namespace BedrockAgent {
52 m_maxTokensHasBeenSet =
true;
68 m_bufferSizeHasBeenSet =
true;
84 m_breakpointPercentileThresholdHasBeenSet =
true;
85 m_breakpointPercentileThreshold = value;
97 int m_breakpointPercentileThreshold{0};
98 bool m_maxTokensHasBeenSet =
false;
99 bool m_bufferSizeHasBeenSet =
false;
100 bool m_breakpointPercentileThresholdHasBeenSet =
false;
SemanticChunkingConfiguration & WithMaxTokens(int value)
AWS_BEDROCKAGENT_API SemanticChunkingConfiguration()=default
int GetBreakpointPercentileThreshold() const
AWS_BEDROCKAGENT_API SemanticChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool BreakpointPercentileThresholdHasBeenSet() const
void SetBreakpointPercentileThreshold(int value)
AWS_BEDROCKAGENT_API SemanticChunkingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BufferSizeHasBeenSet() const
int GetBufferSize() const
SemanticChunkingConfiguration & WithBreakpointPercentileThreshold(int value)
void SetMaxTokens(int value)
SemanticChunkingConfiguration & WithBufferSize(int value)
void SetBufferSize(int value)
bool MaxTokensHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue