AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowTraceNodeOutputEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowTraceNodeOutputField.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime {
23namespace Model {
24
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeOutputEvent() = default;
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const Aws::Vector<FlowTraceNodeOutputField>& GetFields() const { return m_fields; }
47 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
48 template <typename FieldsT = Aws::Vector<FlowTraceNodeOutputField>>
49 void SetFields(FieldsT&& value) {
50 m_fieldsHasBeenSet = true;
51 m_fields = std::forward<FieldsT>(value);
52 }
53 template <typename FieldsT = Aws::Vector<FlowTraceNodeOutputField>>
55 SetFields(std::forward<FieldsT>(value));
56 return *this;
57 }
58 template <typename FieldsT = FlowTraceNodeOutputField>
60 m_fieldsHasBeenSet = true;
61 m_fields.emplace_back(std::forward<FieldsT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetNodeName() const { return m_nodeName; }
71 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
72 template <typename NodeNameT = Aws::String>
73 void SetNodeName(NodeNameT&& value) {
74 m_nodeNameHasBeenSet = true;
75 m_nodeName = std::forward<NodeNameT>(value);
76 }
77 template <typename NodeNameT = Aws::String>
79 SetNodeName(std::forward<NodeNameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
89 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
90 template <typename TimestampT = Aws::Utils::DateTime>
91 void SetTimestamp(TimestampT&& value) {
92 m_timestampHasBeenSet = true;
93 m_timestamp = std::forward<TimestampT>(value);
94 }
95 template <typename TimestampT = Aws::Utils::DateTime>
97 SetTimestamp(std::forward<TimestampT>(value));
98 return *this;
99 }
101 private:
103
104 Aws::String m_nodeName;
105
106 Aws::Utils::DateTime m_timestamp{};
107 bool m_fieldsHasBeenSet = false;
108 bool m_nodeNameHasBeenSet = false;
109 bool m_timestampHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace BedrockAgentRuntime
114} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue