AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
NodeOutputField.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/NodeExecutionContent.h>
10#include <aws/bedrock-agent-runtime/model/NodeOutputNext.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
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API NodeOutputField() = default;
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const NodeExecutionContent& GetContent() const { return m_content; }
46 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
47 template <typename ContentT = NodeExecutionContent>
48 void SetContent(ContentT&& value) {
49 m_contentHasBeenSet = true;
50 m_content = std::forward<ContentT>(value);
51 }
52 template <typename ContentT = NodeExecutionContent>
54 SetContent(std::forward<ContentT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template <typename NameT = Aws::String>
66 void SetName(NameT&& value) {
67 m_nameHasBeenSet = true;
68 m_name = std::forward<NameT>(value);
69 }
70 template <typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::Vector<NodeOutputNext>& GetNext() const { return m_next; }
82 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
83 template <typename NextT = Aws::Vector<NodeOutputNext>>
84 void SetNext(NextT&& value) {
85 m_nextHasBeenSet = true;
86 m_next = std::forward<NextT>(value);
87 }
88 template <typename NextT = Aws::Vector<NodeOutputNext>>
90 SetNext(std::forward<NextT>(value));
91 return *this;
92 }
93 template <typename NextT = NodeOutputNext>
95 m_nextHasBeenSet = true;
96 m_next.emplace_back(std::forward<NextT>(value));
97 return *this;
98 }
100
102
105 inline FlowNodeIODataType GetType() const { return m_type; }
106 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
107 inline void SetType(FlowNodeIODataType value) {
108 m_typeHasBeenSet = true;
109 m_type = value;
110 }
112 SetType(value);
113 return *this;
114 }
116 private:
117 NodeExecutionContent m_content;
118
119 Aws::String m_name;
120
122
124 bool m_contentHasBeenSet = false;
125 bool m_nameHasBeenSet = false;
126 bool m_nextHasBeenSet = false;
127 bool m_typeHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace BedrockAgentRuntime
132} // namespace Aws
const Aws::Vector< NodeOutputNext > & GetNext() const
NodeOutputField & WithContent(ContentT &&value)
NodeOutputField & WithNext(NextT &&value)
NodeOutputField & WithType(FlowNodeIODataType value)
AWS_BEDROCKAGENTRUNTIME_API NodeOutputField & operator=(Aws::Utils::Json::JsonView jsonValue)
const NodeExecutionContent & GetContent() const
AWS_BEDROCKAGENTRUNTIME_API NodeOutputField(Aws::Utils::Json::JsonView jsonValue)
NodeOutputField & WithName(NameT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeOutputField()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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