AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowMultiTurnInputRequestEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowMultiTurnInputContent.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 FlowMultiTurnInputRequestEvent() = default;
38 AWS_BEDROCKAGENTRUNTIME_API FlowMultiTurnInputRequestEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const FlowMultiTurnInputContent& GetContent() const { return m_content; }
49 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
50 template<typename ContentT = FlowMultiTurnInputContent>
51 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
52 template<typename ContentT = FlowMultiTurnInputContent>
53 FlowMultiTurnInputRequestEvent& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
55
57
60 inline const Aws::String& GetNodeName() const { return m_nodeName; }
61 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
62 template<typename NodeNameT = Aws::String>
63 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
64 template<typename NodeNameT = Aws::String>
65 FlowMultiTurnInputRequestEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
67
69
72 inline NodeType GetNodeType() const { return m_nodeType; }
73 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
74 inline void SetNodeType(NodeType value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
75 inline FlowMultiTurnInputRequestEvent& WithNodeType(NodeType value) { SetNodeType(value); return *this;}
77 private:
78
80 bool m_contentHasBeenSet = false;
81
82 Aws::String m_nodeName;
83 bool m_nodeNameHasBeenSet = false;
84
85 NodeType m_nodeType{NodeType::NOT_SET};
86 bool m_nodeTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace BedrockAgentRuntime
91} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowMultiTurnInputRequestEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowMultiTurnInputRequestEvent & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FlowMultiTurnInputRequestEvent()=default
AWS_BEDROCKAGENTRUNTIME_API FlowMultiTurnInputRequestEvent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue