7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/FlowNode.h>
10#include <aws/bedrock-agent/model/FlowConnection.h>
50 template<
typename ConnectionsT = Aws::Vector<FlowConnection>>
51 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
52 template<
typename ConnectionsT = Aws::Vector<FlowConnection>>
54 template<
typename ConnectionsT = FlowConnection>
55 FlowDefinition&
AddConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections.emplace_back(std::forward<ConnectionsT>(value));
return *
this; }
64 template<
typename NodesT = Aws::Vector<FlowNode>>
65 void SetNodes(NodesT&& value) { m_nodesHasBeenSet =
true; m_nodes = std::forward<NodesT>(value); }
66 template<
typename NodesT = Aws::Vector<FlowNode>>
68 template<
typename NodesT = FlowNode>
69 FlowDefinition&
AddNodes(NodesT&& value) { m_nodesHasBeenSet =
true; m_nodes.emplace_back(std::forward<NodesT>(value));
return *
this; }
74 bool m_connectionsHasBeenSet =
false;
77 bool m_nodesHasBeenSet =
false;
bool ConnectionsHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< FlowConnection > & GetConnections() const
FlowDefinition & WithNodes(NodesT &&value)
AWS_BEDROCKAGENT_API FlowDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowDefinition & AddConnections(ConnectionsT &&value)
const Aws::Vector< FlowNode > & GetNodes() const
FlowDefinition & WithConnections(ConnectionsT &&value)
AWS_BEDROCKAGENT_API FlowDefinition()=default
void SetConnections(ConnectionsT &&value)
bool NodesHasBeenSet() const
void SetNodes(NodesT &&value)
AWS_BEDROCKAGENT_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue)
FlowDefinition & AddNodes(NodesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue