7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/model/EventName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ivs-realtime/model/EventErrorCode.h>
49 inline void SetName(
const EventName& value) { m_nameHasBeenSet =
true; m_name = value; }
50 inline void SetName(
EventName&& value) { m_nameHasBeenSet =
true; m_name = std::move(value); }
64 inline void SetParticipantId(
const char* value) { m_participantIdHasBeenSet =
true; m_participantId.assign(value); }
92 inline void SetRemoteParticipantId(
const char* value) { m_remoteParticipantIdHasBeenSet =
true; m_remoteParticipantId.assign(value); }
153 bool m_nameHasBeenSet =
false;
156 bool m_participantIdHasBeenSet =
false;
159 bool m_eventTimeHasBeenSet =
false;
162 bool m_remoteParticipantIdHasBeenSet =
false;
165 bool m_errorCodeHasBeenSet =
false;
Event & WithParticipantId(const char *value)
void SetRemoteParticipantId(const Aws::String &value)
AWS_IVSREALTIME_API Event(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteParticipantId(const char *value)
const EventName & GetName() const
void SetErrorCode(EventErrorCode &&value)
void SetEventTime(const Aws::Utils::DateTime &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Event & WithName(EventName &&value)
AWS_IVSREALTIME_API Event()
void SetRemoteParticipantId(Aws::String &&value)
AWS_IVSREALTIME_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
Event & WithEventTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
Event & WithErrorCode(const EventErrorCode &value)
Event & WithErrorCode(EventErrorCode &&value)
Event & WithParticipantId(const Aws::String &value)
bool ParticipantIdHasBeenSet() const
void SetName(EventName &&value)
Event & WithRemoteParticipantId(const char *value)
void SetParticipantId(const char *value)
void SetParticipantId(const Aws::String &value)
Event & WithRemoteParticipantId(Aws::String &&value)
bool EventTimeHasBeenSet() const
void SetName(const EventName &value)
void SetErrorCode(const EventErrorCode &value)
void SetParticipantId(Aws::String &&value)
const Aws::String & GetRemoteParticipantId() const
bool ErrorCodeHasBeenSet() const
const EventErrorCode & GetErrorCode() const
void SetEventTime(Aws::Utils::DateTime &&value)
Event & WithRemoteParticipantId(const Aws::String &value)
const Aws::String & GetParticipantId() const
Event & WithEventTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEventTime() const
Event & WithParticipantId(Aws::String &&value)
Event & WithName(const EventName &value)
bool RemoteParticipantIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue