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>
37 AWS_IVSREALTIME_API
Event() =
default;
60 template<
typename ParticipantIdT = Aws::String>
61 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet =
true; m_participantId = std::forward<ParticipantIdT>(value); }
62 template<
typename ParticipantIdT = Aws::String>
72 template<
typename EventTimeT = Aws::Utils::DateTime>
73 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
74 template<
typename EventTimeT = Aws::Utils::DateTime>
86 template<
typename RemoteParticipantIdT = Aws::String>
87 void SetRemoteParticipantId(RemoteParticipantIdT&& value) { m_remoteParticipantIdHasBeenSet =
true; m_remoteParticipantId = std::forward<RemoteParticipantIdT>(value); }
88 template<
typename RemoteParticipantIdT = Aws::String>
151 template<
typename DestinationStageArnT = Aws::String>
152 void SetDestinationStageArn(DestinationStageArnT&& value) { m_destinationStageArnHasBeenSet =
true; m_destinationStageArn = std::forward<DestinationStageArnT>(value); }
153 template<
typename DestinationStageArnT = Aws::String>
165 template<
typename DestinationSessionIdT = Aws::String>
166 void SetDestinationSessionId(DestinationSessionIdT&& value) { m_destinationSessionIdHasBeenSet =
true; m_destinationSessionId = std::forward<DestinationSessionIdT>(value); }
167 template<
typename DestinationSessionIdT = Aws::String>
179 inline void SetReplica(
bool value) { m_replicaHasBeenSet =
true; m_replica = value; }
185 bool m_nameHasBeenSet =
false;
188 bool m_participantIdHasBeenSet =
false;
191 bool m_eventTimeHasBeenSet =
false;
194 bool m_remoteParticipantIdHasBeenSet =
false;
197 bool m_errorCodeHasBeenSet =
false;
200 bool m_destinationStageArnHasBeenSet =
false;
203 bool m_destinationSessionIdHasBeenSet =
false;
205 bool m_replica{
false};
206 bool m_replicaHasBeenSet =
false;
EventName GetName() const
AWS_IVSREALTIME_API Event(Aws::Utils::Json::JsonView jsonValue)
bool DestinationSessionIdHasBeenSet() const
bool ReplicaHasBeenSet() const
Event & WithRemoteParticipantId(RemoteParticipantIdT &&value)
const Aws::String & GetDestinationStageArn() const
Event & WithReplica(bool value)
void SetDestinationStageArn(DestinationStageArnT &&value)
void SetName(EventName value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRemoteParticipantId(RemoteParticipantIdT &&value)
void SetErrorCode(EventErrorCode value)
const Aws::String & GetDestinationSessionId() const
EventErrorCode GetErrorCode() const
void SetEventTime(EventTimeT &&value)
AWS_IVSREALTIME_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API Event()=default
bool NameHasBeenSet() const
Event & WithParticipantId(ParticipantIdT &&value)
bool ParticipantIdHasBeenSet() const
Event & WithErrorCode(EventErrorCode value)
void SetDestinationSessionId(DestinationSessionIdT &&value)
bool EventTimeHasBeenSet() const
void SetParticipantId(ParticipantIdT &&value)
Event & WithDestinationStageArn(DestinationStageArnT &&value)
const Aws::String & GetRemoteParticipantId() const
Event & WithName(EventName value)
bool ErrorCodeHasBeenSet() const
Event & WithEventTime(EventTimeT &&value)
const Aws::String & GetParticipantId() const
const Aws::Utils::DateTime & GetEventTime() const
Event & WithDestinationSessionId(DestinationSessionIdT &&value)
bool DestinationStageArnHasBeenSet() const
bool RemoteParticipantIdHasBeenSet() const
void SetReplica(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue