7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowNodeInput.h>
9#include <aws/bedrock-agent/model/FlowNodeOutput.h>
10#include <aws/bedrock-agent/model/FlowNodeType.h>
11#include <aws/core/utils/memory/stl/AWSAllocator.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace BedrockAgent {
26class FlowNodeConfiguration;
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
68 m_typeHasBeenSet =
true;
83 template <
typename ConfigurationT = FlowNodeConfiguration>
85 m_configurationHasBeenSet =
true;
88 template <
typename ConfigurationT = FlowNodeConfiguration>
102 template <
typename InputsT = Aws::Vector<FlowNodeInput>>
104 m_inputsHasBeenSet =
true;
105 m_inputs = std::forward<InputsT>(value);
107 template <
typename InputsT = Aws::Vector<FlowNodeInput>>
112 template <
typename InputsT = FlowNodeInput>
114 m_inputsHasBeenSet =
true;
115 m_inputs.emplace_back(std::forward<InputsT>(value));
127 template <
typename OutputsT = Aws::Vector<FlowNodeOutput>>
129 m_outputsHasBeenSet =
true;
130 m_outputs = std::forward<OutputsT>(value);
132 template <
typename OutputsT = Aws::Vector<FlowNodeOutput>>
137 template <
typename OutputsT = FlowNodeOutput>
139 m_outputsHasBeenSet =
true;
140 m_outputs.emplace_back(std::forward<OutputsT>(value));
149 std::shared_ptr<FlowNodeConfiguration> m_configuration;
154 bool m_nameHasBeenSet =
false;
155 bool m_typeHasBeenSet =
false;
156 bool m_configurationHasBeenSet =
false;
157 bool m_inputsHasBeenSet =
false;
158 bool m_outputsHasBeenSet =
false;
const FlowNodeConfiguration & GetConfiguration() const
const Aws::String & GetName() const
void SetInputs(InputsT &&value)
void SetConfiguration(ConfigurationT &&value)
FlowNode & AddInputs(InputsT &&value)
FlowNode & WithOutputs(OutputsT &&value)
FlowNodeType GetType() const
void SetOutputs(OutputsT &&value)
bool ConfigurationHasBeenSet() const
bool NameHasBeenSet() const
void SetType(FlowNodeType value)
bool TypeHasBeenSet() const
AWS_BEDROCKAGENT_API FlowNode & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowNode & WithName(NameT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API FlowNode()=default
const Aws::Vector< FlowNodeInput > & GetInputs() const
bool InputsHasBeenSet() const
const Aws::Vector< FlowNodeOutput > & GetOutputs() const
FlowNode & WithInputs(InputsT &&value)
FlowNode & AddOutputs(OutputsT &&value)
FlowNode & WithType(FlowNodeType value)
bool OutputsHasBeenSet() const
void SetName(NameT &&value)
AWS_BEDROCKAGENT_API FlowNode(Aws::Utils::Json::JsonView jsonValue)
FlowNode & WithConfiguration(ConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue