AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowTraceNodeInputField.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowNodeIODataType.h>
9#include <aws/bedrock-agent-runtime/model/FlowNodeInputCategory.h>
10#include <aws/bedrock-agent-runtime/model/FlowTraceNodeInputContent.h>
11#include <aws/bedrock-agent-runtime/model/FlowTraceNodeInputExecutionChainItem.h>
12#include <aws/bedrock-agent-runtime/model/FlowTraceNodeInputSource.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgentRuntime {
26namespace Model {
27
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputField() = default;
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline FlowNodeInputCategory GetCategory() const { return m_category; }
49 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
51 m_categoryHasBeenSet = true;
52 m_category = value;
53 }
55 SetCategory(value);
56 return *this;
57 }
59
61
64 inline const FlowTraceNodeInputContent& GetContent() const { return m_content; }
65 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
66 template <typename ContentT = FlowTraceNodeInputContent>
67 void SetContent(ContentT&& value) {
68 m_contentHasBeenSet = true;
69 m_content = std::forward<ContentT>(value);
70 }
71 template <typename ContentT = FlowTraceNodeInputContent>
73 SetContent(std::forward<ContentT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Vector<FlowTraceNodeInputExecutionChainItem>& GetExecutionChain() const { return m_executionChain; }
83 inline bool ExecutionChainHasBeenSet() const { return m_executionChainHasBeenSet; }
84 template <typename ExecutionChainT = Aws::Vector<FlowTraceNodeInputExecutionChainItem>>
86 m_executionChainHasBeenSet = true;
87 m_executionChain = std::forward<ExecutionChainT>(value);
88 }
89 template <typename ExecutionChainT = Aws::Vector<FlowTraceNodeInputExecutionChainItem>>
91 SetExecutionChain(std::forward<ExecutionChainT>(value));
92 return *this;
93 }
94 template <typename ExecutionChainT = FlowTraceNodeInputExecutionChainItem>
96 m_executionChainHasBeenSet = true;
97 m_executionChain.emplace_back(std::forward<ExecutionChainT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetNodeInputName() const { return m_nodeInputName; }
107 inline bool NodeInputNameHasBeenSet() const { return m_nodeInputNameHasBeenSet; }
108 template <typename NodeInputNameT = Aws::String>
110 m_nodeInputNameHasBeenSet = true;
111 m_nodeInputName = std::forward<NodeInputNameT>(value);
112 }
113 template <typename NodeInputNameT = Aws::String>
115 SetNodeInputName(std::forward<NodeInputNameT>(value));
116 return *this;
117 }
119
121
124 inline const FlowTraceNodeInputSource& GetSource() const { return m_source; }
125 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
126 template <typename SourceT = FlowTraceNodeInputSource>
127 void SetSource(SourceT&& value) {
128 m_sourceHasBeenSet = true;
129 m_source = std::forward<SourceT>(value);
130 }
131 template <typename SourceT = FlowTraceNodeInputSource>
133 SetSource(std::forward<SourceT>(value));
134 return *this;
135 }
137
139
142 inline FlowNodeIODataType GetType() const { return m_type; }
143 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
144 inline void SetType(FlowNodeIODataType value) {
145 m_typeHasBeenSet = true;
146 m_type = value;
147 }
149 SetType(value);
150 return *this;
151 }
153 private:
155
156 FlowTraceNodeInputContent m_content;
157
159
160 Aws::String m_nodeInputName;
161
162 FlowTraceNodeInputSource m_source;
163
165 bool m_categoryHasBeenSet = false;
166 bool m_contentHasBeenSet = false;
167 bool m_executionChainHasBeenSet = false;
168 bool m_nodeInputNameHasBeenSet = false;
169 bool m_sourceHasBeenSet = false;
170 bool m_typeHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace BedrockAgentRuntime
175} // namespace Aws
const Aws::Vector< FlowTraceNodeInputExecutionChainItem > & GetExecutionChain() const
FlowTraceNodeInputField & AddExecutionChain(ExecutionChainT &&value)
FlowTraceNodeInputField & WithCategory(FlowNodeInputCategory value)
FlowTraceNodeInputField & WithNodeInputName(NodeInputNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputField()=default
FlowTraceNodeInputField & WithType(FlowNodeIODataType value)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputField(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeInputField & WithExecutionChain(ExecutionChainT &&value)
FlowTraceNodeInputField & WithContent(ContentT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue