AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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