AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
NodeInputExecutionChainItem.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowControlNodeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API NodeInputExecutionChainItem() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetIndex() const { return m_index; }
41 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
42 inline void SetIndex(int value) {
43 m_indexHasBeenSet = true;
44 m_index = value;
45 }
47 SetIndex(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetNodeName() const { return m_nodeName; }
57 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
58 template <typename NodeNameT = Aws::String>
59 void SetNodeName(NodeNameT&& value) {
60 m_nodeNameHasBeenSet = true;
61 m_nodeName = std::forward<NodeNameT>(value);
62 }
63 template <typename NodeNameT = Aws::String>
65 SetNodeName(std::forward<NodeNameT>(value));
66 return *this;
67 }
69
71
74 inline FlowControlNodeType GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(FlowControlNodeType value) {
77 m_typeHasBeenSet = true;
78 m_type = value;
79 }
81 SetType(value);
82 return *this;
83 }
85 private:
86 int m_index{0};
87
88 Aws::String m_nodeName;
89
91 bool m_indexHasBeenSet = false;
92 bool m_nodeNameHasBeenSet = false;
93 bool m_typeHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace BedrockAgentRuntime
98} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API NodeInputExecutionChainItem(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API NodeInputExecutionChainItem()=default
NodeInputExecutionChainItem & WithType(FlowControlNodeType value)
AWS_BEDROCKAGENTRUNTIME_API NodeInputExecutionChainItem & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeInputExecutionChainItem & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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