AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowTraceNodeInputEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowTraceNodeInputField.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 FlowTraceNodeInputEvent() = default;
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::Vector<FlowTraceNodeInputField>& GetFields() const { return m_fields; }
46 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
47 template <typename FieldsT = Aws::Vector<FlowTraceNodeInputField>>
48 void SetFields(FieldsT&& value) {
49 m_fieldsHasBeenSet = true;
50 m_fields = std::forward<FieldsT>(value);
51 }
52 template <typename FieldsT = Aws::Vector<FlowTraceNodeInputField>>
54 SetFields(std::forward<FieldsT>(value));
55 return *this;
56 }
57 template <typename FieldsT = FlowTraceNodeInputField>
59 m_fieldsHasBeenSet = true;
60 m_fields.emplace_back(std::forward<FieldsT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetNodeName() const { return m_nodeName; }
70 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
71 template <typename NodeNameT = Aws::String>
72 void SetNodeName(NodeNameT&& value) {
73 m_nodeNameHasBeenSet = true;
74 m_nodeName = std::forward<NodeNameT>(value);
75 }
76 template <typename NodeNameT = Aws::String>
78 SetNodeName(std::forward<NodeNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
88 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
89 template <typename TimestampT = Aws::Utils::DateTime>
90 void SetTimestamp(TimestampT&& value) {
91 m_timestampHasBeenSet = true;
92 m_timestamp = std::forward<TimestampT>(value);
93 }
94 template <typename TimestampT = Aws::Utils::DateTime>
96 SetTimestamp(std::forward<TimestampT>(value));
97 return *this;
98 }
100 private:
102
103 Aws::String m_nodeName;
104
105 Aws::Utils::DateTime m_timestamp{};
106 bool m_fieldsHasBeenSet = false;
107 bool m_nodeNameHasBeenSet = false;
108 bool m_timestampHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace BedrockAgentRuntime
113} // 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::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