7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/EventCode.h>
10#include <aws/core/utils/DateTime.h>
39 AWS_GAMELIFT_API
Event() =
default;
51 template<
typename EventIdT = Aws::String>
52 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
53 template<
typename EventIdT = Aws::String>
63 template<
typename ResourceIdT = Aws::String>
64 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
65 template<
typename ResourceIdT = Aws::String>
203 template<
typename MessageT = Aws::String>
204 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
205 template<
typename MessageT = Aws::String>
216 template<
typename EventTimeT = Aws::Utils::DateTime>
217 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
218 template<
typename EventTimeT = Aws::Utils::DateTime>
230 template<
typename PreSignedLogUrlT = Aws::String>
231 void SetPreSignedLogUrl(PreSignedLogUrlT&& value) { m_preSignedLogUrlHasBeenSet =
true; m_preSignedLogUrl = std::forward<PreSignedLogUrlT>(value); }
232 template<
typename PreSignedLogUrlT = Aws::String>
240 inline long long GetCount()
const {
return m_count; }
242 inline void SetCount(
long long value) { m_countHasBeenSet =
true; m_count = value; }
248 bool m_eventIdHasBeenSet =
false;
251 bool m_resourceIdHasBeenSet =
false;
254 bool m_eventCodeHasBeenSet =
false;
257 bool m_messageHasBeenSet =
false;
260 bool m_eventTimeHasBeenSet =
false;
263 bool m_preSignedLogUrlHasBeenSet =
false;
265 long long m_count{0};
266 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