AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29class FlowInput {
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API FlowInput() = default;
32 AWS_BEDROCKAGENTRUNTIME_API FlowInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const FlowInputContent& GetContent() const { return m_content; }
41 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
42 template <typename ContentT = FlowInputContent>
43 void SetContent(ContentT&& value) {
44 m_contentHasBeenSet = true;
45 m_content = std::forward<ContentT>(value);
46 }
47 template <typename ContentT = FlowInputContent>
49 SetContent(std::forward<ContentT>(value));
50 return *this;
51 }
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>
62 m_nodeInputNameHasBeenSet = true;
63 m_nodeInputName = std::forward<NodeInputNameT>(value);
64 }
65 template <typename NodeInputNameT = Aws::String>
67 SetNodeInputName(std::forward<NodeInputNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetNodeName() const { return m_nodeName; }
77 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
78 template <typename NodeNameT = Aws::String>
79 void SetNodeName(NodeNameT&& value) {
80 m_nodeNameHasBeenSet = true;
81 m_nodeName = std::forward<NodeNameT>(value);
82 }
83 template <typename NodeNameT = Aws::String>
85 SetNodeName(std::forward<NodeNameT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetNodeOutputName() const { return m_nodeOutputName; }
96 inline bool NodeOutputNameHasBeenSet() const { return m_nodeOutputNameHasBeenSet; }
97 template <typename NodeOutputNameT = Aws::String>
99 m_nodeOutputNameHasBeenSet = true;
100 m_nodeOutputName = std::forward<NodeOutputNameT>(value);
101 }
102 template <typename NodeOutputNameT = Aws::String>
104 SetNodeOutputName(std::forward<NodeOutputNameT>(value));
105 return *this;
106 }
108 private:
109 FlowInputContent m_content;
110
111 Aws::String m_nodeInputName;
112
113 Aws::String m_nodeName;
114
115 Aws::String m_nodeOutputName;
116 bool m_contentHasBeenSet = false;
117 bool m_nodeInputNameHasBeenSet = false;
118 bool m_nodeNameHasBeenSet = false;
119 bool m_nodeOutputNameHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace BedrockAgentRuntime
124} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowInput()=default
AWS_BEDROCKAGENTRUNTIME_API FlowInput(Aws::Utils::Json::JsonView jsonValue)
FlowInput & WithNodeName(NodeNameT &&value)
Definition FlowInput.h:84
const Aws::String & GetNodeInputName() const
Definition FlowInput.h:58
const FlowInputContent & GetContent() const
Definition FlowInput.h:40
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowInput & WithNodeInputName(NodeInputNameT &&value)
Definition FlowInput.h:66
void SetNodeName(NodeNameT &&value)
Definition FlowInput.h:79
const Aws::String & GetNodeOutputName() const
Definition FlowInput.h:95
FlowInput & WithNodeOutputName(NodeOutputNameT &&value)
Definition FlowInput.h:103
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:98
const Aws::String & GetNodeName() const
Definition FlowInput.h:76
FlowInput & WithContent(ContentT &&value)
Definition FlowInput.h:48
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue