7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
11#include <aws/internetmonitor/model/ClientLocation.h>
12#include <aws/internetmonitor/model/InternetEventStatus.h>
13#include <aws/internetmonitor/model/InternetEventType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace InternetMonitor {
39 template <
typename EventIdT = Aws::String>
41 m_eventIdHasBeenSet =
true;
42 m_eventId = std::forward<EventIdT>(value);
44 template <
typename EventIdT = Aws::String>
56 template <
typename EventArnT = Aws::String>
58 m_eventArnHasBeenSet =
true;
59 m_eventArn = std::forward<EventArnT>(value);
61 template <
typename EventArnT = Aws::String>
73 template <
typename StartedAtT = Aws::Utils::DateTime>
75 m_startedAtHasBeenSet =
true;
76 m_startedAt = std::forward<StartedAtT>(value);
78 template <
typename StartedAtT = Aws::Utils::DateTime>
91 template <
typename EndedAtT = Aws::Utils::DateTime>
93 m_endedAtHasBeenSet =
true;
94 m_endedAt = std::forward<EndedAtT>(value);
96 template <
typename EndedAtT = Aws::Utils::DateTime>
109 template <
typename ClientLocationT = ClientLocation>
111 m_clientLocationHasBeenSet =
true;
112 m_clientLocation = std::forward<ClientLocationT>(value);
114 template <
typename ClientLocationT = ClientLocation>
127 m_eventTypeHasBeenSet =
true;
142 m_eventStatusHasBeenSet =
true;
143 m_eventStatus = value;
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
176 ClientLocation m_clientLocation;
184 bool m_eventIdHasBeenSet =
false;
185 bool m_eventArnHasBeenSet =
false;
186 bool m_startedAtHasBeenSet =
false;
187 bool m_endedAtHasBeenSet =
false;
188 bool m_clientLocationHasBeenSet =
false;
189 bool m_eventTypeHasBeenSet =
false;
190 bool m_eventStatusHasBeenSet =
false;
191 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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