7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/EventPayload.h>
9#include <aws/codecatalyst/model/OperationType.h>
10#include <aws/codecatalyst/model/ProjectInformation.h>
11#include <aws/codecatalyst/model/UserIdentity.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace CodeCatalyst {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename EventNameT = Aws::String>
66 m_eventNameHasBeenSet =
true;
67 m_eventName = std::forward<EventNameT>(value);
69 template <
typename EventNameT = Aws::String>
82 template <
typename EventTypeT = Aws::String>
84 m_eventTypeHasBeenSet =
true;
85 m_eventType = std::forward<EventTypeT>(value);
87 template <
typename EventTypeT = Aws::String>
100 template <
typename EventCategoryT = Aws::String>
102 m_eventCategoryHasBeenSet =
true;
103 m_eventCategory = std::forward<EventCategoryT>(value);
105 template <
typename EventCategoryT = Aws::String>
118 template <
typename EventSourceT = Aws::String>
120 m_eventSourceHasBeenSet =
true;
121 m_eventSource = std::forward<EventSourceT>(value);
123 template <
typename EventSourceT = Aws::String>
138 template <
typename EventTimeT = Aws::Utils::DateTime>
140 m_eventTimeHasBeenSet =
true;
141 m_eventTime = std::forward<EventTimeT>(value);
143 template <
typename EventTimeT = Aws::Utils::DateTime>
157 m_operationTypeHasBeenSet =
true;
158 m_operationType = value;
173 template <
typename UserIdentityT = UserIdentity>
175 m_userIdentityHasBeenSet =
true;
176 m_userIdentity = std::forward<UserIdentityT>(value);
178 template <
typename UserIdentityT = UserIdentity>
191 template <
typename ProjectInformationT = ProjectInformation>
193 m_projectInformationHasBeenSet =
true;
194 m_projectInformation = std::forward<ProjectInformationT>(value);
196 template <
typename ProjectInformationT = ProjectInformation>
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
227 template <
typename RequestPayloadT = EventPayload>
229 m_requestPayloadHasBeenSet =
true;
230 m_requestPayload = std::forward<RequestPayloadT>(value);
232 template <
typename RequestPayloadT = EventPayload>
245 template <
typename ResponsePayloadT = EventPayload>
247 m_responsePayloadHasBeenSet =
true;
248 m_responsePayload = std::forward<ResponsePayloadT>(value);
250 template <
typename ResponsePayloadT = EventPayload>
263 template <
typename ErrorCodeT = Aws::String>
265 m_errorCodeHasBeenSet =
true;
266 m_errorCode = std::forward<ErrorCodeT>(value);
268 template <
typename ErrorCodeT = Aws::String>
281 template <
typename SourceIpAddressT = Aws::String>
283 m_sourceIpAddressHasBeenSet =
true;
284 m_sourceIpAddress = std::forward<SourceIpAddressT>(value);
286 template <
typename SourceIpAddressT = Aws::String>
299 template <
typename UserAgentT = Aws::String>
301 m_userAgentHasBeenSet =
true;
302 m_userAgent = std::forward<UserAgentT>(value);
304 template <
typename UserAgentT = Aws::String>
325 UserIdentity m_userIdentity;
327 ProjectInformation m_projectInformation;
331 EventPayload m_requestPayload;
333 EventPayload m_responsePayload;
340 bool m_idHasBeenSet =
false;
341 bool m_eventNameHasBeenSet =
false;
342 bool m_eventTypeHasBeenSet =
false;
343 bool m_eventCategoryHasBeenSet =
false;
344 bool m_eventSourceHasBeenSet =
false;
345 bool m_eventTimeHasBeenSet =
false;
346 bool m_operationTypeHasBeenSet =
false;
347 bool m_userIdentityHasBeenSet =
false;
348 bool m_projectInformationHasBeenSet =
false;
349 bool m_requestIdHasBeenSet =
false;
350 bool m_requestPayloadHasBeenSet =
false;
351 bool m_responsePayloadHasBeenSet =
false;
352 bool m_errorCodeHasBeenSet =
false;
353 bool m_sourceIpAddressHasBeenSet =
false;
354 bool m_userAgentHasBeenSet =
false;
void SetEventSource(EventSourceT &&value)
void SetResponsePayload(ResponsePayloadT &&value)
EventLogEntry & WithOperationType(OperationType value)
bool ProjectInformationHasBeenSet() const
bool RequestPayloadHasBeenSet() const
bool ErrorCodeHasBeenSet() const
void SetEventType(EventTypeT &&value)
EventLogEntry & WithErrorCode(ErrorCodeT &&value)
EventLogEntry & WithProjectInformation(ProjectInformationT &&value)
void SetEventTime(EventTimeT &&value)
void SetProjectInformation(ProjectInformationT &&value)
EventLogEntry & WithRequestPayload(RequestPayloadT &&value)
const ProjectInformation & GetProjectInformation() const
void SetRequestPayload(RequestPayloadT &&value)
EventLogEntry & WithRequestId(RequestIdT &&value)
bool EventNameHasBeenSet() const
bool EventTypeHasBeenSet() const
const Aws::Utils::DateTime & GetEventTime() const
const Aws::String & GetErrorCode() const
AWS_CODECATALYST_API EventLogEntry(Aws::Utils::Json::JsonView jsonValue)
void SetOperationType(OperationType value)
void SetUserAgent(UserAgentT &&value)
const Aws::String & GetRequestId() const
void SetEventCategory(EventCategoryT &&value)
EventLogEntry & WithEventName(EventNameT &&value)
EventLogEntry & WithEventSource(EventSourceT &&value)
const Aws::String & GetId() const
const Aws::String & GetEventSource() const
AWS_CODECATALYST_API EventLogEntry()=default
bool IdHasBeenSet() const
const UserIdentity & GetUserIdentity() const
OperationType GetOperationType() const
void SetUserIdentity(UserIdentityT &&value)
EventLogEntry & WithEventCategory(EventCategoryT &&value)
bool ResponsePayloadHasBeenSet() const
EventLogEntry & WithUserIdentity(UserIdentityT &&value)
EventLogEntry & WithEventTime(EventTimeT &&value)
EventLogEntry & WithUserAgent(UserAgentT &&value)
AWS_CODECATALYST_API EventLogEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const EventPayload & GetRequestPayload() const
const Aws::String & GetEventType() const
bool EventCategoryHasBeenSet() const
void SetSourceIpAddress(SourceIpAddressT &&value)
EventLogEntry & WithSourceIpAddress(SourceIpAddressT &&value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventCategory() const
bool UserIdentityHasBeenSet() const
EventLogEntry & WithEventType(EventTypeT &&value)
void SetErrorCode(ErrorCodeT &&value)
bool RequestIdHasBeenSet() const
const Aws::String & GetUserAgent() const
void SetEventName(EventNameT &&value)
bool OperationTypeHasBeenSet() const
bool UserAgentHasBeenSet() const
void SetRequestId(RequestIdT &&value)
EventLogEntry & WithResponsePayload(ResponsePayloadT &&value)
bool EventSourceHasBeenSet() const
bool SourceIpAddressHasBeenSet() const
const EventPayload & GetResponsePayload() const
const Aws::String & GetSourceIpAddress() const
const Aws::String & GetEventName() const
bool EventTimeHasBeenSet() const
EventLogEntry & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue