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>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetEventName(
const char* value) { m_eventNameHasBeenSet =
true; m_eventName.assign(value); }
82 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
96 inline void SetEventCategory(
const char* value) { m_eventCategoryHasBeenSet =
true; m_eventCategory.assign(value); }
110 inline void SetEventSource(
const char* value) { m_eventSourceHasBeenSet =
true; m_eventSource.assign(value); }
175 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
213 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
227 inline void SetSourceIpAddress(
const char* value) { m_sourceIpAddressHasBeenSet =
true; m_sourceIpAddress.assign(value); }
241 inline void SetUserAgent(
const char* value) { m_userAgentHasBeenSet =
true; m_userAgent.assign(value); }
249 bool m_idHasBeenSet =
false;
252 bool m_eventNameHasBeenSet =
false;
255 bool m_eventTypeHasBeenSet =
false;
258 bool m_eventCategoryHasBeenSet =
false;
261 bool m_eventSourceHasBeenSet =
false;
264 bool m_eventTimeHasBeenSet =
false;
267 bool m_operationTypeHasBeenSet =
false;
270 bool m_userIdentityHasBeenSet =
false;
273 bool m_projectInformationHasBeenSet =
false;
276 bool m_requestIdHasBeenSet =
false;
279 bool m_requestPayloadHasBeenSet =
false;
282 bool m_responsePayloadHasBeenSet =
false;
285 bool m_errorCodeHasBeenSet =
false;
288 bool m_sourceIpAddressHasBeenSet =
false;
291 bool m_userAgentHasBeenSet =
false;
EventLogEntry & WithEventTime(Aws::Utils::DateTime &&value)
EventLogEntry & WithOperationType(const OperationType &value)
EventLogEntry & WithEventName(const char *value)
EventLogEntry & WithErrorCode(const char *value)
void SetEventCategory(const char *value)
bool ProjectInformationHasBeenSet() const
void SetEventSource(const Aws::String &value)
void SetEventType(const Aws::String &value)
bool RequestPayloadHasBeenSet() const
EventLogEntry & WithUserAgent(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetRequestId(Aws::String &&value)
EventLogEntry & WithUserAgent(const Aws::String &value)
void SetEventSource(Aws::String &&value)
void SetEventTime(Aws::Utils::DateTime &&value)
AWS_CODECATALYST_API EventLogEntry()
void SetSourceIpAddress(const Aws::String &value)
void SetRequestId(const char *value)
void SetEventName(const char *value)
EventLogEntry & WithEventCategory(Aws::String &&value)
EventLogEntry & WithSourceIpAddress(const char *value)
void SetProjectInformation(const ProjectInformation &value)
EventLogEntry & WithResponsePayload(const EventPayload &value)
void SetId(const char *value)
EventLogEntry & WithRequestPayload(EventPayload &&value)
void SetRequestPayload(const EventPayload &value)
void SetEventCategory(const Aws::String &value)
void SetEventName(const Aws::String &value)
void SetRequestPayload(EventPayload &&value)
EventLogEntry & WithUserAgent(const char *value)
const ProjectInformation & GetProjectInformation() const
const OperationType & GetOperationType() const
EventLogEntry & WithId(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
bool EventNameHasBeenSet() const
bool EventTypeHasBeenSet() const
EventLogEntry & WithResponsePayload(EventPayload &&value)
EventLogEntry & WithSourceIpAddress(const Aws::String &value)
void SetResponsePayload(EventPayload &&value)
void SetEventCategory(Aws::String &&value)
void SetUserIdentity(const UserIdentity &value)
EventLogEntry & WithEventType(const Aws::String &value)
const Aws::Utils::DateTime & GetEventTime() const
const Aws::String & GetErrorCode() const
AWS_CODECATALYST_API EventLogEntry(Aws::Utils::Json::JsonView jsonValue)
EventLogEntry & WithEventType(Aws::String &&value)
EventLogEntry & WithId(const char *value)
EventLogEntry & WithRequestPayload(const EventPayload &value)
void SetRequestId(const Aws::String &value)
EventLogEntry & WithEventCategory(const char *value)
void SetUserAgent(Aws::String &&value)
void SetUserAgent(const char *value)
void SetSourceIpAddress(Aws::String &&value)
const Aws::String & GetRequestId() const
EventLogEntry & WithRequestId(Aws::String &&value)
void SetResponsePayload(const EventPayload &value)
void SetSourceIpAddress(const char *value)
void SetEventSource(const char *value)
void SetProjectInformation(ProjectInformation &&value)
const Aws::String & GetId() const
const Aws::String & GetEventSource() const
EventLogEntry & WithId(Aws::String &&value)
void SetEventType(Aws::String &&value)
bool IdHasBeenSet() const
const UserIdentity & GetUserIdentity() const
void SetErrorCode(const char *value)
EventLogEntry & WithProjectInformation(ProjectInformation &&value)
EventLogEntry & WithRequestId(const Aws::String &value)
EventLogEntry & WithEventName(Aws::String &&value)
bool ResponsePayloadHasBeenSet() const
EventLogEntry & WithEventCategory(const Aws::String &value)
EventLogEntry & WithErrorCode(const Aws::String &value)
void SetOperationType(OperationType &&value)
EventLogEntry & WithEventName(const Aws::String &value)
EventLogEntry & WithEventSource(Aws::String &&value)
EventLogEntry & WithSourceIpAddress(Aws::String &&value)
AWS_CODECATALYST_API EventLogEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
EventLogEntry & WithEventTime(const Aws::Utils::DateTime &value)
EventLogEntry & WithRequestId(const char *value)
const EventPayload & GetRequestPayload() const
void SetEventType(const char *value)
const Aws::String & GetEventType() const
void SetId(const Aws::String &value)
void SetUserIdentity(UserIdentity &&value)
EventLogEntry & WithUserIdentity(UserIdentity &&value)
bool EventCategoryHasBeenSet() const
void SetEventTime(const Aws::Utils::DateTime &value)
void SetUserAgent(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventCategory() const
EventLogEntry & WithProjectInformation(const ProjectInformation &value)
bool UserIdentityHasBeenSet() const
void SetOperationType(const OperationType &value)
bool RequestIdHasBeenSet() const
const Aws::String & GetUserAgent() const
void SetErrorCode(const Aws::String &value)
EventLogEntry & WithEventSource(const char *value)
bool OperationTypeHasBeenSet() const
bool UserAgentHasBeenSet() const
bool EventSourceHasBeenSet() const
bool SourceIpAddressHasBeenSet() const
EventLogEntry & WithErrorCode(Aws::String &&value)
void SetId(Aws::String &&value)
const EventPayload & GetResponsePayload() const
void SetEventName(Aws::String &&value)
EventLogEntry & WithOperationType(OperationType &&value)
EventLogEntry & WithEventType(const char *value)
const Aws::String & GetSourceIpAddress() const
const Aws::String & GetEventName() const
EventLogEntry & WithUserIdentity(const UserIdentity &value)
EventLogEntry & WithEventSource(const Aws::String &value)
bool EventTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue