AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent();
40 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API FlowOutputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const FlowOutputContent& GetContent() const{ return m_content; }
50 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
51 inline void SetContent(const FlowOutputContent& value) { m_contentHasBeenSet = true; m_content = value; }
52 inline void SetContent(FlowOutputContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
53 inline FlowOutputEvent& WithContent(const FlowOutputContent& value) { SetContent(value); return *this;}
54 inline FlowOutputEvent& WithContent(FlowOutputContent&& value) { SetContent(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetNodeName() const{ return m_nodeName; }
62 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
63 inline void SetNodeName(const Aws::String& value) { m_nodeNameHasBeenSet = true; m_nodeName = value; }
64 inline void SetNodeName(Aws::String&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::move(value); }
65 inline void SetNodeName(const char* value) { m_nodeNameHasBeenSet = true; m_nodeName.assign(value); }
66 inline FlowOutputEvent& WithNodeName(const Aws::String& value) { SetNodeName(value); return *this;}
67 inline FlowOutputEvent& WithNodeName(Aws::String&& value) { SetNodeName(std::move(value)); return *this;}
68 inline FlowOutputEvent& WithNodeName(const char* value) { SetNodeName(value); return *this;}
70
72
75 inline const NodeType& GetNodeType() const{ return m_nodeType; }
76 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
77 inline void SetNodeType(const NodeType& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
78 inline void SetNodeType(NodeType&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
79 inline FlowOutputEvent& WithNodeType(const NodeType& value) { SetNodeType(value); return *this;}
80 inline FlowOutputEvent& WithNodeType(NodeType&& value) { SetNodeType(std::move(value)); return *this;}
82 private:
83
84 FlowOutputContent m_content;
85 bool m_contentHasBeenSet = false;
86
87 Aws::String m_nodeName;
88 bool m_nodeNameHasBeenSet = false;
89
90 NodeType m_nodeType;
91 bool m_nodeTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace BedrockAgentRuntime
96} // 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