AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowInput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowInputContent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API FlowInput() = default;
37 AWS_BEDROCKAGENTRUNTIME_API FlowInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API FlowInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FlowInputContent& GetContent() const { return m_content; }
47 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
48 template<typename ContentT = FlowInputContent>
49 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
50 template<typename ContentT = FlowInputContent>
51 FlowInput& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
53
55
58 inline const Aws::String& GetNodeInputName() const { return m_nodeInputName; }
59 inline bool NodeInputNameHasBeenSet() const { return m_nodeInputNameHasBeenSet; }
60 template<typename NodeInputNameT = Aws::String>
61 void SetNodeInputName(NodeInputNameT&& value) { m_nodeInputNameHasBeenSet = true; m_nodeInputName = std::forward<NodeInputNameT>(value); }
62 template<typename NodeInputNameT = Aws::String>
63 FlowInput& WithNodeInputName(NodeInputNameT&& value) { SetNodeInputName(std::forward<NodeInputNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetNodeName() const { return m_nodeName; }
71 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
72 template<typename NodeNameT = Aws::String>
73 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
74 template<typename NodeNameT = Aws::String>
75 FlowInput& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
77
79
83 inline const Aws::String& GetNodeOutputName() const { return m_nodeOutputName; }
84 inline bool NodeOutputNameHasBeenSet() const { return m_nodeOutputNameHasBeenSet; }
85 template<typename NodeOutputNameT = Aws::String>
86 void SetNodeOutputName(NodeOutputNameT&& value) { m_nodeOutputNameHasBeenSet = true; m_nodeOutputName = std::forward<NodeOutputNameT>(value); }
87 template<typename NodeOutputNameT = Aws::String>
88 FlowInput& WithNodeOutputName(NodeOutputNameT&& value) { SetNodeOutputName(std::forward<NodeOutputNameT>(value)); return *this;}
90 private:
91
92 FlowInputContent m_content;
93 bool m_contentHasBeenSet = false;
94
95 Aws::String m_nodeInputName;
96 bool m_nodeInputNameHasBeenSet = false;
97
98 Aws::String m_nodeName;
99 bool m_nodeNameHasBeenSet = false;
100
101 Aws::String m_nodeOutputName;
102 bool m_nodeOutputNameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace BedrockAgentRuntime
107} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowInput()=default
AWS_BEDROCKAGENTRUNTIME_API FlowInput(Aws::Utils::Json::JsonView jsonValue)
FlowInput & WithNodeName(NodeNameT &&value)
Definition FlowInput.h:75
const Aws::String & GetNodeInputName() const
Definition FlowInput.h:58
const FlowInputContent & GetContent() const
Definition FlowInput.h:46
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowInput & WithNodeInputName(NodeInputNameT &&value)
Definition FlowInput.h:63
void SetNodeName(NodeNameT &&value)
Definition FlowInput.h:73
const Aws::String & GetNodeOutputName() const
Definition FlowInput.h:83
FlowInput & WithNodeOutputName(NodeOutputNameT &&value)
Definition FlowInput.h:88
void SetNodeInputName(NodeInputNameT &&value)
Definition FlowInput.h:61
AWS_BEDROCKAGENTRUNTIME_API FlowInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNodeOutputName(NodeOutputNameT &&value)
Definition FlowInput.h:86
const Aws::String & GetNodeName() const
Definition FlowInput.h:70
FlowInput & WithContent(ContentT &&value)
Definition FlowInput.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue