AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChunkingConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ChunkingStrategy.h>
9#include <aws/qconnect/model/FixedSizeChunkingConfiguration.h>
10#include <aws/qconnect/model/HierarchicalChunkingConfiguration.h>
11#include <aws/qconnect/model/SemanticChunkingConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QConnect
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_QCONNECT_API ChunkingConfiguration();
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const ChunkingStrategy& GetChunkingStrategy() const{ return m_chunkingStrategy; }
54 inline bool ChunkingStrategyHasBeenSet() const { return m_chunkingStrategyHasBeenSet; }
55 inline void SetChunkingStrategy(const ChunkingStrategy& value) { m_chunkingStrategyHasBeenSet = true; m_chunkingStrategy = value; }
56 inline void SetChunkingStrategy(ChunkingStrategy&& value) { m_chunkingStrategyHasBeenSet = true; m_chunkingStrategy = std::move(value); }
58 inline ChunkingConfiguration& WithChunkingStrategy(ChunkingStrategy&& value) { SetChunkingStrategy(std::move(value)); return *this;}
60
62
66 inline const FixedSizeChunkingConfiguration& GetFixedSizeChunkingConfiguration() const{ return m_fixedSizeChunkingConfiguration; }
67 inline bool FixedSizeChunkingConfigurationHasBeenSet() const { return m_fixedSizeChunkingConfigurationHasBeenSet; }
68 inline void SetFixedSizeChunkingConfiguration(const FixedSizeChunkingConfiguration& value) { m_fixedSizeChunkingConfigurationHasBeenSet = true; m_fixedSizeChunkingConfiguration = value; }
69 inline void SetFixedSizeChunkingConfiguration(FixedSizeChunkingConfiguration&& value) { m_fixedSizeChunkingConfigurationHasBeenSet = true; m_fixedSizeChunkingConfiguration = std::move(value); }
73
75
81 inline const HierarchicalChunkingConfiguration& GetHierarchicalChunkingConfiguration() const{ return m_hierarchicalChunkingConfiguration; }
82 inline bool HierarchicalChunkingConfigurationHasBeenSet() const { return m_hierarchicalChunkingConfigurationHasBeenSet; }
83 inline void SetHierarchicalChunkingConfiguration(const HierarchicalChunkingConfiguration& value) { m_hierarchicalChunkingConfigurationHasBeenSet = true; m_hierarchicalChunkingConfiguration = value; }
84 inline void SetHierarchicalChunkingConfiguration(HierarchicalChunkingConfiguration&& value) { m_hierarchicalChunkingConfigurationHasBeenSet = true; m_hierarchicalChunkingConfiguration = std::move(value); }
88
90
95 inline const SemanticChunkingConfiguration& GetSemanticChunkingConfiguration() const{ return m_semanticChunkingConfiguration; }
96 inline bool SemanticChunkingConfigurationHasBeenSet() const { return m_semanticChunkingConfigurationHasBeenSet; }
97 inline void SetSemanticChunkingConfiguration(const SemanticChunkingConfiguration& value) { m_semanticChunkingConfigurationHasBeenSet = true; m_semanticChunkingConfiguration = value; }
98 inline void SetSemanticChunkingConfiguration(SemanticChunkingConfiguration&& value) { m_semanticChunkingConfigurationHasBeenSet = true; m_semanticChunkingConfiguration = std::move(value); }
102 private:
103
104 ChunkingStrategy m_chunkingStrategy;
105 bool m_chunkingStrategyHasBeenSet = false;
106
107 FixedSizeChunkingConfiguration m_fixedSizeChunkingConfiguration;
108 bool m_fixedSizeChunkingConfigurationHasBeenSet = false;
109
110 HierarchicalChunkingConfiguration m_hierarchicalChunkingConfiguration;
111 bool m_hierarchicalChunkingConfigurationHasBeenSet = false;
112
113 SemanticChunkingConfiguration m_semanticChunkingConfiguration;
114 bool m_semanticChunkingConfigurationHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QConnect
119} // namespace Aws
ChunkingConfiguration & WithHierarchicalChunkingConfiguration(HierarchicalChunkingConfiguration &&value)
void SetChunkingStrategy(ChunkingStrategy &&value)
const ChunkingStrategy & GetChunkingStrategy() const
ChunkingConfiguration & WithSemanticChunkingConfiguration(const SemanticChunkingConfiguration &value)
const FixedSizeChunkingConfiguration & GetFixedSizeChunkingConfiguration() const
void SetFixedSizeChunkingConfiguration(FixedSizeChunkingConfiguration &&value)
void SetHierarchicalChunkingConfiguration(HierarchicalChunkingConfiguration &&value)
void SetFixedSizeChunkingConfiguration(const FixedSizeChunkingConfiguration &value)
AWS_QCONNECT_API ChunkingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ChunkingConfiguration & WithSemanticChunkingConfiguration(SemanticChunkingConfiguration &&value)
void SetHierarchicalChunkingConfiguration(const HierarchicalChunkingConfiguration &value)
const HierarchicalChunkingConfiguration & GetHierarchicalChunkingConfiguration() const
AWS_QCONNECT_API ChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const SemanticChunkingConfiguration & GetSemanticChunkingConfiguration() const
ChunkingConfiguration & WithChunkingStrategy(const ChunkingStrategy &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ChunkingConfiguration & WithFixedSizeChunkingConfiguration(FixedSizeChunkingConfiguration &&value)
void SetChunkingStrategy(const ChunkingStrategy &value)
ChunkingConfiguration & WithHierarchicalChunkingConfiguration(const HierarchicalChunkingConfiguration &value)
ChunkingConfiguration & WithFixedSizeChunkingConfiguration(const FixedSizeChunkingConfiguration &value)
ChunkingConfiguration & WithChunkingStrategy(ChunkingStrategy &&value)
void SetSemanticChunkingConfiguration(SemanticChunkingConfiguration &&value)
void SetSemanticChunkingConfiguration(const SemanticChunkingConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue