AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentFlowNodeConfiguration.h>
9#include <aws/bedrock-agent/model/CollectorFlowNodeConfiguration.h>
10#include <aws/bedrock-agent/model/ConditionFlowNodeConfiguration.h>
11#include <aws/bedrock-agent/model/InputFlowNodeConfiguration.h>
12#include <aws/bedrock-agent/model/IteratorFlowNodeConfiguration.h>
13#include <aws/bedrock-agent/model/KnowledgeBaseFlowNodeConfiguration.h>
14#include <aws/bedrock-agent/model/LambdaFunctionFlowNodeConfiguration.h>
15#include <aws/bedrock-agent/model/LexFlowNodeConfiguration.h>
16#include <aws/bedrock-agent/model/OutputFlowNodeConfiguration.h>
17#include <aws/bedrock-agent/model/PromptFlowNodeConfiguration.h>
18#include <aws/bedrock-agent/model/RetrievalFlowNodeConfiguration.h>
19#include <aws/bedrock-agent/model/StorageFlowNodeConfiguration.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace BedrockAgent
33{
34namespace Model
35{
36
46 {
47 public:
48 AWS_BEDROCKAGENT_API FlowNodeConfiguration();
49 AWS_BEDROCKAGENT_API FlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
51 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
59 inline const AgentFlowNodeConfiguration& GetAgent() const{ return m_agent; }
60 inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; }
61 inline void SetAgent(const AgentFlowNodeConfiguration& value) { m_agentHasBeenSet = true; m_agent = value; }
62 inline void SetAgent(AgentFlowNodeConfiguration&& value) { m_agentHasBeenSet = true; m_agent = std::move(value); }
63 inline FlowNodeConfiguration& WithAgent(const AgentFlowNodeConfiguration& value) { SetAgent(value); return *this;}
64 inline FlowNodeConfiguration& WithAgent(AgentFlowNodeConfiguration&& value) { SetAgent(std::move(value)); return *this;}
66
68
72 inline const CollectorFlowNodeConfiguration& GetCollector() const{ return m_collector; }
73 inline bool CollectorHasBeenSet() const { return m_collectorHasBeenSet; }
74 inline void SetCollector(const CollectorFlowNodeConfiguration& value) { m_collectorHasBeenSet = true; m_collector = value; }
75 inline void SetCollector(CollectorFlowNodeConfiguration&& value) { m_collectorHasBeenSet = true; m_collector = std::move(value); }
77 inline FlowNodeConfiguration& WithCollector(CollectorFlowNodeConfiguration&& value) { SetCollector(std::move(value)); return *this;}
79
81
85 inline const ConditionFlowNodeConfiguration& GetCondition() const{ return m_condition; }
86 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
87 inline void SetCondition(const ConditionFlowNodeConfiguration& value) { m_conditionHasBeenSet = true; m_condition = value; }
88 inline void SetCondition(ConditionFlowNodeConfiguration&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
90 inline FlowNodeConfiguration& WithCondition(ConditionFlowNodeConfiguration&& value) { SetCondition(std::move(value)); return *this;}
92
94
98 inline const InputFlowNodeConfiguration& GetInput() const{ return m_input; }
99 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
100 inline void SetInput(const InputFlowNodeConfiguration& value) { m_inputHasBeenSet = true; m_input = value; }
101 inline void SetInput(InputFlowNodeConfiguration&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
102 inline FlowNodeConfiguration& WithInput(const InputFlowNodeConfiguration& value) { SetInput(value); return *this;}
103 inline FlowNodeConfiguration& WithInput(InputFlowNodeConfiguration&& value) { SetInput(std::move(value)); return *this;}
105
107
115 inline const IteratorFlowNodeConfiguration& GetIterator() const{ return m_iterator; }
116 inline bool IteratorHasBeenSet() const { return m_iteratorHasBeenSet; }
117 inline void SetIterator(const IteratorFlowNodeConfiguration& value) { m_iteratorHasBeenSet = true; m_iterator = value; }
118 inline void SetIterator(IteratorFlowNodeConfiguration&& value) { m_iteratorHasBeenSet = true; m_iterator = std::move(value); }
120 inline FlowNodeConfiguration& WithIterator(IteratorFlowNodeConfiguration&& value) { SetIterator(std::move(value)); return *this;}
122
124
128 inline const KnowledgeBaseFlowNodeConfiguration& GetKnowledgeBase() const{ return m_knowledgeBase; }
129 inline bool KnowledgeBaseHasBeenSet() const { return m_knowledgeBaseHasBeenSet; }
130 inline void SetKnowledgeBase(const KnowledgeBaseFlowNodeConfiguration& value) { m_knowledgeBaseHasBeenSet = true; m_knowledgeBase = value; }
131 inline void SetKnowledgeBase(KnowledgeBaseFlowNodeConfiguration&& value) { m_knowledgeBaseHasBeenSet = true; m_knowledgeBase = std::move(value); }
135
137
141 inline const LambdaFunctionFlowNodeConfiguration& GetLambdaFunction() const{ return m_lambdaFunction; }
142 inline bool LambdaFunctionHasBeenSet() const { return m_lambdaFunctionHasBeenSet; }
143 inline void SetLambdaFunction(const LambdaFunctionFlowNodeConfiguration& value) { m_lambdaFunctionHasBeenSet = true; m_lambdaFunction = value; }
144 inline void SetLambdaFunction(LambdaFunctionFlowNodeConfiguration&& value) { m_lambdaFunctionHasBeenSet = true; m_lambdaFunction = std::move(value); }
148
150
154 inline const LexFlowNodeConfiguration& GetLex() const{ return m_lex; }
155 inline bool LexHasBeenSet() const { return m_lexHasBeenSet; }
156 inline void SetLex(const LexFlowNodeConfiguration& value) { m_lexHasBeenSet = true; m_lex = value; }
157 inline void SetLex(LexFlowNodeConfiguration&& value) { m_lexHasBeenSet = true; m_lex = std::move(value); }
158 inline FlowNodeConfiguration& WithLex(const LexFlowNodeConfiguration& value) { SetLex(value); return *this;}
159 inline FlowNodeConfiguration& WithLex(LexFlowNodeConfiguration&& value) { SetLex(std::move(value)); return *this;}
161
163
167 inline const OutputFlowNodeConfiguration& GetOutput() const{ return m_output; }
168 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
169 inline void SetOutput(const OutputFlowNodeConfiguration& value) { m_outputHasBeenSet = true; m_output = value; }
170 inline void SetOutput(OutputFlowNodeConfiguration&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
171 inline FlowNodeConfiguration& WithOutput(const OutputFlowNodeConfiguration& value) { SetOutput(value); return *this;}
172 inline FlowNodeConfiguration& WithOutput(OutputFlowNodeConfiguration&& value) { SetOutput(std::move(value)); return *this;}
174
176
181 inline const PromptFlowNodeConfiguration& GetPrompt() const{ return m_prompt; }
182 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
183 inline void SetPrompt(const PromptFlowNodeConfiguration& value) { m_promptHasBeenSet = true; m_prompt = value; }
184 inline void SetPrompt(PromptFlowNodeConfiguration&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
185 inline FlowNodeConfiguration& WithPrompt(const PromptFlowNodeConfiguration& value) { SetPrompt(value); return *this;}
186 inline FlowNodeConfiguration& WithPrompt(PromptFlowNodeConfiguration&& value) { SetPrompt(std::move(value)); return *this;}
188
190
194 inline const RetrievalFlowNodeConfiguration& GetRetrieval() const{ return m_retrieval; }
195 inline bool RetrievalHasBeenSet() const { return m_retrievalHasBeenSet; }
196 inline void SetRetrieval(const RetrievalFlowNodeConfiguration& value) { m_retrievalHasBeenSet = true; m_retrieval = value; }
197 inline void SetRetrieval(RetrievalFlowNodeConfiguration&& value) { m_retrievalHasBeenSet = true; m_retrieval = std::move(value); }
199 inline FlowNodeConfiguration& WithRetrieval(RetrievalFlowNodeConfiguration&& value) { SetRetrieval(std::move(value)); return *this;}
201
203
207 inline const StorageFlowNodeConfiguration& GetStorage() const{ return m_storage; }
208 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
209 inline void SetStorage(const StorageFlowNodeConfiguration& value) { m_storageHasBeenSet = true; m_storage = value; }
210 inline void SetStorage(StorageFlowNodeConfiguration&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
211 inline FlowNodeConfiguration& WithStorage(const StorageFlowNodeConfiguration& value) { SetStorage(value); return *this;}
212 inline FlowNodeConfiguration& WithStorage(StorageFlowNodeConfiguration&& value) { SetStorage(std::move(value)); return *this;}
214 private:
215
217 bool m_agentHasBeenSet = false;
218
220 bool m_collectorHasBeenSet = false;
221
223 bool m_conditionHasBeenSet = false;
224
226 bool m_inputHasBeenSet = false;
227
229 bool m_iteratorHasBeenSet = false;
230
232 bool m_knowledgeBaseHasBeenSet = false;
233
235 bool m_lambdaFunctionHasBeenSet = false;
236
238 bool m_lexHasBeenSet = false;
239
241 bool m_outputHasBeenSet = false;
242
244 bool m_promptHasBeenSet = false;
245
247 bool m_retrievalHasBeenSet = false;
248
250 bool m_storageHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace BedrockAgent
255} // namespace Aws
const OutputFlowNodeConfiguration & GetOutput() const
const RetrievalFlowNodeConfiguration & GetRetrieval() const
void SetCollector(CollectorFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithInput(InputFlowNodeConfiguration &&value)
void SetRetrieval(RetrievalFlowNodeConfiguration &&value)
void SetOutput(OutputFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithRetrieval(RetrievalFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithLex(LexFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithRetrieval(const RetrievalFlowNodeConfiguration &value)
FlowNodeConfiguration & WithLambdaFunction(const LambdaFunctionFlowNodeConfiguration &value)
FlowNodeConfiguration & WithKnowledgeBase(const KnowledgeBaseFlowNodeConfiguration &value)
FlowNodeConfiguration & WithCollector(const CollectorFlowNodeConfiguration &value)
const ConditionFlowNodeConfiguration & GetCondition() const
void SetInput(const InputFlowNodeConfiguration &value)
void SetOutput(const OutputFlowNodeConfiguration &value)
void SetKnowledgeBase(KnowledgeBaseFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithLex(const LexFlowNodeConfiguration &value)
void SetKnowledgeBase(const KnowledgeBaseFlowNodeConfiguration &value)
FlowNodeConfiguration & WithInput(const InputFlowNodeConfiguration &value)
FlowNodeConfiguration & WithLambdaFunction(LambdaFunctionFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithOutput(const OutputFlowNodeConfiguration &value)
FlowNodeConfiguration & WithCondition(ConditionFlowNodeConfiguration &&value)
const KnowledgeBaseFlowNodeConfiguration & GetKnowledgeBase() const
const CollectorFlowNodeConfiguration & GetCollector() const
void SetIterator(const IteratorFlowNodeConfiguration &value)
void SetInput(InputFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithPrompt(PromptFlowNodeConfiguration &&value)
void SetIterator(IteratorFlowNodeConfiguration &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowNodeConfiguration & WithOutput(OutputFlowNodeConfiguration &&value)
void SetPrompt(PromptFlowNodeConfiguration &&value)
void SetLex(LexFlowNodeConfiguration &&value)
void SetAgent(AgentFlowNodeConfiguration &&value)
void SetStorage(const StorageFlowNodeConfiguration &value)
const AgentFlowNodeConfiguration & GetAgent() const
void SetRetrieval(const RetrievalFlowNodeConfiguration &value)
FlowNodeConfiguration & WithStorage(const StorageFlowNodeConfiguration &value)
const PromptFlowNodeConfiguration & GetPrompt() const
FlowNodeConfiguration & WithStorage(StorageFlowNodeConfiguration &&value)
void SetCondition(ConditionFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithAgent(const AgentFlowNodeConfiguration &value)
FlowNodeConfiguration & WithCollector(CollectorFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithIterator(IteratorFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithCondition(const ConditionFlowNodeConfiguration &value)
const LexFlowNodeConfiguration & GetLex() const
void SetLambdaFunction(const LambdaFunctionFlowNodeConfiguration &value)
void SetCollector(const CollectorFlowNodeConfiguration &value)
const LambdaFunctionFlowNodeConfiguration & GetLambdaFunction() const
void SetStorage(StorageFlowNodeConfiguration &&value)
void SetPrompt(const PromptFlowNodeConfiguration &value)
const InputFlowNodeConfiguration & GetInput() const
void SetLambdaFunction(LambdaFunctionFlowNodeConfiguration &&value)
void SetLex(const LexFlowNodeConfiguration &value)
void SetAgent(const AgentFlowNodeConfiguration &value)
const StorageFlowNodeConfiguration & GetStorage() const
FlowNodeConfiguration & WithPrompt(const PromptFlowNodeConfiguration &value)
AWS_BEDROCKAGENT_API FlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
FlowNodeConfiguration & WithAgent(AgentFlowNodeConfiguration &&value)
FlowNodeConfiguration & WithKnowledgeBase(KnowledgeBaseFlowNodeConfiguration &&value)
AWS_BEDROCKAGENT_API FlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCondition(const ConditionFlowNodeConfiguration &value)
FlowNodeConfiguration & WithIterator(const IteratorFlowNodeConfiguration &value)
const IteratorFlowNodeConfiguration & GetIterator() const
Aws::Utils::Json::JsonValue JsonValue