AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FixedSizeChunkingConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_BEDROCKAGENT_API FixedSizeChunkingConfiguration();
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetMaxTokens() const{ return m_maxTokens; }
45 inline bool MaxTokensHasBeenSet() const { return m_maxTokensHasBeenSet; }
46 inline void SetMaxTokens(int value) { m_maxTokensHasBeenSet = true; m_maxTokens = value; }
47 inline FixedSizeChunkingConfiguration& WithMaxTokens(int value) { SetMaxTokens(value); return *this;}
49
51
54 inline int GetOverlapPercentage() const{ return m_overlapPercentage; }
55 inline bool OverlapPercentageHasBeenSet() const { return m_overlapPercentageHasBeenSet; }
56 inline void SetOverlapPercentage(int value) { m_overlapPercentageHasBeenSet = true; m_overlapPercentage = value; }
59 private:
60
61 int m_maxTokens;
62 bool m_maxTokensHasBeenSet = false;
63
64 int m_overlapPercentage;
65 bool m_overlapPercentageHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace BedrockAgent
70} // namespace Aws
AWS_BEDROCKAGENT_API FixedSizeChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FixedSizeChunkingConfiguration & WithOverlapPercentage(int value)
AWS_BEDROCKAGENT_API FixedSizeChunkingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue