AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 BedrockAgent
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENT_API VectorIngestionConfiguration() = default;
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const ChunkingConfiguration& GetChunkingConfiguration() const { return m_chunkingConfiguration; }
51 inline bool ChunkingConfigurationHasBeenSet() const { return m_chunkingConfigurationHasBeenSet; }
52 template<typename ChunkingConfigurationT = ChunkingConfiguration>
53 void SetChunkingConfiguration(ChunkingConfigurationT&& value) { m_chunkingConfigurationHasBeenSet = true; m_chunkingConfiguration = std::forward<ChunkingConfigurationT>(value); }
54 template<typename ChunkingConfigurationT = ChunkingConfiguration>
55 VectorIngestionConfiguration& WithChunkingConfiguration(ChunkingConfigurationT&& value) { SetChunkingConfiguration(std::forward<ChunkingConfigurationT>(value)); return *this;}
57
59
63 inline const ContextEnrichmentConfiguration& GetContextEnrichmentConfiguration() const { return m_contextEnrichmentConfiguration; }
64 inline bool ContextEnrichmentConfigurationHasBeenSet() const { return m_contextEnrichmentConfigurationHasBeenSet; }
65 template<typename ContextEnrichmentConfigurationT = ContextEnrichmentConfiguration>
66 void SetContextEnrichmentConfiguration(ContextEnrichmentConfigurationT&& value) { m_contextEnrichmentConfigurationHasBeenSet = true; m_contextEnrichmentConfiguration = std::forward<ContextEnrichmentConfigurationT>(value); }
67 template<typename ContextEnrichmentConfigurationT = ContextEnrichmentConfiguration>
68 VectorIngestionConfiguration& WithContextEnrichmentConfiguration(ContextEnrichmentConfigurationT&& value) { SetContextEnrichmentConfiguration(std::forward<ContextEnrichmentConfigurationT>(value)); return *this;}
70
72
75 inline const CustomTransformationConfiguration& GetCustomTransformationConfiguration() const { return m_customTransformationConfiguration; }
76 inline bool CustomTransformationConfigurationHasBeenSet() const { return m_customTransformationConfigurationHasBeenSet; }
77 template<typename CustomTransformationConfigurationT = CustomTransformationConfiguration>
78 void SetCustomTransformationConfiguration(CustomTransformationConfigurationT&& value) { m_customTransformationConfigurationHasBeenSet = true; m_customTransformationConfiguration = std::forward<CustomTransformationConfigurationT>(value); }
79 template<typename CustomTransformationConfigurationT = CustomTransformationConfiguration>
80 VectorIngestionConfiguration& WithCustomTransformationConfiguration(CustomTransformationConfigurationT&& value) { SetCustomTransformationConfiguration(std::forward<CustomTransformationConfigurationT>(value)); return *this;}
82
84
88 inline const ParsingConfiguration& GetParsingConfiguration() const { return m_parsingConfiguration; }
89 inline bool ParsingConfigurationHasBeenSet() const { return m_parsingConfigurationHasBeenSet; }
90 template<typename ParsingConfigurationT = ParsingConfiguration>
91 void SetParsingConfiguration(ParsingConfigurationT&& value) { m_parsingConfigurationHasBeenSet = true; m_parsingConfiguration = std::forward<ParsingConfigurationT>(value); }
92 template<typename ParsingConfigurationT = ParsingConfiguration>
93 VectorIngestionConfiguration& WithParsingConfiguration(ParsingConfigurationT&& value) { SetParsingConfiguration(std::forward<ParsingConfigurationT>(value)); return *this;}
95 private:
96
97 ChunkingConfiguration m_chunkingConfiguration;
98 bool m_chunkingConfigurationHasBeenSet = false;
99
100 ContextEnrichmentConfiguration m_contextEnrichmentConfiguration;
101 bool m_contextEnrichmentConfigurationHasBeenSet = false;
102
103 CustomTransformationConfiguration m_customTransformationConfiguration;
104 bool m_customTransformationConfigurationHasBeenSet = false;
105
106 ParsingConfiguration m_parsingConfiguration;
107 bool m_parsingConfigurationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace BedrockAgent
112} // 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
Aws::Utils::Json::JsonValue JsonValue