7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/EventCode.h>
34 AWS_GAMELIFT_API
Event() =
default;
45 template <
typename EventIdT = Aws::String>
47 m_eventIdHasBeenSet =
true;
48 m_eventId = std::forward<EventIdT>(value);
50 template <
typename EventIdT = Aws::String>
63 template <
typename ResourceIdT = Aws::String>
65 m_resourceIdHasBeenSet =
true;
66 m_resourceId = std::forward<ResourceIdT>(value);
68 template <
typename ResourceIdT = Aws::String>
200 m_eventCodeHasBeenSet =
true;
215 template <
typename MessageT = Aws::String>
217 m_messageHasBeenSet =
true;
218 m_message = std::forward<MessageT>(value);
220 template <
typename MessageT = Aws::String>
234 template <
typename EventTimeT = Aws::Utils::DateTime>
236 m_eventTimeHasBeenSet =
true;
237 m_eventTime = std::forward<EventTimeT>(value);
239 template <
typename EventTimeT = Aws::Utils::DateTime>
254 template <
typename PreSignedLogUrlT = Aws::String>
256 m_preSignedLogUrlHasBeenSet =
true;
257 m_preSignedLogUrl = std::forward<PreSignedLogUrlT>(value);
259 template <
typename PreSignedLogUrlT = Aws::String>
270 inline long long GetCount()
const {
return m_count; }
273 m_countHasBeenSet =
true;
294 long long m_count{0};
295 bool m_eventIdHasBeenSet =
false;
296 bool m_resourceIdHasBeenSet =
false;
297 bool m_eventCodeHasBeenSet =
false;
298 bool m_messageHasBeenSet =
false;
299 bool m_eventTimeHasBeenSet =
false;
300 bool m_preSignedLogUrlHasBeenSet =
false;
301 bool m_countHasBeenSet =
false;
const Aws::Utils::DateTime & GetEventTime() const
void SetPreSignedLogUrl(PreSignedLogUrlT &&value)
bool EventTimeHasBeenSet() const
bool EventCodeHasBeenSet() const
Event & WithEventTime(EventTimeT &&value)
bool CountHasBeenSet() const
const Aws::String & GetMessage() const
bool EventIdHasBeenSet() const
bool PreSignedLogUrlHasBeenSet() const
void SetEventTime(EventTimeT &&value)
AWS_GAMELIFT_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
EventCode GetEventCode() const
Event & WithPreSignedLogUrl(PreSignedLogUrlT &&value)
void SetEventCode(EventCode value)
AWS_GAMELIFT_API Event(Aws::Utils::Json::JsonView jsonValue)
void SetEventId(EventIdT &&value)
AWS_GAMELIFT_API Event()=default
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
Event & WithMessage(MessageT &&value)
void SetResourceId(ResourceIdT &&value)
Event & WithResourceId(ResourceIdT &&value)
const Aws::String & GetPreSignedLogUrl() const
void SetCount(long long value)
Event & WithEventCode(EventCode value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetEventId() const
Event & WithEventId(EventIdT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetResourceId() const
long long GetCount() const
Event & WithCount(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue