AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
HierarchicalChunkingLevelConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgent {
17namespace Model {
18
26 public:
27 AWS_BEDROCKAGENT_API HierarchicalChunkingLevelConfiguration() = default;
30 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetMaxTokens() const { return m_maxTokens; }
37 inline bool MaxTokensHasBeenSet() const { return m_maxTokensHasBeenSet; }
38 inline void SetMaxTokens(int value) {
39 m_maxTokensHasBeenSet = true;
40 m_maxTokens = value;
41 }
43 SetMaxTokens(value);
44 return *this;
45 }
47 private:
48 int m_maxTokens{0};
49 bool m_maxTokensHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace BedrockAgent
54} // namespace Aws
AWS_BEDROCKAGENT_API HierarchicalChunkingLevelConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API HierarchicalChunkingLevelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue