AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowNode.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowNodeConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent/model/FlowNodeType.h>
12#include <aws/bedrock-agent/model/FlowNodeInput.h>
13#include <aws/bedrock-agent/model/FlowNodeOutput.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_BEDROCKAGENT_API FlowNode();
41 AWS_BEDROCKAGENT_API FlowNode(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API FlowNode& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const FlowNodeConfiguration& GetConfiguration() const{ return m_configuration; }
51 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
52 inline void SetConfiguration(const FlowNodeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
53 inline void SetConfiguration(FlowNodeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
54 inline FlowNode& WithConfiguration(const FlowNodeConfiguration& value) { SetConfiguration(value); return *this;}
55 inline FlowNode& WithConfiguration(FlowNodeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
57
59
63 inline const Aws::Vector<FlowNodeInput>& GetInputs() const{ return m_inputs; }
64 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
65 inline void SetInputs(const Aws::Vector<FlowNodeInput>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
66 inline void SetInputs(Aws::Vector<FlowNodeInput>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
67 inline FlowNode& WithInputs(const Aws::Vector<FlowNodeInput>& value) { SetInputs(value); return *this;}
68 inline FlowNode& WithInputs(Aws::Vector<FlowNodeInput>&& value) { SetInputs(std::move(value)); return *this;}
69 inline FlowNode& AddInputs(const FlowNodeInput& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70 inline FlowNode& AddInputs(FlowNodeInput&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline FlowNode& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline FlowNode& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline FlowNode& WithName(const char* value) { SetName(value); return *this;}
86
88
92 inline const Aws::Vector<FlowNodeOutput>& GetOutputs() const{ return m_outputs; }
93 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
94 inline void SetOutputs(const Aws::Vector<FlowNodeOutput>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
95 inline void SetOutputs(Aws::Vector<FlowNodeOutput>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
96 inline FlowNode& WithOutputs(const Aws::Vector<FlowNodeOutput>& value) { SetOutputs(value); return *this;}
97 inline FlowNode& WithOutputs(Aws::Vector<FlowNodeOutput>&& value) { SetOutputs(std::move(value)); return *this;}
98 inline FlowNode& AddOutputs(const FlowNodeOutput& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
99 inline FlowNode& AddOutputs(FlowNodeOutput&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
101
103
108 inline const FlowNodeType& GetType() const{ return m_type; }
109 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
110 inline void SetType(const FlowNodeType& value) { m_typeHasBeenSet = true; m_type = value; }
111 inline void SetType(FlowNodeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
112 inline FlowNode& WithType(const FlowNodeType& value) { SetType(value); return *this;}
113 inline FlowNode& WithType(FlowNodeType&& value) { SetType(std::move(value)); return *this;}
115 private:
116
117 FlowNodeConfiguration m_configuration;
118 bool m_configurationHasBeenSet = false;
119
121 bool m_inputsHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
127 bool m_outputsHasBeenSet = false;
128
129 FlowNodeType m_type;
130 bool m_typeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace BedrockAgent
135} // namespace Aws
void SetName(const char *value)
Definition FlowNode.h:81
FlowNode & WithName(Aws::String &&value)
Definition FlowNode.h:83
FlowNode & WithOutputs(const Aws::Vector< FlowNodeOutput > &value)
Definition FlowNode.h:96
const FlowNodeConfiguration & GetConfiguration() const
Definition FlowNode.h:50
const Aws::String & GetName() const
Definition FlowNode.h:77
FlowNode & WithOutputs(Aws::Vector< FlowNodeOutput > &&value)
Definition FlowNode.h:97
FlowNode & WithInputs(Aws::Vector< FlowNodeInput > &&value)
Definition FlowNode.h:68
void SetInputs(const Aws::Vector< FlowNodeInput > &value)
Definition FlowNode.h:65
void SetOutputs(Aws::Vector< FlowNodeOutput > &&value)
Definition FlowNode.h:95
FlowNode & WithName(const Aws::String &value)
Definition FlowNode.h:82
void SetType(FlowNodeType &&value)
Definition FlowNode.h:111
const FlowNodeType & GetType() const
Definition FlowNode.h:108
FlowNode & AddOutputs(FlowNodeOutput &&value)
Definition FlowNode.h:99
FlowNode & WithConfiguration(FlowNodeConfiguration &&value)
Definition FlowNode.h:55
FlowNode & AddInputs(const FlowNodeInput &value)
Definition FlowNode.h:69
FlowNode & WithName(const char *value)
Definition FlowNode.h:84
FlowNode & WithConfiguration(const FlowNodeConfiguration &value)
Definition FlowNode.h:54
void SetType(const FlowNodeType &value)
Definition FlowNode.h:110
AWS_BEDROCKAGENT_API FlowNode & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(Aws::Vector< FlowNodeInput > &&value)
Definition FlowNode.h:66
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowNode & AddOutputs(const FlowNodeOutput &value)
Definition FlowNode.h:98
const Aws::Vector< FlowNodeInput > & GetInputs() const
Definition FlowNode.h:63
const Aws::Vector< FlowNodeOutput > & GetOutputs() const
Definition FlowNode.h:92
FlowNode & AddInputs(FlowNodeInput &&value)
Definition FlowNode.h:70
void SetName(const Aws::String &value)
Definition FlowNode.h:79
void SetName(Aws::String &&value)
Definition FlowNode.h:80
void SetOutputs(const Aws::Vector< FlowNodeOutput > &value)
Definition FlowNode.h:94
void SetConfiguration(const FlowNodeConfiguration &value)
Definition FlowNode.h:52
FlowNode & WithType(const FlowNodeType &value)
Definition FlowNode.h:112
AWS_BEDROCKAGENT_API FlowNode()
void SetConfiguration(FlowNodeConfiguration &&value)
Definition FlowNode.h:53
FlowNode & WithInputs(const Aws::Vector< FlowNodeInput > &value)
Definition FlowNode.h:67
FlowNode & WithType(FlowNodeType &&value)
Definition FlowNode.h:113
AWS_BEDROCKAGENT_API FlowNode(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue