7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/FlowNodeType.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;
52 return *m_configuration;
55 template<
typename ConfigurationT = FlowNodeConfiguration>
57 m_configurationHasBeenSet =
true;
58 m_configuration = Aws::MakeShared<FlowNodeConfiguration>(
"FlowNode", std::forward<ConfigurationT>(value));
60 template<
typename ConfigurationT = FlowNodeConfiguration>
71 template<
typename InputsT = Aws::Vector<FlowNodeInput>>
72 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
73 template<
typename InputsT = Aws::Vector<FlowNodeInput>>
75 template<
typename InputsT = FlowNodeInput>
76 FlowNode&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
98 template<
typename OutputsT = Aws::Vector<FlowNodeOutput>>
99 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
100 template<
typename OutputsT = Aws::Vector<FlowNodeOutput>>
102 template<
typename OutputsT = FlowNodeOutput>
103 FlowNode&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
119 std::shared_ptr<FlowNodeConfiguration> m_configuration;
120 bool m_configurationHasBeenSet =
false;
123 bool m_inputsHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_outputsHasBeenSet =
false;
132 bool m_typeHasBeenSet =
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