AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowTraceNodeOutputField.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/FlowTraceNodeOutputContent.h>
10#include <aws/bedrock-agent-runtime/model/FlowTraceNodeOutputNext.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime {
24namespace Model {
25
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputField() = default;
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const FlowTraceNodeOutputContent& GetContent() const { return m_content; }
47 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
48 template <typename ContentT = FlowTraceNodeOutputContent>
49 void SetContent(ContentT&& value) {
50 m_contentHasBeenSet = true;
51 m_content = std::forward<ContentT>(value);
52 }
53 template <typename ContentT = FlowTraceNodeOutputContent>
55 SetContent(std::forward<ContentT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<FlowTraceNodeOutputNext>& GetNext() const { return m_next; }
65 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
66 template <typename NextT = Aws::Vector<FlowTraceNodeOutputNext>>
67 void SetNext(NextT&& value) {
68 m_nextHasBeenSet = true;
69 m_next = std::forward<NextT>(value);
70 }
71 template <typename NextT = Aws::Vector<FlowTraceNodeOutputNext>>
73 SetNext(std::forward<NextT>(value));
74 return *this;
75 }
76 template <typename NextT = FlowTraceNodeOutputNext>
78 m_nextHasBeenSet = true;
79 m_next.emplace_back(std::forward<NextT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetNodeOutputName() const { return m_nodeOutputName; }
89 inline bool NodeOutputNameHasBeenSet() const { return m_nodeOutputNameHasBeenSet; }
90 template <typename NodeOutputNameT = Aws::String>
92 m_nodeOutputNameHasBeenSet = true;
93 m_nodeOutputName = std::forward<NodeOutputNameT>(value);
94 }
95 template <typename NodeOutputNameT = Aws::String>
97 SetNodeOutputName(std::forward<NodeOutputNameT>(value));
98 return *this;
99 }
101
103
106 inline FlowNodeIODataType GetType() const { return m_type; }
107 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
108 inline void SetType(FlowNodeIODataType value) {
109 m_typeHasBeenSet = true;
110 m_type = value;
111 }
113 SetType(value);
114 return *this;
115 }
117 private:
119
121
122 Aws::String m_nodeOutputName;
123
125 bool m_contentHasBeenSet = false;
126 bool m_nextHasBeenSet = false;
127 bool m_nodeOutputNameHasBeenSet = false;
128 bool m_typeHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace BedrockAgentRuntime
133} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputField & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeOutputField & WithType(FlowNodeIODataType value)
const Aws::Vector< FlowTraceNodeOutputNext > & GetNext() const
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputField()=default
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputField(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowTraceNodeOutputField & WithNodeOutputName(NodeOutputNameT &&value)
FlowTraceNodeOutputField & WithContent(ContentT &&value)
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