7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codecatalyst/model/OperationType.h>
11#include <aws/codecatalyst/model/UserIdentity.h>
12#include <aws/codecatalyst/model/ProjectInformation.h>
13#include <aws/codecatalyst/model/EventPayload.h>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename EventNameT = Aws::String>
65 void SetEventName(EventNameT&& value) { m_eventNameHasBeenSet =
true; m_eventName = std::forward<EventNameT>(value); }
66 template<
typename EventNameT = Aws::String>
76 template<
typename EventTypeT = Aws::String>
77 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
78 template<
typename EventTypeT = Aws::String>
88 template<
typename EventCategoryT = Aws::String>
89 void SetEventCategory(EventCategoryT&& value) { m_eventCategoryHasBeenSet =
true; m_eventCategory = std::forward<EventCategoryT>(value); }
90 template<
typename EventCategoryT = Aws::String>
100 template<
typename EventSourceT = Aws::String>
101 void SetEventSource(EventSourceT&& value) { m_eventSourceHasBeenSet =
true; m_eventSource = std::forward<EventSourceT>(value); }
102 template<
typename EventSourceT = Aws::String>
114 template<
typename EventTimeT = Aws::Utils::DateTime>
115 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
116 template<
typename EventTimeT = Aws::Utils::DateTime>
137 template<
typename UserIdentityT = UserIdentity>
138 void SetUserIdentity(UserIdentityT&& value) { m_userIdentityHasBeenSet =
true; m_userIdentity = std::forward<UserIdentityT>(value); }
139 template<
typename UserIdentityT = UserIdentity>
149 template<
typename ProjectInformationT = ProjectInformation>
150 void SetProjectInformation(ProjectInformationT&& value) { m_projectInformationHasBeenSet =
true; m_projectInformation = std::forward<ProjectInformationT>(value); }
151 template<
typename ProjectInformationT = ProjectInformation>
161 template<
typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
163 template<
typename RequestIdT = Aws::String>
173 template<
typename RequestPayloadT = EventPayload>
174 void SetRequestPayload(RequestPayloadT&& value) { m_requestPayloadHasBeenSet =
true; m_requestPayload = std::forward<RequestPayloadT>(value); }
175 template<
typename RequestPayloadT = EventPayload>
185 template<
typename ResponsePayloadT = EventPayload>
186 void SetResponsePayload(ResponsePayloadT&& value) { m_responsePayloadHasBeenSet =
true; m_responsePayload = std::forward<ResponsePayloadT>(value); }
187 template<
typename ResponsePayloadT = EventPayload>
197 template<
typename ErrorCodeT = Aws::String>
198 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
199 template<
typename ErrorCodeT = Aws::String>
209 template<
typename SourceIpAddressT = Aws::String>
210 void SetSourceIpAddress(SourceIpAddressT&& value) { m_sourceIpAddressHasBeenSet =
true; m_sourceIpAddress = std::forward<SourceIpAddressT>(value); }
211 template<
typename SourceIpAddressT = Aws::String>
221 template<
typename UserAgentT = Aws::String>
222 void SetUserAgent(UserAgentT&& value) { m_userAgentHasBeenSet =
true; m_userAgent = std::forward<UserAgentT>(value); }
223 template<
typename UserAgentT = Aws::String>
229 bool m_idHasBeenSet =
false;
232 bool m_eventNameHasBeenSet =
false;
235 bool m_eventTypeHasBeenSet =
false;
238 bool m_eventCategoryHasBeenSet =
false;
241 bool m_eventSourceHasBeenSet =
false;
244 bool m_eventTimeHasBeenSet =
false;
247 bool m_operationTypeHasBeenSet =
false;
249 UserIdentity m_userIdentity;
250 bool m_userIdentityHasBeenSet =
false;
252 ProjectInformation m_projectInformation;
253 bool m_projectInformationHasBeenSet =
false;
256 bool m_requestIdHasBeenSet =
false;
258 EventPayload m_requestPayload;
259 bool m_requestPayloadHasBeenSet =
false;
261 EventPayload m_responsePayload;
262 bool m_responsePayloadHasBeenSet =
false;
265 bool m_errorCodeHasBeenSet =
false;
268 bool m_sourceIpAddressHasBeenSet =
false;
271 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