7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
10#include <aws/ivs-realtime/model/ParticipantRecordingState.h>
11#include <aws/ivs-realtime/model/ParticipantState.h>
12#include <aws/ivs-realtime/model/ReplicationState.h>
13#include <aws/ivs-realtime/model/ReplicationType.h>
24namespace ivsrealtime {
46 template <
typename ParticipantIdT = Aws::String>
48 m_participantIdHasBeenSet =
true;
49 m_participantId = std::forward<ParticipantIdT>(value);
51 template <
typename ParticipantIdT = Aws::String>
68 template <
typename UserIdT = Aws::String>
70 m_userIdHasBeenSet =
true;
71 m_userId = std::forward<UserIdT>(value);
73 template <
typename UserIdT = Aws::String>
87 m_stateHasBeenSet =
true;
103 template <
typename FirstJoinTimeT = Aws::Utils::DateTime>
105 m_firstJoinTimeHasBeenSet =
true;
106 m_firstJoinTime = std::forward<FirstJoinTimeT>(value);
108 template <
typename FirstJoinTimeT = Aws::Utils::DateTime>
122 m_publishedHasBeenSet =
true;
138 m_recordingStateHasBeenSet =
true;
139 m_recordingState = value;
155 m_replicationTypeHasBeenSet =
true;
156 m_replicationType = value;
171 m_replicationStateHasBeenSet =
true;
172 m_replicationState = value;
187 template <
typename SourceStageArnT = Aws::String>
189 m_sourceStageArnHasBeenSet =
true;
190 m_sourceStageArn = std::forward<SourceStageArnT>(value);
192 template <
typename SourceStageArnT = Aws::String>
206 template <
typename SourceSessionIdT = Aws::String>
208 m_sourceSessionIdHasBeenSet =
true;
209 m_sourceSessionId = std::forward<SourceSessionIdT>(value);
211 template <
typename SourceSessionIdT = Aws::String>
226 bool m_published{
false};
237 bool m_participantIdHasBeenSet =
false;
238 bool m_userIdHasBeenSet =
false;
239 bool m_stateHasBeenSet =
false;
240 bool m_firstJoinTimeHasBeenSet =
false;
241 bool m_publishedHasBeenSet =
false;
242 bool m_recordingStateHasBeenSet =
false;
243 bool m_replicationTypeHasBeenSet =
false;
244 bool m_replicationStateHasBeenSet =
false;
245 bool m_sourceStageArnHasBeenSet =
false;
246 bool m_sourceSessionIdHasBeenSet =
false;
ParticipantSummary & WithSourceSessionId(SourceSessionIdT &&value)
bool FirstJoinTimeHasBeenSet() const
ParticipantState GetState() const
ParticipantSummary & WithReplicationType(ReplicationType value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ParticipantSummary & WithFirstJoinTime(FirstJoinTimeT &&value)
void SetSourceStageArn(SourceStageArnT &&value)
void SetRecordingState(ParticipantRecordingState value)
ReplicationType GetReplicationType() const
void SetReplicationState(ReplicationState value)
void SetPublished(bool value)
const Aws::String & GetSourceSessionId() const
ParticipantSummary & WithSourceStageArn(SourceStageArnT &&value)
const Aws::String & GetParticipantId() const
ParticipantSummary & WithRecordingState(ParticipantRecordingState value)
bool UserIdHasBeenSet() const
bool ReplicationTypeHasBeenSet() const
void SetUserId(UserIdT &&value)
bool ReplicationStateHasBeenSet() const
ParticipantSummary & WithParticipantId(ParticipantIdT &&value)
bool SourceStageArnHasBeenSet() const
bool RecordingStateHasBeenSet() const
ReplicationState GetReplicationState() const
AWS_IVSREALTIME_API ParticipantSummary()=default
bool ParticipantIdHasBeenSet() const
void SetSourceSessionId(SourceSessionIdT &&value)
AWS_IVSREALTIME_API ParticipantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReplicationType(ReplicationType value)
void SetFirstJoinTime(FirstJoinTimeT &&value)
ParticipantSummary & WithReplicationState(ReplicationState value)
ParticipantRecordingState GetRecordingState() const
ParticipantSummary & WithState(ParticipantState value)
bool PublishedHasBeenSet() const
ParticipantSummary & WithPublished(bool value)
ParticipantSummary & WithUserId(UserIdT &&value)
const Aws::Utils::DateTime & GetFirstJoinTime() const
bool StateHasBeenSet() const
void SetState(ParticipantState value)
const Aws::String & GetUserId() const
bool SourceSessionIdHasBeenSet() const
const Aws::String & GetSourceStageArn() const
bool GetPublished() const
void SetParticipantId(ParticipantIdT &&value)
AWS_IVSREALTIME_API ParticipantSummary(Aws::Utils::Json::JsonView jsonValue)
ParticipantRecordingState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue