7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/EventStatus.h>
9#include <aws/apiportal/model/EventType.h>
10#include <aws/apiportal/model/WafApiSecurityEventDetail.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename EventIdT = Aws::String>
48 m_eventIdHasBeenSet =
true;
49 m_eventId = std::forward<EventIdT>(value);
51 template <
typename EventIdT = Aws::String>
65 m_eventTypeHasBeenSet =
true;
79 m_statusHasBeenSet =
true;
95 template <
typename WafApiSecurityEventDetailT = WafApiSecurityEventDetail>
97 m_wafApiSecurityEventDetailHasBeenSet =
true;
98 m_wafApiSecurityEventDetail = std::forward<WafApiSecurityEventDetailT>(value);
100 template <
typename WafApiSecurityEventDetailT = WafApiSecurityEventDetail>
113 template <
typename StartedAtT = Aws::Utils::DateTime>
115 m_startedAtHasBeenSet =
true;
116 m_startedAt = std::forward<StartedAtT>(value);
118 template <
typename StartedAtT = Aws::Utils::DateTime>
131 template <
typename EndedAtT = Aws::Utils::DateTime>
133 m_endedAtHasBeenSet =
true;
134 m_endedAt = std::forward<EndedAtT>(value);
136 template <
typename EndedAtT = Aws::Utils::DateTime>
149 template <
typename UpdatedAtT = Aws::Utils::DateTime>
151 m_updatedAtHasBeenSet =
true;
152 m_updatedAt = std::forward<UpdatedAtT>(value);
154 template <
typename UpdatedAtT = Aws::Utils::DateTime>
167 WafApiSecurityEventDetail m_wafApiSecurityEventDetail;
174 bool m_eventIdHasBeenSet =
false;
175 bool m_eventTypeHasBeenSet =
false;
176 bool m_statusHasBeenSet =
false;
177 bool m_wafApiSecurityEventDetailHasBeenSet =
false;
178 bool m_startedAtHasBeenSet =
false;
179 bool m_endedAtHasBeenSet =
false;
180 bool m_updatedAtHasBeenSet =
false;
bool StartedAtHasBeenSet() const
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedApiEventSummary & WithWafApiSecurityEventDetail(WafApiSecurityEventDetailT &&value)
ManagedApiEventSummary & WithEndedAt(EndedAtT &&value)
bool WafApiSecurityEventDetailHasBeenSet() const
bool EndedAtHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
EventStatus GetStatus() const
void SetEventId(EventIdT &&value)
const WafApiSecurityEventDetail & GetWafApiSecurityEventDetail() const
EventType GetEventType() const
AWS_APIPORTAL_API ManagedApiEventSummary()=default
AWS_APIPORTAL_API ManagedApiEventSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
bool StatusHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetEndedAt(EndedAtT &&value)
bool UpdatedAtHasBeenSet() const
bool EventIdHasBeenSet() const
bool EventTypeHasBeenSet() const
ManagedApiEventSummary & WithStatus(EventStatus value)
const Aws::String & GetEventId() const
void SetStatus(EventStatus value)
void SetWafApiSecurityEventDetail(WafApiSecurityEventDetailT &&value)
void SetEventType(EventType value)
ManagedApiEventSummary & WithEventType(EventType value)
AWS_APIPORTAL_API ManagedApiEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedApiEventSummary & WithUpdatedAt(UpdatedAtT &&value)
ManagedApiEventSummary & WithStartedAt(StartedAtT &&value)
ManagedApiEventSummary & WithEventId(EventIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue