7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/ParticipantState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ivs-realtime/model/ParticipantRecordingState.h>
13#include <aws/ivs-realtime/model/ParticipantProtocol.h>
14#include <aws/ivs-realtime/model/ReplicationType.h>
15#include <aws/ivs-realtime/model/ReplicationState.h>
54 template<
typename ParticipantIdT = Aws::String>
55 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet =
true; m_participantId = std::forward<ParticipantIdT>(value); }
56 template<
typename ParticipantIdT = Aws::String>
70 template<
typename UserIdT = Aws::String>
71 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
72 template<
typename UserIdT = Aws::String>
93 template<
typename FirstJoinTimeT = Aws::Utils::DateTime>
94 void SetFirstJoinTime(FirstJoinTimeT&& value) { m_firstJoinTimeHasBeenSet =
true; m_firstJoinTime = std::forward<FirstJoinTimeT>(value); }
95 template<
typename FirstJoinTimeT = Aws::Utils::DateTime>
109 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
110 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
111 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
115 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
125 inline void SetPublished(
bool value) { m_publishedHasBeenSet =
true; m_published = value; }
135 template<
typename IspNameT = Aws::String>
136 void SetIspName(IspNameT&& value) { m_ispNameHasBeenSet =
true; m_ispName = std::forward<IspNameT>(value); }
137 template<
typename IspNameT = Aws::String>
147 template<
typename OsNameT = Aws::String>
148 void SetOsName(OsNameT&& value) { m_osNameHasBeenSet =
true; m_osName = std::forward<OsNameT>(value); }
149 template<
typename OsNameT = Aws::String>
159 template<
typename OsVersionT = Aws::String>
160 void SetOsVersion(OsVersionT&& value) { m_osVersionHasBeenSet =
true; m_osVersion = std::forward<OsVersionT>(value); }
161 template<
typename OsVersionT = Aws::String>
171 template<
typename BrowserNameT = Aws::String>
172 void SetBrowserName(BrowserNameT&& value) { m_browserNameHasBeenSet =
true; m_browserName = std::forward<BrowserNameT>(value); }
173 template<
typename BrowserNameT = Aws::String>
183 template<
typename BrowserVersionT = Aws::String>
184 void SetBrowserVersion(BrowserVersionT&& value) { m_browserVersionHasBeenSet =
true; m_browserVersion = std::forward<BrowserVersionT>(value); }
185 template<
typename BrowserVersionT = Aws::String>
195 template<
typename SdkVersionT = Aws::String>
196 void SetSdkVersion(SdkVersionT&& value) { m_sdkVersionHasBeenSet =
true; m_sdkVersion = std::forward<SdkVersionT>(value); }
197 template<
typename SdkVersionT = Aws::String>
209 template<
typename RecordingS3BucketNameT = Aws::String>
210 void SetRecordingS3BucketName(RecordingS3BucketNameT&& value) { m_recordingS3BucketNameHasBeenSet =
true; m_recordingS3BucketName = std::forward<RecordingS3BucketNameT>(value); }
211 template<
typename RecordingS3BucketNameT = Aws::String>
227 template<
typename RecordingS3PrefixT = Aws::String>
228 void SetRecordingS3Prefix(RecordingS3PrefixT&& value) { m_recordingS3PrefixHasBeenSet =
true; m_recordingS3Prefix = std::forward<RecordingS3PrefixT>(value); }
229 template<
typename RecordingS3PrefixT = Aws::String>
281 template<
typename SourceStageArnT = Aws::String>
282 void SetSourceStageArn(SourceStageArnT&& value) { m_sourceStageArnHasBeenSet =
true; m_sourceStageArn = std::forward<SourceStageArnT>(value); }
283 template<
typename SourceStageArnT = Aws::String>
294 template<
typename SourceSessionIdT = Aws::String>
295 void SetSourceSessionId(SourceSessionIdT&& value) { m_sourceSessionIdHasBeenSet =
true; m_sourceSessionId = std::forward<SourceSessionIdT>(value); }
296 template<
typename SourceSessionIdT = Aws::String>
302 bool m_participantIdHasBeenSet =
false;
305 bool m_userIdHasBeenSet =
false;
308 bool m_stateHasBeenSet =
false;
311 bool m_firstJoinTimeHasBeenSet =
false;
314 bool m_attributesHasBeenSet =
false;
316 bool m_published{
false};
317 bool m_publishedHasBeenSet =
false;
320 bool m_ispNameHasBeenSet =
false;
323 bool m_osNameHasBeenSet =
false;
326 bool m_osVersionHasBeenSet =
false;
329 bool m_browserNameHasBeenSet =
false;
332 bool m_browserVersionHasBeenSet =
false;
335 bool m_sdkVersionHasBeenSet =
false;
338 bool m_recordingS3BucketNameHasBeenSet =
false;
341 bool m_recordingS3PrefixHasBeenSet =
false;
344 bool m_recordingStateHasBeenSet =
false;
347 bool m_protocolHasBeenSet =
false;
350 bool m_replicationTypeHasBeenSet =
false;
353 bool m_replicationStateHasBeenSet =
false;
356 bool m_sourceStageArnHasBeenSet =
false;
359 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