AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowDefinition.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/FlowConnection.h>
10#include <aws/bedrock-agent/model/FlowNode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API FlowDefinition();
38 AWS_BEDROCKAGENT_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API FlowDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<FlowConnection>& GetConnections() const{ return m_connections; }
48 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
49 inline void SetConnections(const Aws::Vector<FlowConnection>& value) { m_connectionsHasBeenSet = true; m_connections = value; }
50 inline void SetConnections(Aws::Vector<FlowConnection>&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); }
51 inline FlowDefinition& WithConnections(const Aws::Vector<FlowConnection>& value) { SetConnections(value); return *this;}
52 inline FlowDefinition& WithConnections(Aws::Vector<FlowConnection>&& value) { SetConnections(std::move(value)); return *this;}
53 inline FlowDefinition& AddConnections(const FlowConnection& value) { m_connectionsHasBeenSet = true; m_connections.push_back(value); return *this; }
54 inline FlowDefinition& AddConnections(FlowConnection&& value) { m_connectionsHasBeenSet = true; m_connections.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<FlowNode>& GetNodes() const{ return m_nodes; }
62 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
63 inline void SetNodes(const Aws::Vector<FlowNode>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
64 inline void SetNodes(Aws::Vector<FlowNode>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
65 inline FlowDefinition& WithNodes(const Aws::Vector<FlowNode>& value) { SetNodes(value); return *this;}
66 inline FlowDefinition& WithNodes(Aws::Vector<FlowNode>&& value) { SetNodes(std::move(value)); return *this;}
67 inline FlowDefinition& AddNodes(const FlowNode& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
68 inline FlowDefinition& AddNodes(FlowNode&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::Vector<FlowConnection> m_connections;
73 bool m_connectionsHasBeenSet = false;
74
76 bool m_nodesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
FlowDefinition & WithConnections(const Aws::Vector< FlowConnection > &value)
void SetConnections(const Aws::Vector< FlowConnection > &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< FlowConnection > & GetConnections() const
FlowDefinition & AddNodes(const FlowNode &value)
AWS_BEDROCKAGENT_API FlowDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNodes(const Aws::Vector< FlowNode > &value)
FlowDefinition & WithNodes(const Aws::Vector< FlowNode > &value)
FlowDefinition & AddConnections(FlowConnection &&value)
void SetNodes(Aws::Vector< FlowNode > &&value)
void SetConnections(Aws::Vector< FlowConnection > &&value)
FlowDefinition & AddConnections(const FlowConnection &value)
const Aws::Vector< FlowNode > & GetNodes() const
FlowDefinition & WithNodes(Aws::Vector< FlowNode > &&value)
FlowDefinition & AddNodes(FlowNode &&value)
FlowDefinition & WithConnections(Aws::Vector< FlowConnection > &&value)
AWS_BEDROCKAGENT_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue