AWS SDK for C++

AWS SDK for C++ Version 1.11.509

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();
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 inline void SetContent(const FlowOutputContent& value) { m_contentHasBeenSet = true; m_content = value; }
50 inline void SetContent(FlowOutputContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
51 inline FlowOutputEvent& WithContent(const FlowOutputContent& value) { SetContent(value); return *this;}
52 inline FlowOutputEvent& WithContent(FlowOutputContent&& value) { SetContent(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetNodeName() const{ return m_nodeName; }
60 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
61 inline void SetNodeName(const Aws::String& value) { m_nodeNameHasBeenSet = true; m_nodeName = value; }
62 inline void SetNodeName(Aws::String&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::move(value); }
63 inline void SetNodeName(const char* value) { m_nodeNameHasBeenSet = true; m_nodeName.assign(value); }
64 inline FlowOutputEvent& WithNodeName(const Aws::String& value) { SetNodeName(value); return *this;}
65 inline FlowOutputEvent& WithNodeName(Aws::String&& value) { SetNodeName(std::move(value)); return *this;}
66 inline FlowOutputEvent& WithNodeName(const char* value) { SetNodeName(value); return *this;}
68
70
73 inline const NodeType& GetNodeType() const{ return m_nodeType; }
74 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
75 inline void SetNodeType(const NodeType& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
76 inline void SetNodeType(NodeType&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
77 inline FlowOutputEvent& WithNodeType(const NodeType& value) { SetNodeType(value); return *this;}
78 inline FlowOutputEvent& WithNodeType(NodeType&& value) { SetNodeType(std::move(value)); return *this;}
80 private:
81
82 FlowOutputContent m_content;
83 bool m_contentHasBeenSet = false;
84
85 Aws::String m_nodeName;
86 bool m_nodeNameHasBeenSet = false;
87
88 NodeType m_nodeType;
89 bool m_nodeTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace BedrockAgentRuntime
94} // namespace Aws
FlowOutputEvent & WithContent(FlowOutputContent &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowOutputEvent & WithNodeType(const NodeType &value)
void SetContent(const FlowOutputContent &value)
FlowOutputEvent & WithNodeName(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent()
FlowOutputEvent & WithNodeName(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowOutputEvent & WithNodeType(NodeType &&value)
FlowOutputEvent & WithNodeName(const char *value)
const FlowOutputContent & GetContent() const
FlowOutputEvent & WithContent(const FlowOutputContent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue