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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace InternetMonitor
44 template<
typename EventIdT = Aws::String>
45 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
46 template<
typename EventIdT = Aws::String>
55 template<
typename EventArnT = Aws::String>
56 void SetEventArn(EventArnT&& value) { m_eventArnHasBeenSet =
true; m_eventArn = std::forward<EventArnT>(value); }
57 template<
typename EventArnT = Aws::String>
66 template<
typename StartedAtT = Aws::Utils::DateTime>
67 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
68 template<
typename StartedAtT = Aws::Utils::DateTime>
78 template<
typename EndedAtT = Aws::Utils::DateTime>
79 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
80 template<
typename EndedAtT = Aws::Utils::DateTime>
90 template<
typename ClientLocationT = ClientLocation>
91 void SetClientLocation(ClientLocationT&& value) { m_clientLocationHasBeenSet =
true; m_clientLocation = std::forward<ClientLocationT>(value); }
92 template<
typename ClientLocationT = ClientLocation>
117 template<
typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
119 template<
typename RequestIdT = Aws::String>
125 bool m_eventIdHasBeenSet =
false;
128 bool m_eventArnHasBeenSet =
false;
131 bool m_startedAtHasBeenSet =
false;
134 bool m_endedAtHasBeenSet =
false;
136 ClientLocation m_clientLocation;
137 bool m_clientLocationHasBeenSet =
false;
140 bool m_eventTypeHasBeenSet =
false;
143 bool m_eventStatusHasBeenSet =
false;
146 bool m_requestIdHasBeenSet =
false;
InternetEventType GetEventType() const
void SetEventId(EventIdT &&value)
void SetEventType(InternetEventType value)
AWS_INTERNETMONITOR_API GetInternetEventResult()=default
void SetEventArn(EventArnT &&value)
const ClientLocation & GetClientLocation() const
const Aws::String & GetRequestId() const
AWS_INTERNETMONITOR_API GetInternetEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetInternetEventResult & WithEventId(EventIdT &&value)
GetInternetEventResult & WithEventArn(EventArnT &&value)
const Aws::String & GetEventId() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetEndedAt(EndedAtT &&value)
GetInternetEventResult & WithEventStatus(InternetEventStatus value)
GetInternetEventResult & WithRequestId(RequestIdT &&value)
GetInternetEventResult & WithStartedAt(StartedAtT &&value)
GetInternetEventResult & WithEventType(InternetEventType value)
void SetStartedAt(StartedAtT &&value)
AWS_INTERNETMONITOR_API GetInternetEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInternetEventResult & WithEndedAt(EndedAtT &&value)
InternetEventStatus GetEventStatus() const
GetInternetEventResult & WithClientLocation(ClientLocationT &&value)
void SetClientLocation(ClientLocationT &&value)
const Aws::String & GetEventArn() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetEventStatus(InternetEventStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue