AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetEventId() const{ return m_eventId; }
44 inline void SetEventId(const Aws::String& value) { m_eventId = value; }
45 inline void SetEventId(Aws::String&& value) { m_eventId = std::move(value); }
46 inline void SetEventId(const char* value) { m_eventId.assign(value); }
47 inline GetInternetEventResult& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
48 inline GetInternetEventResult& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
49 inline GetInternetEventResult& WithEventId(const char* value) { SetEventId(value); return *this;}
51
53
56 inline const Aws::String& GetEventArn() const{ return m_eventArn; }
57 inline void SetEventArn(const Aws::String& value) { m_eventArn = value; }
58 inline void SetEventArn(Aws::String&& value) { m_eventArn = std::move(value); }
59 inline void SetEventArn(const char* value) { m_eventArn.assign(value); }
60 inline GetInternetEventResult& WithEventArn(const Aws::String& value) { SetEventArn(value); return *this;}
61 inline GetInternetEventResult& WithEventArn(Aws::String&& value) { SetEventArn(std::move(value)); return *this;}
62 inline GetInternetEventResult& WithEventArn(const char* value) { SetEventArn(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
70 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
71 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
72 inline GetInternetEventResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
73 inline GetInternetEventResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
82 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; }
83 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); }
84 inline GetInternetEventResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
85 inline GetInternetEventResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
87
89
93 inline const ClientLocation& GetClientLocation() const{ return m_clientLocation; }
94 inline void SetClientLocation(const ClientLocation& value) { m_clientLocation = value; }
95 inline void SetClientLocation(ClientLocation&& value) { m_clientLocation = std::move(value); }
96 inline GetInternetEventResult& WithClientLocation(const ClientLocation& value) { SetClientLocation(value); return *this;}
97 inline GetInternetEventResult& WithClientLocation(ClientLocation&& value) { SetClientLocation(std::move(value)); return *this;}
99
101
104 inline const InternetEventType& GetEventType() const{ return m_eventType; }
105 inline void SetEventType(const InternetEventType& value) { m_eventType = value; }
106 inline void SetEventType(InternetEventType&& value) { m_eventType = std::move(value); }
107 inline GetInternetEventResult& WithEventType(const InternetEventType& value) { SetEventType(value); return *this;}
108 inline GetInternetEventResult& WithEventType(InternetEventType&& value) { SetEventType(std::move(value)); return *this;}
110
112
115 inline const InternetEventStatus& GetEventStatus() const{ return m_eventStatus; }
116 inline void SetEventStatus(const InternetEventStatus& value) { m_eventStatus = value; }
117 inline void SetEventStatus(InternetEventStatus&& value) { m_eventStatus = std::move(value); }
118 inline GetInternetEventResult& WithEventStatus(const InternetEventStatus& value) { SetEventStatus(value); return *this;}
119 inline GetInternetEventResult& WithEventStatus(InternetEventStatus&& value) { SetEventStatus(std::move(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline GetInternetEventResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline GetInternetEventResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline GetInternetEventResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_eventId;
135
136 Aws::String m_eventArn;
137
138 Aws::Utils::DateTime m_startedAt;
139
140 Aws::Utils::DateTime m_endedAt;
141
142 ClientLocation m_clientLocation;
143
144 InternetEventType m_eventType;
145
146 InternetEventStatus m_eventStatus;
147
148 Aws::String m_requestId;
149 };
150
151} // namespace Model
152} // namespace InternetMonitor
153} // namespace Aws
GetInternetEventResult & WithClientLocation(ClientLocation &&value)
GetInternetEventResult & WithEventStatus(const InternetEventStatus &value)
GetInternetEventResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetInternetEventResult & WithEventArn(const char *value)
void SetEndedAt(const Aws::Utils::DateTime &value)
AWS_INTERNETMONITOR_API GetInternetEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInternetEventResult & WithRequestId(const char *value)
GetInternetEventResult & WithEventId(const Aws::String &value)
GetInternetEventResult & WithEventArn(const Aws::String &value)
GetInternetEventResult & WithEventArn(Aws::String &&value)
void SetEventStatus(const InternetEventStatus &value)
GetInternetEventResult & WithEndedAt(const Aws::Utils::DateTime &value)
GetInternetEventResult & WithEventType(const InternetEventType &value)
GetInternetEventResult & WithEndedAt(Aws::Utils::DateTime &&value)
GetInternetEventResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetInternetEventResult & WithEventStatus(InternetEventStatus &&value)
AWS_INTERNETMONITOR_API GetInternetEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInternetEventResult & WithEventId(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetInternetEventResult & WithClientLocation(const ClientLocation &value)
GetInternetEventResult & WithEventType(InternetEventType &&value)
GetInternetEventResult & WithRequestId(Aws::String &&value)
GetInternetEventResult & WithEventId(const char *value)
GetInternetEventResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue