AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
VectorIngestionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ChunkingConfiguration.h>
9#include <aws/bedrock-agent/model/ContextEnrichmentConfiguration.h>
10#include <aws/bedrock-agent/model/CustomTransformationConfiguration.h>
11#include <aws/bedrock-agent/model/ParsingConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
32 public:
33 AWS_BEDROCKAGENT_API VectorIngestionConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const ChunkingConfiguration& GetChunkingConfiguration() const { return m_chunkingConfiguration; }
45 inline bool ChunkingConfigurationHasBeenSet() const { return m_chunkingConfigurationHasBeenSet; }
46 template <typename ChunkingConfigurationT = ChunkingConfiguration>
48 m_chunkingConfigurationHasBeenSet = true;
49 m_chunkingConfiguration = std::forward<ChunkingConfigurationT>(value);
50 }
51 template <typename ChunkingConfigurationT = ChunkingConfiguration>
53 SetChunkingConfiguration(std::forward<ChunkingConfigurationT>(value));
54 return *this;
55 }
57
59
63 return m_customTransformationConfiguration;
64 }
65 inline bool CustomTransformationConfigurationHasBeenSet() const { return m_customTransformationConfigurationHasBeenSet; }
66 template <typename CustomTransformationConfigurationT = CustomTransformationConfiguration>
68 m_customTransformationConfigurationHasBeenSet = true;
69 m_customTransformationConfiguration = std::forward<CustomTransformationConfigurationT>(value);
70 }
71 template <typename CustomTransformationConfigurationT = CustomTransformationConfiguration>
73 SetCustomTransformationConfiguration(std::forward<CustomTransformationConfigurationT>(value));
74 return *this;
75 }
77
79
83 inline const ParsingConfiguration& GetParsingConfiguration() const { return m_parsingConfiguration; }
84 inline bool ParsingConfigurationHasBeenSet() const { return m_parsingConfigurationHasBeenSet; }
85 template <typename ParsingConfigurationT = ParsingConfiguration>
87 m_parsingConfigurationHasBeenSet = true;
88 m_parsingConfiguration = std::forward<ParsingConfigurationT>(value);
89 }
90 template <typename ParsingConfigurationT = ParsingConfiguration>
92 SetParsingConfiguration(std::forward<ParsingConfigurationT>(value));
93 return *this;
94 }
96
98
102 inline const ContextEnrichmentConfiguration& GetContextEnrichmentConfiguration() const { return m_contextEnrichmentConfiguration; }
103 inline bool ContextEnrichmentConfigurationHasBeenSet() const { return m_contextEnrichmentConfigurationHasBeenSet; }
104 template <typename ContextEnrichmentConfigurationT = ContextEnrichmentConfiguration>
106 m_contextEnrichmentConfigurationHasBeenSet = true;
107 m_contextEnrichmentConfiguration = std::forward<ContextEnrichmentConfigurationT>(value);
108 }
109 template <typename ContextEnrichmentConfigurationT = ContextEnrichmentConfiguration>
111 SetContextEnrichmentConfiguration(std::forward<ContextEnrichmentConfigurationT>(value));
112 return *this;
113 }
115 private:
116 ChunkingConfiguration m_chunkingConfiguration;
117
118 CustomTransformationConfiguration m_customTransformationConfiguration;
119
120 ParsingConfiguration m_parsingConfiguration;
121
122 ContextEnrichmentConfiguration m_contextEnrichmentConfiguration;
123 bool m_chunkingConfigurationHasBeenSet = false;
124 bool m_customTransformationConfigurationHasBeenSet = false;
125 bool m_parsingConfigurationHasBeenSet = false;
126 bool m_contextEnrichmentConfigurationHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace BedrockAgent
131} // namespace Aws
AWS_BEDROCKAGENT_API VectorIngestionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContextEnrichmentConfiguration(ContextEnrichmentConfigurationT &&value)
VectorIngestionConfiguration & WithChunkingConfiguration(ChunkingConfigurationT &&value)
VectorIngestionConfiguration & WithCustomTransformationConfiguration(CustomTransformationConfigurationT &&value)
VectorIngestionConfiguration & WithParsingConfiguration(ParsingConfigurationT &&value)
VectorIngestionConfiguration & WithContextEnrichmentConfiguration(ContextEnrichmentConfigurationT &&value)
const CustomTransformationConfiguration & GetCustomTransformationConfiguration() const
const ContextEnrichmentConfiguration & GetContextEnrichmentConfiguration() const
AWS_BEDROCKAGENT_API VectorIngestionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetCustomTransformationConfiguration(CustomTransformationConfigurationT &&value)
AWS_BEDROCKAGENT_API VectorIngestionConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue