7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/internetmonitor/model/ClientLocation.h>
11#include <aws/internetmonitor/model/InternetEventType.h>
12#include <aws/internetmonitor/model/InternetEventStatus.h>
25namespace InternetMonitor
55 template<
typename EventIdT = Aws::String>
56 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
57 template<
typename EventIdT = Aws::String>
67 template<
typename EventArnT = Aws::String>
68 void SetEventArn(EventArnT&& value) { m_eventArnHasBeenSet =
true; m_eventArn = std::forward<EventArnT>(value); }
69 template<
typename EventArnT = Aws::String>
79 template<
typename StartedAtT = Aws::Utils::DateTime>
80 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
81 template<
typename StartedAtT = Aws::Utils::DateTime>
92 template<
typename EndedAtT = Aws::Utils::DateTime>
93 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
94 template<
typename EndedAtT = Aws::Utils::DateTime>
105 template<
typename ClientLocationT = ClientLocation>
106 void SetClientLocation(ClientLocationT&& value) { m_clientLocationHasBeenSet =
true; m_clientLocation = std::forward<ClientLocationT>(value); }
107 template<
typename ClientLocationT = ClientLocation>
133 bool m_eventIdHasBeenSet =
false;
136 bool m_eventArnHasBeenSet =
false;
139 bool m_startedAtHasBeenSet =
false;
142 bool m_endedAtHasBeenSet =
false;
144 ClientLocation m_clientLocation;
145 bool m_clientLocationHasBeenSet =
false;
148 bool m_eventTypeHasBeenSet =
false;
151 bool m_eventStatusHasBeenSet =
false;
const Aws::String & GetEventId() const
InternetEventStatus GetEventStatus() const
void SetClientLocation(ClientLocationT &&value)
bool EventArnHasBeenSet() const
bool EventTypeHasBeenSet() const
AWS_INTERNETMONITOR_API InternetEventSummary()=default
InternetEventSummary & WithClientLocation(ClientLocationT &&value)
bool StartedAtHasBeenSet() const
InternetEventSummary & WithEndedAt(EndedAtT &&value)
AWS_INTERNETMONITOR_API InternetEventSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndedAt() const
void SetEventType(InternetEventType value)
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventIdHasBeenSet() const
InternetEventSummary & WithEventArn(EventArnT &&value)
void SetEventId(EventIdT &&value)
void SetEndedAt(EndedAtT &&value)
bool EndedAtHasBeenSet() const
InternetEventSummary & WithStartedAt(StartedAtT &&value)
AWS_INTERNETMONITOR_API InternetEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InternetEventSummary & WithEventStatus(InternetEventStatus value)
const Aws::Utils::DateTime & GetStartedAt() const
InternetEventType GetEventType() const
InternetEventSummary & WithEventType(InternetEventType value)
InternetEventSummary & WithEventId(EventIdT &&value)
void SetEventArn(EventArnT &&value)
void SetStartedAt(StartedAtT &&value)
void SetEventStatus(InternetEventStatus value)
const Aws::String & GetEventArn() const
bool ClientLocationHasBeenSet() const
bool EventStatusHasBeenSet() const
const ClientLocation & GetClientLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue