7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/HierarchicalChunkingLevelConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockAgent {
48 template <
typename LevelConfigurationsT = Aws::Vector<HierarchicalChunkingLevelConfiguration>>
50 m_levelConfigurationsHasBeenSet =
true;
51 m_levelConfigurations = std::forward<LevelConfigurationsT>(value);
53 template <
typename LevelConfigurationsT = Aws::Vector<HierarchicalChunkingLevelConfiguration>>
58 template <
typename LevelConfigurationsT = HierarchicalChunkingLevelConfiguration>
60 m_levelConfigurationsHasBeenSet =
true;
61 m_levelConfigurations.emplace_back(std::forward<LevelConfigurationsT>(value));
73 m_overlapTokensHasBeenSet =
true;
74 m_overlapTokens = value;
84 int m_overlapTokens{0};
85 bool m_levelConfigurationsHasBeenSet =
false;
86 bool m_overlapTokensHasBeenSet =
false;
bool OverlapTokensHasBeenSet() const
HierarchicalChunkingConfiguration & AddLevelConfigurations(LevelConfigurationsT &&value)
void SetOverlapTokens(int value)
HierarchicalChunkingConfiguration & WithLevelConfigurations(LevelConfigurationsT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool LevelConfigurationsHasBeenSet() const
AWS_BEDROCKAGENT_API HierarchicalChunkingConfiguration()=default
void SetLevelConfigurations(LevelConfigurationsT &&value)
AWS_BEDROCKAGENT_API HierarchicalChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
int GetOverlapTokens() const
AWS_BEDROCKAGENT_API HierarchicalChunkingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchicalChunkingConfiguration & WithOverlapTokens(int value)
const Aws::Vector< HierarchicalChunkingLevelConfiguration > & GetLevelConfigurations() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue