AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FlowTraceNodeActionEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/Document.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
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent() = default;
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetNodeName() const { return m_nodeName; }
44 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
45 template <typename NodeNameT = Aws::String>
46 void SetNodeName(NodeNameT&& value) {
47 m_nodeNameHasBeenSet = true;
48 m_nodeName = std::forward<NodeNameT>(value);
49 }
50 template <typename NodeNameT = Aws::String>
52 SetNodeName(std::forward<NodeNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetOperationName() const { return m_operationName; }
62 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
63 template <typename OperationNameT = Aws::String>
65 m_operationNameHasBeenSet = true;
66 m_operationName = std::forward<OperationNameT>(value);
67 }
68 template <typename OperationNameT = Aws::String>
70 SetOperationName(std::forward<OperationNameT>(value));
71 return *this;
72 }
74
76
79 inline Aws::Utils::DocumentView GetOperationRequest() const { return m_operationRequest; }
80 inline bool OperationRequestHasBeenSet() const { return m_operationRequestHasBeenSet; }
81 template <typename OperationRequestT = Aws::Utils::Document>
83 m_operationRequestHasBeenSet = true;
84 m_operationRequest = std::forward<OperationRequestT>(value);
85 }
86 template <typename OperationRequestT = Aws::Utils::Document>
88 SetOperationRequest(std::forward<OperationRequestT>(value));
89 return *this;
90 }
92
94
97 inline Aws::Utils::DocumentView GetOperationResponse() const { return m_operationResponse; }
98 inline bool OperationResponseHasBeenSet() const { return m_operationResponseHasBeenSet; }
99 template <typename OperationResponseT = Aws::Utils::Document>
101 m_operationResponseHasBeenSet = true;
102 m_operationResponse = std::forward<OperationResponseT>(value);
103 }
104 template <typename OperationResponseT = Aws::Utils::Document>
106 SetOperationResponse(std::forward<OperationResponseT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetServiceName() const { return m_serviceName; }
134 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
135 template <typename ServiceNameT = Aws::String>
137 m_serviceNameHasBeenSet = true;
138 m_serviceName = std::forward<ServiceNameT>(value);
139 }
140 template <typename ServiceNameT = Aws::String>
142 SetServiceName(std::forward<ServiceNameT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
152 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
153 template <typename TimestampT = Aws::Utils::DateTime>
154 void SetTimestamp(TimestampT&& value) {
155 m_timestampHasBeenSet = true;
156 m_timestamp = std::forward<TimestampT>(value);
157 }
158 template <typename TimestampT = Aws::Utils::DateTime>
160 SetTimestamp(std::forward<TimestampT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_nodeName;
166
167 Aws::String m_operationName;
168
169 Aws::Utils::Document m_operationRequest;
170
171 Aws::Utils::Document m_operationResponse;
172
173 Aws::String m_requestId;
174
175 Aws::String m_serviceName;
176
177 Aws::Utils::DateTime m_timestamp{};
178 bool m_nodeNameHasBeenSet = false;
179 bool m_operationNameHasBeenSet = false;
180 bool m_operationRequestHasBeenSet = false;
181 bool m_operationResponseHasBeenSet = false;
182 bool m_requestIdHasBeenSet = false;
183 bool m_serviceNameHasBeenSet = false;
184 bool m_timestampHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace BedrockAgentRuntime
189} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowTraceNodeActionEvent(Aws::Utils::Json::JsonView jsonValue)
FlowTraceNodeActionEvent & WithOperationRequest(OperationRequestT &&value)
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)
FlowTraceNodeActionEvent & WithOperationResponse(OperationResponseT &&value)
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