AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowExecutionInputEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent-runtime/model/FlowInputField.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent() = default;
40 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<FlowInputField>& GetFields() const { return m_fields; }
50 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
51 template<typename FieldsT = Aws::Vector<FlowInputField>>
52 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
53 template<typename FieldsT = Aws::Vector<FlowInputField>>
54 FlowExecutionInputEvent& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
55 template<typename FieldsT = FlowInputField>
56 FlowExecutionInputEvent& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
58
60
63 inline const Aws::String& GetNodeName() const { return m_nodeName; }
64 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
65 template<typename NodeNameT = Aws::String>
66 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
67 template<typename NodeNameT = Aws::String>
68 FlowExecutionInputEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
76 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
77 template<typename TimestampT = Aws::Utils::DateTime>
78 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
79 template<typename TimestampT = Aws::Utils::DateTime>
80 FlowExecutionInputEvent& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
82 private:
83
85 bool m_fieldsHasBeenSet = false;
86
87 Aws::String m_nodeName;
88 bool m_nodeNameHasBeenSet = false;
89
90 Aws::Utils::DateTime m_timestamp{};
91 bool m_timestampHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace BedrockAgentRuntime
96} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent()=default
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionInputEvent & WithNodeName(NodeNameT &&value)
FlowExecutionInputEvent & WithTimestamp(TimestampT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowExecutionInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FlowInputField > & GetFields() const
FlowExecutionInputEvent & WithFields(FieldsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue