AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetInternetEventResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace InternetMonitor
28{
29namespace Model
30{
32 {
33 public:
34 AWS_INTERNETMONITOR_API GetInternetEventResult() = default;
37
38
40
43 inline const Aws::String& GetEventId() const { return m_eventId; }
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>
47 GetInternetEventResult& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetEventArn() const { return m_eventArn; }
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>
58 GetInternetEventResult& WithEventArn(EventArnT&& value) { SetEventArn(std::forward<EventArnT>(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
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>
69 GetInternetEventResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
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>
81 GetInternetEventResult& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
83
85
89 inline const ClientLocation& GetClientLocation() const { return m_clientLocation; }
90 template<typename ClientLocationT = ClientLocation>
91 void SetClientLocation(ClientLocationT&& value) { m_clientLocationHasBeenSet = true; m_clientLocation = std::forward<ClientLocationT>(value); }
92 template<typename ClientLocationT = ClientLocation>
93 GetInternetEventResult& WithClientLocation(ClientLocationT&& value) { SetClientLocation(std::forward<ClientLocationT>(value)); return *this;}
95
97
100 inline InternetEventType GetEventType() const { return m_eventType; }
101 inline void SetEventType(InternetEventType value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
104
106
109 inline InternetEventStatus GetEventStatus() const { return m_eventStatus; }
110 inline void SetEventStatus(InternetEventStatus value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
120 GetInternetEventResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
122 private:
123
124 Aws::String m_eventId;
125 bool m_eventIdHasBeenSet = false;
126
127 Aws::String m_eventArn;
128 bool m_eventArnHasBeenSet = false;
129
130 Aws::Utils::DateTime m_startedAt{};
131 bool m_startedAtHasBeenSet = false;
132
133 Aws::Utils::DateTime m_endedAt{};
134 bool m_endedAtHasBeenSet = false;
135
136 ClientLocation m_clientLocation;
137 bool m_clientLocationHasBeenSet = false;
138
140 bool m_eventTypeHasBeenSet = false;
141
143 bool m_eventStatusHasBeenSet = false;
144
145 Aws::String m_requestId;
146 bool m_requestIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace InternetMonitor
151} // namespace Aws
AWS_INTERNETMONITOR_API GetInternetEventResult()=default
AWS_INTERNETMONITOR_API GetInternetEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInternetEventResult & WithEventId(EventIdT &&value)
GetInternetEventResult & WithEventArn(EventArnT &&value)
GetInternetEventResult & WithEventStatus(InternetEventStatus value)
GetInternetEventResult & WithRequestId(RequestIdT &&value)
GetInternetEventResult & WithStartedAt(StartedAtT &&value)
GetInternetEventResult & WithEventType(InternetEventType value)
AWS_INTERNETMONITOR_API GetInternetEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInternetEventResult & WithEndedAt(EndedAtT &&value)
GetInternetEventResult & WithClientLocation(ClientLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue