7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/EventCode.h>
34 AWS_GAMELIFT_API
Event() =
default;
35 AWS_GAMELIFT_API
Event(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_GAMELIFT_API
Event&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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>
202 m_eventCodeHasBeenSet =
true;
217 template <
typename MessageT = Aws::String>
219 m_messageHasBeenSet =
true;
220 m_message = std::forward<MessageT>(value);
222 template <
typename MessageT = Aws::String>
236 template <
typename EventTimeT = Aws::Utils::DateTime>
238 m_eventTimeHasBeenSet =
true;
239 m_eventTime = std::forward<EventTimeT>(value);
241 template <
typename EventTimeT = Aws::Utils::DateTime>
256 template <
typename PreSignedLogUrlT = Aws::String>
258 m_preSignedLogUrlHasBeenSet =
true;
259 m_preSignedLogUrl = std::forward<PreSignedLogUrlT>(value);
261 template <
typename PreSignedLogUrlT = Aws::String>
272 inline long long GetCount()
const {
return m_count; }
275 m_countHasBeenSet =
true;
296 long long m_count{0};
297 bool m_eventIdHasBeenSet =
false;
298 bool m_resourceIdHasBeenSet =
false;
299 bool m_eventCodeHasBeenSet =
false;
300 bool m_messageHasBeenSet =
false;
301 bool m_eventTimeHasBeenSet =
false;
302 bool m_preSignedLogUrlHasBeenSet =
false;
303 bool m_countHasBeenSet =
false;
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
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)
bool MessageHasBeenSet() const
EventCode GetEventCode() const
Event & WithPreSignedLogUrl(PreSignedLogUrlT &&value)
AWS_GAMELIFT_API Event & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetEventCode(EventCode value)
void SetEventId(EventIdT &&value)
AWS_GAMELIFT_API Event()=default
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
AWS_GAMELIFT_API Event(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
long long GetCount() const
Event & WithCount(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String