7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
11#include <aws/ivs-realtime/model/ParticipantProtocol.h>
12#include <aws/ivs-realtime/model/ParticipantRecordingState.h>
13#include <aws/ivs-realtime/model/ParticipantState.h>
14#include <aws/ivs-realtime/model/ReplicationState.h>
15#include <aws/ivs-realtime/model/ReplicationType.h>
26namespace ivsrealtime {
48 template <
typename ParticipantIdT = Aws::String>
50 m_participantIdHasBeenSet =
true;
51 m_participantId = std::forward<ParticipantIdT>(value);
53 template <
typename ParticipantIdT = Aws::String>
70 template <
typename UserIdT = Aws::String>
72 m_userIdHasBeenSet =
true;
73 m_userId = std::forward<UserIdT>(value);
75 template <
typename UserIdT = Aws::String>
89 m_stateHasBeenSet =
true;
105 template <
typename FirstJoinTimeT = Aws::Utils::DateTime>
107 m_firstJoinTimeHasBeenSet =
true;
108 m_firstJoinTime = std::forward<FirstJoinTimeT>(value);
110 template <
typename FirstJoinTimeT = Aws::Utils::DateTime>
127 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
129 m_attributesHasBeenSet =
true;
130 m_attributes = std::forward<AttributesT>(value);
132 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
137 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
139 m_attributesHasBeenSet =
true;
140 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
152 m_publishedHasBeenSet =
true;
167 template <
typename IspNameT = Aws::String>
169 m_ispNameHasBeenSet =
true;
170 m_ispName = std::forward<IspNameT>(value);
172 template <
typename IspNameT = Aws::String>
185 template <
typename OsNameT = Aws::String>
187 m_osNameHasBeenSet =
true;
188 m_osName = std::forward<OsNameT>(value);
190 template <
typename OsNameT = Aws::String>
203 template <
typename OsVersionT = Aws::String>
205 m_osVersionHasBeenSet =
true;
206 m_osVersion = std::forward<OsVersionT>(value);
208 template <
typename OsVersionT = Aws::String>
221 template <
typename BrowserNameT = Aws::String>
223 m_browserNameHasBeenSet =
true;
224 m_browserName = std::forward<BrowserNameT>(value);
226 template <
typename BrowserNameT = Aws::String>
239 template <
typename BrowserVersionT = Aws::String>
241 m_browserVersionHasBeenSet =
true;
242 m_browserVersion = std::forward<BrowserVersionT>(value);
244 template <
typename BrowserVersionT = Aws::String>
257 template <
typename SdkVersionT = Aws::String>
259 m_sdkVersionHasBeenSet =
true;
260 m_sdkVersion = std::forward<SdkVersionT>(value);
262 template <
typename SdkVersionT = Aws::String>
277 template <
typename RecordingS3BucketNameT = Aws::String>
279 m_recordingS3BucketNameHasBeenSet =
true;
280 m_recordingS3BucketName = std::forward<RecordingS3BucketNameT>(value);
282 template <
typename RecordingS3BucketNameT = Aws::String>
301 template <
typename RecordingS3PrefixT = Aws::String>
303 m_recordingS3PrefixHasBeenSet =
true;
304 m_recordingS3Prefix = std::forward<RecordingS3PrefixT>(value);
306 template <
typename RecordingS3PrefixT = Aws::String>
320 m_recordingStateHasBeenSet =
true;
321 m_recordingState = value;
336 m_protocolHasBeenSet =
true;
353 m_replicationTypeHasBeenSet =
true;
354 m_replicationType = value;
369 m_replicationStateHasBeenSet =
true;
370 m_replicationState = value;
385 template <
typename SourceStageArnT = Aws::String>
387 m_sourceStageArnHasBeenSet =
true;
388 m_sourceStageArn = std::forward<SourceStageArnT>(value);
390 template <
typename SourceStageArnT = Aws::String>
404 template <
typename SourceSessionIdT = Aws::String>
406 m_sourceSessionIdHasBeenSet =
true;
407 m_sourceSessionId = std::forward<SourceSessionIdT>(value);
409 template <
typename SourceSessionIdT = Aws::String>
426 bool m_published{
false};
455 bool m_participantIdHasBeenSet =
false;
456 bool m_userIdHasBeenSet =
false;
457 bool m_stateHasBeenSet =
false;
458 bool m_firstJoinTimeHasBeenSet =
false;
459 bool m_attributesHasBeenSet =
false;
460 bool m_publishedHasBeenSet =
false;
461 bool m_ispNameHasBeenSet =
false;
462 bool m_osNameHasBeenSet =
false;
463 bool m_osVersionHasBeenSet =
false;
464 bool m_browserNameHasBeenSet =
false;
465 bool m_browserVersionHasBeenSet =
false;
466 bool m_sdkVersionHasBeenSet =
false;
467 bool m_recordingS3BucketNameHasBeenSet =
false;
468 bool m_recordingS3PrefixHasBeenSet =
false;
469 bool m_recordingStateHasBeenSet =
false;
470 bool m_protocolHasBeenSet =
false;
471 bool m_replicationTypeHasBeenSet =
false;
472 bool m_replicationStateHasBeenSet =
false;
473 bool m_sourceStageArnHasBeenSet =
false;
474 bool m_sourceSessionIdHasBeenSet =
false;
Participant & WithIspName(IspNameT &&value)
void SetSdkVersion(SdkVersionT &&value)
bool SourceSessionIdHasBeenSet() const
AWS_IVSREALTIME_API Participant(Aws::Utils::Json::JsonView jsonValue)
ParticipantProtocol GetProtocol() const
ReplicationState GetReplicationState() const
void SetOsVersion(OsVersionT &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserIdHasBeenSet() const
bool AttributesHasBeenSet() const
bool IspNameHasBeenSet() const
Participant & WithUserId(UserIdT &&value)
Participant & WithFirstJoinTime(FirstJoinTimeT &&value)
bool GetPublished() const
void SetUserId(UserIdT &&value)
Participant & WithSdkVersion(SdkVersionT &&value)
Participant & WithSourceSessionId(SourceSessionIdT &&value)
const Aws::String & GetIspName() const
void SetOsName(OsNameT &&value)
bool ReplicationTypeHasBeenSet() const
const Aws::String & GetSdkVersion() const
Participant & WithAttributes(AttributesT &&value)
void SetReplicationState(ReplicationState value)
void SetSourceSessionId(SourceSessionIdT &&value)
const Aws::String & GetParticipantId() const
bool SdkVersionHasBeenSet() const
const Aws::String & GetUserId() const
bool ReplicationStateHasBeenSet() const
ParticipantRecordingState GetRecordingState() const
const Aws::String & GetOsName() const
void SetParticipantId(ParticipantIdT &&value)
ParticipantState GetState() const
bool ParticipantIdHasBeenSet() const
Participant & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Participant & WithRecordingS3Prefix(RecordingS3PrefixT &&value)
ReplicationType GetReplicationType() const
Participant & WithOsVersion(OsVersionT &&value)
const Aws::String & GetBrowserVersion() const
bool RecordingStateHasBeenSet() const
void SetBrowserName(BrowserNameT &&value)
bool RecordingS3PrefixHasBeenSet() const
const Aws::String & GetRecordingS3Prefix() const
void SetRecordingS3BucketName(RecordingS3BucketNameT &&value)
Participant & WithProtocol(ParticipantProtocol value)
Participant & WithSourceStageArn(SourceStageArnT &&value)
bool SourceStageArnHasBeenSet() const
Participant & WithReplicationState(ReplicationState value)
bool ProtocolHasBeenSet() const
bool BrowserNameHasBeenSet() const
Participant & WithRecordingState(ParticipantRecordingState value)
Participant & WithRecordingS3BucketName(RecordingS3BucketNameT &&value)
Participant & WithReplicationType(ReplicationType value)
Participant & WithBrowserVersion(BrowserVersionT &&value)
bool StateHasBeenSet() const
void SetReplicationType(ReplicationType value)
void SetFirstJoinTime(FirstJoinTimeT &&value)
Participant & WithState(ParticipantState value)
Participant & WithBrowserName(BrowserNameT &&value)
const Aws::Utils::DateTime & GetFirstJoinTime() const
const Aws::String & GetBrowserName() const
bool FirstJoinTimeHasBeenSet() const
AWS_IVSREALTIME_API Participant & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OsVersionHasBeenSet() const
bool PublishedHasBeenSet() const
const Aws::String & GetRecordingS3BucketName() const
void SetProtocol(ParticipantProtocol value)
bool RecordingS3BucketNameHasBeenSet() const
const Aws::String & GetSourceStageArn() const
Participant & WithOsName(OsNameT &&value)
void SetPublished(bool value)
void SetIspName(IspNameT &&value)
void SetAttributes(AttributesT &&value)
bool OsNameHasBeenSet() const
const Aws::String & GetOsVersion() const
AWS_IVSREALTIME_API Participant()=default
const Aws::String & GetSourceSessionId() const
void SetState(ParticipantState value)
void SetRecordingState(ParticipantRecordingState value)
Participant & WithParticipantId(ParticipantIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetBrowserVersion(BrowserVersionT &&value)
Participant & WithPublished(bool value)
void SetSourceStageArn(SourceStageArnT &&value)
void SetRecordingS3Prefix(RecordingS3PrefixT &&value)
bool BrowserVersionHasBeenSet() const
ParticipantRecordingState
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue