AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlowTraceNodeActionEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent() = default;
39 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetNodeName() const { return m_nodeName; }
49 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
50 template<typename NodeNameT = Aws::String>
51 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::forward<NodeNameT>(value); }
52 template<typename NodeNameT = Aws::String>
53 FlowTraceNodeActionEvent& WithNodeName(NodeNameT&& value) { SetNodeName(std::forward<NodeNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetOperationName() const { return m_operationName; }
61 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
62 template<typename OperationNameT = Aws::String>
63 void SetOperationName(OperationNameT&& value) { m_operationNameHasBeenSet = true; m_operationName = std::forward<OperationNameT>(value); }
64 template<typename OperationNameT = Aws::String>
65 FlowTraceNodeActionEvent& WithOperationName(OperationNameT&& value) { SetOperationName(std::forward<OperationNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 FlowTraceNodeActionEvent& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetServiceName() const { return m_serviceName; }
85 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
86 template<typename ServiceNameT = Aws::String>
87 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
88 template<typename ServiceNameT = Aws::String>
89 FlowTraceNodeActionEvent& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
97 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
98 template<typename TimestampT = Aws::Utils::DateTime>
99 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
100 template<typename TimestampT = Aws::Utils::DateTime>
101 FlowTraceNodeActionEvent& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
103 private:
104
105 Aws::String m_nodeName;
106 bool m_nodeNameHasBeenSet = false;
107
108 Aws::String m_operationName;
109 bool m_operationNameHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113
114 Aws::String m_serviceName;
115 bool m_serviceNameHasBeenSet = false;
116
117 Aws::Utils::DateTime m_timestamp{};
118 bool m_timestampHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace BedrockAgentRuntime
123} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FlowTraceNodeActionEvent & WithTimestamp(TimestampT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeActionEvent & WithServiceName(ServiceNameT &&value)
FlowTraceNodeActionEvent & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent()=default
FlowTraceNodeActionEvent & WithOperationName(OperationNameT &&value)
FlowTraceNodeActionEvent & WithNodeName(NodeNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue