AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlowTraceNodeOutputEvent.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/FlowTraceNodeOutputField.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 FlowTraceNodeOutputEvent() = default;
42 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Vector<FlowTraceNodeOutputField>& GetFields() const { return m_fields; }
53 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
54 template<typename FieldsT = Aws::Vector<FlowTraceNodeOutputField>>
55 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
56 template<typename FieldsT = Aws::Vector<FlowTraceNodeOutputField>>
57 FlowTraceNodeOutputEvent& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
58 template<typename FieldsT = FlowTraceNodeOutputField>
59 FlowTraceNodeOutputEvent& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
61
63
66 inline const Aws::String& GetNodeName() const { return m_nodeName; }
67 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
68 template<typename NodeNameT = Aws::String>
69 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
70 template<typename NodeNameT = Aws::String>
71 FlowTraceNodeOutputEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
79 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
80 template<typename TimestampT = Aws::Utils::DateTime>
81 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
82 template<typename TimestampT = Aws::Utils::DateTime>
83 FlowTraceNodeOutputEvent& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
85 private:
86
88 bool m_fieldsHasBeenSet = false;
89
90 Aws::String m_nodeName;
91 bool m_nodeNameHasBeenSet = false;
92
93 Aws::Utils::DateTime m_timestamp{};
94 bool m_timestampHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace BedrockAgentRuntime
99} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowTraceNodeOutputEvent & WithTimestamp(TimestampT &&value)
const Aws::Vector< FlowTraceNodeOutputField > & GetFields() const
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeOutputEvent & WithNodeName(NodeNameT &&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