AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowTraceNodeInputEvent.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/FlowTraceNodeInputField.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
39 {
40 public:
41 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent() = default;
42 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::Vector<FlowTraceNodeInputField>& GetFields() const { return m_fields; }
52 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
53 template<typename FieldsT = Aws::Vector<FlowTraceNodeInputField>>
54 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
55 template<typename FieldsT = Aws::Vector<FlowTraceNodeInputField>>
56 FlowTraceNodeInputEvent& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
57 template<typename FieldsT = FlowTraceNodeInputField>
58 FlowTraceNodeInputEvent& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
60
62
65 inline const Aws::String& GetNodeName() const { return m_nodeName; }
66 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
67 template<typename NodeNameT = Aws::String>
68 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
69 template<typename NodeNameT = Aws::String>
70 FlowTraceNodeInputEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
78 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
79 template<typename TimestampT = Aws::Utils::DateTime>
80 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
81 template<typename TimestampT = Aws::Utils::DateTime>
82 FlowTraceNodeInputEvent& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
84 private:
85
87 bool m_fieldsHasBeenSet = false;
88
89 Aws::String m_nodeName;
90 bool m_nodeNameHasBeenSet = false;
91
92 Aws::Utils::DateTime m_timestamp{};
93 bool m_timestampHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace BedrockAgentRuntime
98} // namespace Aws
FlowTraceNodeInputEvent & WithTimestamp(TimestampT &&value)
FlowTraceNodeInputEvent & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent()=default
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeInputEvent(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeInputEvent & WithFields(FieldsT &&value)
const Aws::Vector< FlowTraceNodeInputField > & GetFields() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue