AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowOutputEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowOutputContent.h>
9#include <aws/bedrock-agent-runtime/model/NodeType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const FlowOutputContent& GetContent() const { return m_content; }
42 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
43 template <typename ContentT = FlowOutputContent>
44 void SetContent(ContentT&& value) {
45 m_contentHasBeenSet = true;
46 m_content = std::forward<ContentT>(value);
47 }
48 template <typename ContentT = FlowOutputContent>
50 SetContent(std::forward<ContentT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNodeName() const { return m_nodeName; }
60 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
61 template <typename NodeNameT = Aws::String>
62 void SetNodeName(NodeNameT&& value) {
63 m_nodeNameHasBeenSet = true;
64 m_nodeName = std::forward<NodeNameT>(value);
65 }
66 template <typename NodeNameT = Aws::String>
68 SetNodeName(std::forward<NodeNameT>(value));
69 return *this;
70 }
72
74
77 inline NodeType GetNodeType() const { return m_nodeType; }
78 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
79 inline void SetNodeType(NodeType value) {
80 m_nodeTypeHasBeenSet = true;
81 m_nodeType = value;
82 }
84 SetNodeType(value);
85 return *this;
86 }
88 private:
89 FlowOutputContent m_content;
90
91 Aws::String m_nodeName;
92
93 NodeType m_nodeType{NodeType::NOT_SET};
94 bool m_contentHasBeenSet = false;
95 bool m_nodeNameHasBeenSet = false;
96 bool m_nodeTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace BedrockAgentRuntime
101} // namespace Aws
FlowOutputEvent & WithNodeType(NodeType value)
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowOutputEvent & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowOutputEvent & WithContent(ContentT &&value)
const FlowOutputContent & GetContent() const
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent()=default
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