AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
NodeDependencyEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/NodeTraceElements.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API NodeDependencyEvent() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetNodeName() const { return m_nodeName; }
42 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
43 template <typename NodeNameT = Aws::String>
44 void SetNodeName(NodeNameT&& value) {
45 m_nodeNameHasBeenSet = true;
46 m_nodeName = std::forward<NodeNameT>(value);
47 }
48 template <typename NodeNameT = Aws::String>
50 SetNodeName(std::forward<NodeNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
60 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
61 template <typename TimestampT = Aws::Utils::DateTime>
62 void SetTimestamp(TimestampT&& value) {
63 m_timestampHasBeenSet = true;
64 m_timestamp = std::forward<TimestampT>(value);
65 }
66 template <typename TimestampT = Aws::Utils::DateTime>
68 SetTimestamp(std::forward<TimestampT>(value));
69 return *this;
70 }
72
74
78 inline const NodeTraceElements& GetTraceElements() const { return m_traceElements; }
79 inline bool TraceElementsHasBeenSet() const { return m_traceElementsHasBeenSet; }
80 template <typename TraceElementsT = NodeTraceElements>
82 m_traceElementsHasBeenSet = true;
83 m_traceElements = std::forward<TraceElementsT>(value);
84 }
85 template <typename TraceElementsT = NodeTraceElements>
87 SetTraceElements(std::forward<TraceElementsT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_nodeName;
93
94 Aws::Utils::DateTime m_timestamp{};
95
96 NodeTraceElements m_traceElements;
97 bool m_nodeNameHasBeenSet = false;
98 bool m_timestampHasBeenSet = false;
99 bool m_traceElementsHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace BedrockAgentRuntime
104} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API NodeDependencyEvent(Aws::Utils::Json::JsonView jsonValue)
NodeDependencyEvent & WithTraceElements(TraceElementsT &&value)
NodeDependencyEvent & WithNodeName(NodeNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeDependencyEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeDependencyEvent & WithTimestamp(TimestampT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeDependencyEvent()=default
const Aws::Utils::DateTime & GetTimestamp() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue