7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/FlowNodeType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/FlowNodeInput.h>
12#include <aws/bedrock-agent/model/FlowNodeOutput.h>
13#include <aws/core/utils/memory/stl/AWSAllocator.h>
30 class FlowNodeConfiguration;
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
76 return *m_configuration;
79 template<
typename ConfigurationT = FlowNodeConfiguration>
81 m_configurationHasBeenSet =
true;
82 m_configuration = Aws::MakeShared<FlowNodeConfiguration>(
"FlowNode", std::forward<ConfigurationT>(value));
84 template<
typename ConfigurationT = FlowNodeConfiguration>
95 template<
typename InputsT = Aws::Vector<FlowNodeInput>>
96 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
97 template<
typename InputsT = Aws::Vector<FlowNodeInput>>
99 template<
typename InputsT = FlowNodeInput>
100 FlowNode&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
110 template<
typename OutputsT = Aws::Vector<FlowNodeOutput>>
111 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
112 template<
typename OutputsT = Aws::Vector<FlowNodeOutput>>
114 template<
typename OutputsT = FlowNodeOutput>
115 FlowNode&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
120 bool m_nameHasBeenSet =
false;
123 bool m_typeHasBeenSet =
false;
125 std::shared_ptr<FlowNodeConfiguration> m_configuration;
126 bool m_configurationHasBeenSet =
false;
129 bool m_inputsHasBeenSet =
false;
132 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue