AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
NodeActionEvent.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
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API NodeActionEvent() = 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::String& GetOperationName() const { return m_operationName; }
60 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
61 template <typename OperationNameT = Aws::String>
63 m_operationNameHasBeenSet = true;
64 m_operationName = std::forward<OperationNameT>(value);
65 }
66 template <typename OperationNameT = Aws::String>
68 SetOperationName(std::forward<OperationNameT>(value));
69 return *this;
70 }
72
74
77 inline Aws::Utils::DocumentView GetOperationRequest() const { return m_operationRequest; }
78 inline bool OperationRequestHasBeenSet() const { return m_operationRequestHasBeenSet; }
79 template <typename OperationRequestT = Aws::Utils::Document>
81 m_operationRequestHasBeenSet = true;
82 m_operationRequest = std::forward<OperationRequestT>(value);
83 }
84 template <typename OperationRequestT = Aws::Utils::Document>
86 SetOperationRequest(std::forward<OperationRequestT>(value));
87 return *this;
88 }
90
92
95 inline Aws::Utils::DocumentView GetOperationResponse() const { return m_operationResponse; }
96 inline bool OperationResponseHasBeenSet() const { return m_operationResponseHasBeenSet; }
97 template <typename OperationResponseT = Aws::Utils::Document>
99 m_operationResponseHasBeenSet = true;
100 m_operationResponse = std::forward<OperationResponseT>(value);
101 }
102 template <typename OperationResponseT = Aws::Utils::Document>
104 SetOperationResponse(std::forward<OperationResponseT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
115 template <typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) {
117 m_requestIdHasBeenSet = true;
118 m_requestId = std::forward<RequestIdT>(value);
119 }
120 template <typename RequestIdT = Aws::String>
122 SetRequestId(std::forward<RequestIdT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetServiceName() const { return m_serviceName; }
132 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
133 template <typename ServiceNameT = Aws::String>
135 m_serviceNameHasBeenSet = true;
136 m_serviceName = std::forward<ServiceNameT>(value);
137 }
138 template <typename ServiceNameT = Aws::String>
140 SetServiceName(std::forward<ServiceNameT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
150 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
151 template <typename TimestampT = Aws::Utils::DateTime>
152 void SetTimestamp(TimestampT&& value) {
153 m_timestampHasBeenSet = true;
154 m_timestamp = std::forward<TimestampT>(value);
155 }
156 template <typename TimestampT = Aws::Utils::DateTime>
158 SetTimestamp(std::forward<TimestampT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_nodeName;
164
165 Aws::String m_operationName;
166
167 Aws::Utils::Document m_operationRequest;
168
169 Aws::Utils::Document m_operationResponse;
170
171 Aws::String m_requestId;
172
173 Aws::String m_serviceName;
174
175 Aws::Utils::DateTime m_timestamp{};
176 bool m_nodeNameHasBeenSet = false;
177 bool m_operationNameHasBeenSet = false;
178 bool m_operationRequestHasBeenSet = false;
179 bool m_operationResponseHasBeenSet = false;
180 bool m_requestIdHasBeenSet = false;
181 bool m_serviceNameHasBeenSet = false;
182 bool m_timestampHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace BedrockAgentRuntime
187} // namespace Aws
const Aws::Utils::DateTime & GetTimestamp() const
NodeActionEvent & WithTimestamp(TimestampT &&value)
NodeActionEvent & WithNodeName(NodeNameT &&value)
NodeActionEvent & WithOperationName(OperationNameT &&value)
void SetOperationResponse(OperationResponseT &&value)
Aws::Utils::DocumentView GetOperationRequest() const
AWS_BEDROCKAGENTRUNTIME_API NodeActionEvent()=default
Aws::Utils::DocumentView GetOperationResponse() const
NodeActionEvent & WithServiceName(ServiceNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
NodeActionEvent & WithOperationRequest(OperationRequestT &&value)
NodeActionEvent & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeActionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperationRequest(OperationRequestT &&value)
AWS_BEDROCKAGENTRUNTIME_API NodeActionEvent(Aws::Utils::Json::JsonView jsonValue)
NodeActionEvent & 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