7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowConnection.h>
9#include <aws/bedrock-agent/model/FlowNode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgent {
44 template <
typename NodesT = Aws::Vector<FlowNode>>
46 m_nodesHasBeenSet =
true;
47 m_nodes = std::forward<NodesT>(value);
49 template <
typename NodesT = Aws::Vector<FlowNode>>
51 SetNodes(std::forward<NodesT>(value));
54 template <
typename NodesT = FlowNode>
56 m_nodesHasBeenSet =
true;
57 m_nodes.emplace_back(std::forward<NodesT>(value));
68 template <
typename ConnectionsT = Aws::Vector<FlowConnection>>
70 m_connectionsHasBeenSet =
true;
71 m_connections = std::forward<ConnectionsT>(value);
73 template <
typename ConnectionsT = Aws::Vector<FlowConnection>>
78 template <
typename ConnectionsT = FlowConnection>
80 m_connectionsHasBeenSet =
true;
81 m_connections.emplace_back(std::forward<ConnectionsT>(value));
89 bool m_nodesHasBeenSet =
false;
90 bool m_connectionsHasBeenSet =
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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue