AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowNodeInput.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowNodeInputCategory.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/FlowNodeIODataType.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 BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API FlowNodeInput() = default;
38 AWS_BEDROCKAGENT_API FlowNodeInput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API FlowNodeInput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
55 inline FlowNodeInputCategory GetCategory() const { return m_category; }
56 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
57 inline void SetCategory(FlowNodeInputCategory value) { m_categoryHasBeenSet = true; m_category = value; }
58 inline FlowNodeInput& WithCategory(FlowNodeInputCategory value) { SetCategory(value); return *this;}
60
62
68 inline const Aws::String& GetExpression() const { return m_expression; }
69 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
70 template<typename ExpressionT = Aws::String>
71 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
72 template<typename ExpressionT = Aws::String>
73 FlowNodeInput& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 FlowNodeInput& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
93 inline FlowNodeIODataType GetType() const { return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(FlowNodeIODataType value) { m_typeHasBeenSet = true; m_type = value; }
96 inline FlowNodeInput& WithType(FlowNodeIODataType value) { SetType(value); return *this;}
98 private:
99
101 bool m_categoryHasBeenSet = false;
102
103 Aws::String m_expression;
104 bool m_expressionHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
110 bool m_typeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace BedrockAgent
115} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue