AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/NodeType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent() = default;
38 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const FlowOutputContent& GetContent() const { return m_content; }
48 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
49 template<typename ContentT = FlowOutputContent>
50 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
51 template<typename ContentT = FlowOutputContent>
52 FlowOutputEvent& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
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) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
63 template<typename NodeNameT = Aws::String>
64 FlowOutputEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
66
68
71 inline NodeType GetNodeType() const { return m_nodeType; }
72 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
73 inline void SetNodeType(NodeType value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
74 inline FlowOutputEvent& WithNodeType(NodeType value) { SetNodeType(value); return *this;}
76 private:
77
78 FlowOutputContent m_content;
79 bool m_contentHasBeenSet = false;
80
81 Aws::String m_nodeName;
82 bool m_nodeNameHasBeenSet = false;
83
84 NodeType m_nodeType{NodeType::NOT_SET};
85 bool m_nodeTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace BedrockAgentRuntime
90} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue