7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
10#include <aws/internetmonitor/model/ClientLocation.h>
11#include <aws/internetmonitor/model/InternetEventStatus.h>
12#include <aws/internetmonitor/model/InternetEventType.h>
23namespace InternetMonitor {
49 template <
typename EventIdT = Aws::String>
51 m_eventIdHasBeenSet =
true;
52 m_eventId = std::forward<EventIdT>(value);
54 template <
typename EventIdT = Aws::String>
67 template <
typename EventArnT = Aws::String>
69 m_eventArnHasBeenSet =
true;
70 m_eventArn = std::forward<EventArnT>(value);
72 template <
typename EventArnT = Aws::String>
85 template <
typename StartedAtT = Aws::Utils::DateTime>
87 m_startedAtHasBeenSet =
true;
88 m_startedAt = std::forward<StartedAtT>(value);
90 template <
typename StartedAtT = Aws::Utils::DateTime>
104 template <
typename EndedAtT = Aws::Utils::DateTime>
106 m_endedAtHasBeenSet =
true;
107 m_endedAt = std::forward<EndedAtT>(value);
109 template <
typename EndedAtT = Aws::Utils::DateTime>
123 template <
typename ClientLocationT = ClientLocation>
125 m_clientLocationHasBeenSet =
true;
126 m_clientLocation = std::forward<ClientLocationT>(value);
128 template <
typename ClientLocationT = ClientLocation>
142 m_eventTypeHasBeenSet =
true;
158 m_eventStatusHasBeenSet =
true;
159 m_eventStatus = value;
175 ClientLocation m_clientLocation;
180 bool m_eventIdHasBeenSet =
false;
181 bool m_eventArnHasBeenSet =
false;
182 bool m_startedAtHasBeenSet =
false;
183 bool m_endedAtHasBeenSet =
false;
184 bool m_clientLocationHasBeenSet =
false;
185 bool m_eventTypeHasBeenSet =
false;
186 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