AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FlowNodeInput.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowNodeIODataType.h>
9#include <aws/bedrock-agent/model/FlowNodeInputCategory.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENT_API FlowNodeInput() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline FlowNodeIODataType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(FlowNodeIODataType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71
73
79 inline const Aws::String& GetExpression() const { return m_expression; }
80 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
81 template <typename ExpressionT = Aws::String>
82 void SetExpression(ExpressionT&& value) {
83 m_expressionHasBeenSet = true;
84 m_expression = std::forward<ExpressionT>(value);
85 }
86 template <typename ExpressionT = Aws::String>
88 SetExpression(std::forward<ExpressionT>(value));
89 return *this;
90 }
92
94
105 inline FlowNodeInputCategory GetCategory() const { return m_category; }
106 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
108 m_categoryHasBeenSet = true;
109 m_category = value;
110 }
112 SetCategory(value);
113 return *this;
114 }
116 private:
117 Aws::String m_name;
118
120
121 Aws::String m_expression;
122
124 bool m_nameHasBeenSet = false;
125 bool m_typeHasBeenSet = false;
126 bool m_expressionHasBeenSet = false;
127 bool m_categoryHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace BedrockAgent
132} // namespace Aws
FlowNodeInput & WithName(NameT &&value)
AWS_BEDROCKAGENT_API FlowNodeInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(ExpressionT &&value)
void SetCategory(FlowNodeInputCategory value)
FlowNodeInput & WithCategory(FlowNodeInputCategory value)
const Aws::String & GetExpression() const
AWS_BEDROCKAGENT_API FlowNodeInput()=default
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowNodeInputCategory GetCategory() const
FlowNodeInput & WithExpression(ExpressionT &&value)
FlowNodeInput & WithType(FlowNodeIODataType value)
FlowNodeIODataType GetType() const
void SetType(FlowNodeIODataType value)
AWS_BEDROCKAGENT_API FlowNodeInput(Aws::Utils::Json::JsonView jsonValue)
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