AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Participant.h
1
6#pragma once
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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ivsrealtime
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_IVSREALTIME_API Participant();
41 AWS_IVSREALTIME_API Participant(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IVSREALTIME_API Participant& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
51 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
52 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
53 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
54 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
55 inline Participant& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
56 inline Participant& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
57 inline Participant& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
59
61
68 inline const Aws::String& GetUserId() const{ return m_userId; }
69 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
70 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
71 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
72 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
73 inline Participant& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
74 inline Participant& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
75 inline Participant& WithUserId(const char* value) { SetUserId(value); return *this;}
77
79
82 inline const ParticipantState& GetState() const{ return m_state; }
83 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
84 inline void SetState(const ParticipantState& value) { m_stateHasBeenSet = true; m_state = value; }
85 inline void SetState(ParticipantState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
86 inline Participant& WithState(const ParticipantState& value) { SetState(value); return *this;}
87 inline Participant& WithState(ParticipantState&& value) { SetState(std::move(value)); return *this;}
89
91
95 inline const Aws::Utils::DateTime& GetFirstJoinTime() const{ return m_firstJoinTime; }
96 inline bool FirstJoinTimeHasBeenSet() const { return m_firstJoinTimeHasBeenSet; }
97 inline void SetFirstJoinTime(const Aws::Utils::DateTime& value) { m_firstJoinTimeHasBeenSet = true; m_firstJoinTime = value; }
98 inline void SetFirstJoinTime(Aws::Utils::DateTime&& value) { m_firstJoinTimeHasBeenSet = true; m_firstJoinTime = std::move(value); }
99 inline Participant& WithFirstJoinTime(const Aws::Utils::DateTime& value) { SetFirstJoinTime(value); return *this;}
100 inline Participant& WithFirstJoinTime(Aws::Utils::DateTime&& value) { SetFirstJoinTime(std::move(value)); return *this;}
102
104
111 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
112 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
113 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
114 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
115 inline Participant& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
116 inline Participant& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
117 inline Participant& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
118 inline Participant& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
119 inline Participant& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
120 inline Participant& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
121 inline Participant& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
122 inline Participant& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
123 inline Participant& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
125
127
130 inline bool GetPublished() const{ return m_published; }
131 inline bool PublishedHasBeenSet() const { return m_publishedHasBeenSet; }
132 inline void SetPublished(bool value) { m_publishedHasBeenSet = true; m_published = value; }
133 inline Participant& WithPublished(bool value) { SetPublished(value); return *this;}
135
137
140 inline const Aws::String& GetIspName() const{ return m_ispName; }
141 inline bool IspNameHasBeenSet() const { return m_ispNameHasBeenSet; }
142 inline void SetIspName(const Aws::String& value) { m_ispNameHasBeenSet = true; m_ispName = value; }
143 inline void SetIspName(Aws::String&& value) { m_ispNameHasBeenSet = true; m_ispName = std::move(value); }
144 inline void SetIspName(const char* value) { m_ispNameHasBeenSet = true; m_ispName.assign(value); }
145 inline Participant& WithIspName(const Aws::String& value) { SetIspName(value); return *this;}
146 inline Participant& WithIspName(Aws::String&& value) { SetIspName(std::move(value)); return *this;}
147 inline Participant& WithIspName(const char* value) { SetIspName(value); return *this;}
149
151
154 inline const Aws::String& GetOsName() const{ return m_osName; }
155 inline bool OsNameHasBeenSet() const { return m_osNameHasBeenSet; }
156 inline void SetOsName(const Aws::String& value) { m_osNameHasBeenSet = true; m_osName = value; }
157 inline void SetOsName(Aws::String&& value) { m_osNameHasBeenSet = true; m_osName = std::move(value); }
158 inline void SetOsName(const char* value) { m_osNameHasBeenSet = true; m_osName.assign(value); }
159 inline Participant& WithOsName(const Aws::String& value) { SetOsName(value); return *this;}
160 inline Participant& WithOsName(Aws::String&& value) { SetOsName(std::move(value)); return *this;}
161 inline Participant& WithOsName(const char* value) { SetOsName(value); return *this;}
163
165
168 inline const Aws::String& GetOsVersion() const{ return m_osVersion; }
169 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
170 inline void SetOsVersion(const Aws::String& value) { m_osVersionHasBeenSet = true; m_osVersion = value; }
171 inline void SetOsVersion(Aws::String&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::move(value); }
172 inline void SetOsVersion(const char* value) { m_osVersionHasBeenSet = true; m_osVersion.assign(value); }
173 inline Participant& WithOsVersion(const Aws::String& value) { SetOsVersion(value); return *this;}
174 inline Participant& WithOsVersion(Aws::String&& value) { SetOsVersion(std::move(value)); return *this;}
175 inline Participant& WithOsVersion(const char* value) { SetOsVersion(value); return *this;}
177
179
182 inline const Aws::String& GetBrowserName() const{ return m_browserName; }
183 inline bool BrowserNameHasBeenSet() const { return m_browserNameHasBeenSet; }
184 inline void SetBrowserName(const Aws::String& value) { m_browserNameHasBeenSet = true; m_browserName = value; }
185 inline void SetBrowserName(Aws::String&& value) { m_browserNameHasBeenSet = true; m_browserName = std::move(value); }
186 inline void SetBrowserName(const char* value) { m_browserNameHasBeenSet = true; m_browserName.assign(value); }
187 inline Participant& WithBrowserName(const Aws::String& value) { SetBrowserName(value); return *this;}
188 inline Participant& WithBrowserName(Aws::String&& value) { SetBrowserName(std::move(value)); return *this;}
189 inline Participant& WithBrowserName(const char* value) { SetBrowserName(value); return *this;}
191
193
196 inline const Aws::String& GetBrowserVersion() const{ return m_browserVersion; }
197 inline bool BrowserVersionHasBeenSet() const { return m_browserVersionHasBeenSet; }
198 inline void SetBrowserVersion(const Aws::String& value) { m_browserVersionHasBeenSet = true; m_browserVersion = value; }
199 inline void SetBrowserVersion(Aws::String&& value) { m_browserVersionHasBeenSet = true; m_browserVersion = std::move(value); }
200 inline void SetBrowserVersion(const char* value) { m_browserVersionHasBeenSet = true; m_browserVersion.assign(value); }
201 inline Participant& WithBrowserVersion(const Aws::String& value) { SetBrowserVersion(value); return *this;}
202 inline Participant& WithBrowserVersion(Aws::String&& value) { SetBrowserVersion(std::move(value)); return *this;}
203 inline Participant& WithBrowserVersion(const char* value) { SetBrowserVersion(value); return *this;}
205
207
210 inline const Aws::String& GetSdkVersion() const{ return m_sdkVersion; }
211 inline bool SdkVersionHasBeenSet() const { return m_sdkVersionHasBeenSet; }
212 inline void SetSdkVersion(const Aws::String& value) { m_sdkVersionHasBeenSet = true; m_sdkVersion = value; }
213 inline void SetSdkVersion(Aws::String&& value) { m_sdkVersionHasBeenSet = true; m_sdkVersion = std::move(value); }
214 inline void SetSdkVersion(const char* value) { m_sdkVersionHasBeenSet = true; m_sdkVersion.assign(value); }
215 inline Participant& WithSdkVersion(const Aws::String& value) { SetSdkVersion(value); return *this;}
216 inline Participant& WithSdkVersion(Aws::String&& value) { SetSdkVersion(std::move(value)); return *this;}
217 inline Participant& WithSdkVersion(const char* value) { SetSdkVersion(value); return *this;}
219
221
226 inline const Aws::String& GetRecordingS3BucketName() const{ return m_recordingS3BucketName; }
227 inline bool RecordingS3BucketNameHasBeenSet() const { return m_recordingS3BucketNameHasBeenSet; }
228 inline void SetRecordingS3BucketName(const Aws::String& value) { m_recordingS3BucketNameHasBeenSet = true; m_recordingS3BucketName = value; }
229 inline void SetRecordingS3BucketName(Aws::String&& value) { m_recordingS3BucketNameHasBeenSet = true; m_recordingS3BucketName = std::move(value); }
230 inline void SetRecordingS3BucketName(const char* value) { m_recordingS3BucketNameHasBeenSet = true; m_recordingS3BucketName.assign(value); }
231 inline Participant& WithRecordingS3BucketName(const Aws::String& value) { SetRecordingS3BucketName(value); return *this;}
232 inline Participant& WithRecordingS3BucketName(Aws::String&& value) { SetRecordingS3BucketName(std::move(value)); return *this;}
233 inline Participant& WithRecordingS3BucketName(const char* value) { SetRecordingS3BucketName(value); return *this;}
235
237
242 inline const Aws::String& GetRecordingS3Prefix() const{ return m_recordingS3Prefix; }
243 inline bool RecordingS3PrefixHasBeenSet() const { return m_recordingS3PrefixHasBeenSet; }
244 inline void SetRecordingS3Prefix(const Aws::String& value) { m_recordingS3PrefixHasBeenSet = true; m_recordingS3Prefix = value; }
245 inline void SetRecordingS3Prefix(Aws::String&& value) { m_recordingS3PrefixHasBeenSet = true; m_recordingS3Prefix = std::move(value); }
246 inline void SetRecordingS3Prefix(const char* value) { m_recordingS3PrefixHasBeenSet = true; m_recordingS3Prefix.assign(value); }
247 inline Participant& WithRecordingS3Prefix(const Aws::String& value) { SetRecordingS3Prefix(value); return *this;}
248 inline Participant& WithRecordingS3Prefix(Aws::String&& value) { SetRecordingS3Prefix(std::move(value)); return *this;}
249 inline Participant& WithRecordingS3Prefix(const char* value) { SetRecordingS3Prefix(value); return *this;}
251
253
256 inline const ParticipantRecordingState& GetRecordingState() const{ return m_recordingState; }
257 inline bool RecordingStateHasBeenSet() const { return m_recordingStateHasBeenSet; }
258 inline void SetRecordingState(const ParticipantRecordingState& value) { m_recordingStateHasBeenSet = true; m_recordingState = value; }
259 inline void SetRecordingState(ParticipantRecordingState&& value) { m_recordingStateHasBeenSet = true; m_recordingState = std::move(value); }
260 inline Participant& WithRecordingState(const ParticipantRecordingState& value) { SetRecordingState(value); return *this;}
261 inline Participant& WithRecordingState(ParticipantRecordingState&& value) { SetRecordingState(std::move(value)); return *this;}
263
265
268 inline const ParticipantProtocol& GetProtocol() const{ return m_protocol; }
269 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
270 inline void SetProtocol(const ParticipantProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
271 inline void SetProtocol(ParticipantProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
272 inline Participant& WithProtocol(const ParticipantProtocol& value) { SetProtocol(value); return *this;}
273 inline Participant& WithProtocol(ParticipantProtocol&& value) { SetProtocol(std::move(value)); return *this;}
275 private:
276
277 Aws::String m_participantId;
278 bool m_participantIdHasBeenSet = false;
279
280 Aws::String m_userId;
281 bool m_userIdHasBeenSet = false;
282
283 ParticipantState m_state;
284 bool m_stateHasBeenSet = false;
285
286 Aws::Utils::DateTime m_firstJoinTime;
287 bool m_firstJoinTimeHasBeenSet = false;
288
290 bool m_attributesHasBeenSet = false;
291
292 bool m_published;
293 bool m_publishedHasBeenSet = false;
294
295 Aws::String m_ispName;
296 bool m_ispNameHasBeenSet = false;
297
298 Aws::String m_osName;
299 bool m_osNameHasBeenSet = false;
300
301 Aws::String m_osVersion;
302 bool m_osVersionHasBeenSet = false;
303
304 Aws::String m_browserName;
305 bool m_browserNameHasBeenSet = false;
306
307 Aws::String m_browserVersion;
308 bool m_browserVersionHasBeenSet = false;
309
310 Aws::String m_sdkVersion;
311 bool m_sdkVersionHasBeenSet = false;
312
313 Aws::String m_recordingS3BucketName;
314 bool m_recordingS3BucketNameHasBeenSet = false;
315
316 Aws::String m_recordingS3Prefix;
317 bool m_recordingS3PrefixHasBeenSet = false;
318
319 ParticipantRecordingState m_recordingState;
320 bool m_recordingStateHasBeenSet = false;
321
322 ParticipantProtocol m_protocol;
323 bool m_protocolHasBeenSet = false;
324 };
325
326} // namespace Model
327} // namespace ivsrealtime
328} // namespace Aws
void SetRecordingS3Prefix(Aws::String &&value)
void SetOsVersion(const char *value)
void SetState(ParticipantState &&value)
Definition Participant.h:85
void SetRecordingState(ParticipantRecordingState &&value)
void SetOsName(Aws::String &&value)
Participant & WithIspName(const char *value)
Participant & WithProtocol(const ParticipantProtocol &value)
AWS_IVSREALTIME_API Participant(Aws::Utils::Json::JsonView jsonValue)
Participant & WithOsName(const char *value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Participant & WithParticipantId(const Aws::String &value)
Definition Participant.h:55
void SetOsVersion(Aws::String &&value)
void SetRecordingS3BucketName(const Aws::String &value)
void SetBrowserName(const Aws::String &value)
void SetBrowserVersion(Aws::String &&value)
void SetRecordingState(const ParticipantRecordingState &value)
void SetFirstJoinTime(Aws::Utils::DateTime &&value)
Definition Participant.h:98
Participant & WithParticipantId(const char *value)
Definition Participant.h:57
Participant & WithOsVersion(const char *value)
void SetRecordingS3BucketName(const char *value)
Participant & WithUserId(Aws::String &&value)
Definition Participant.h:74
Participant & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetIspName() const
Participant & WithBrowserVersion(const char *value)
Participant & WithRecordingS3BucketName(const char *value)
const Aws::String & GetSdkVersion() const
Participant & WithBrowserName(const Aws::String &value)
Participant & AddAttributes(const char *key, Aws::String &&value)
void SetUserId(Aws::String &&value)
Definition Participant.h:71
const Aws::String & GetParticipantId() const
Definition Participant.h:50
Participant & WithBrowserName(const char *value)
void SetParticipantId(Aws::String &&value)
Definition Participant.h:53
Participant & WithRecordingS3BucketName(Aws::String &&value)
const Aws::String & GetUserId() const
Definition Participant.h:68
void SetProtocol(const ParticipantProtocol &value)
Participant & WithOsVersion(const Aws::String &value)
Participant & WithSdkVersion(const Aws::String &value)
Participant & AddAttributes(const char *key, const char *value)
Participant & WithOsName(Aws::String &&value)
void SetParticipantId(const Aws::String &value)
Definition Participant.h:52
void SetIspName(Aws::String &&value)
void SetSdkVersion(const char *value)
const Aws::String & GetOsName() const
const ParticipantState & GetState() const
Definition Participant.h:82
Participant & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetState(const ParticipantState &value)
Definition Participant.h:84
void SetIspName(const char *value)
Participant & WithRecordingS3Prefix(const char *value)
Participant & AddAttributes(Aws::String &&key, const char *value)
void SetRecordingS3Prefix(const Aws::String &value)
Participant & WithUserId(const char *value)
Definition Participant.h:75
void SetSdkVersion(Aws::String &&value)
void SetSdkVersion(const Aws::String &value)
const Aws::String & GetBrowserVersion() const
Participant & WithBrowserName(Aws::String &&value)
const Aws::String & GetRecordingS3Prefix() const
Participant & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetBrowserVersion(const Aws::String &value)
Participant & WithRecordingState(ParticipantRecordingState &&value)
Participant & WithFirstJoinTime(const Aws::Utils::DateTime &value)
Definition Participant.h:99
Participant & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetRecordingS3Prefix(const char *value)
Participant & WithUserId(const Aws::String &value)
Definition Participant.h:73
void SetOsVersion(const Aws::String &value)
Participant & WithIspName(Aws::String &&value)
void SetOsName(const char *value)
Participant & WithSdkVersion(const char *value)
Participant & WithState(ParticipantState &&value)
Definition Participant.h:87
Participant & WithBrowserVersion(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Participant & WithFirstJoinTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFirstJoinTime() const
Definition Participant.h:95
const Aws::String & GetBrowserName() const
Participant & WithRecordingS3BucketName(const Aws::String &value)
AWS_IVSREALTIME_API Participant & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParticipantId(const char *value)
Definition Participant.h:54
Participant & AddAttributes(const Aws::String &key, Aws::String &&value)
Participant & WithBrowserVersion(Aws::String &&value)
const Aws::String & GetRecordingS3BucketName() const
void SetUserId(const char *value)
Definition Participant.h:72
void SetUserId(const Aws::String &value)
Definition Participant.h:70
const ParticipantProtocol & GetProtocol() const
Participant & WithState(const ParticipantState &value)
Definition Participant.h:86
const Aws::String & GetOsVersion() const
void SetBrowserName(const char *value)
void SetOsName(const Aws::String &value)
Participant & WithParticipantId(Aws::String &&value)
Definition Participant.h:56
Participant & WithProtocol(ParticipantProtocol &&value)
Participant & WithOsName(const Aws::String &value)
Participant & WithRecordingState(const ParticipantRecordingState &value)
Participant & WithSdkVersion(Aws::String &&value)
void SetProtocol(ParticipantProtocol &&value)
const ParticipantRecordingState & GetRecordingState() const
void SetIspName(const Aws::String &value)
Participant & WithRecordingS3Prefix(const Aws::String &value)
Participant & WithOsVersion(Aws::String &&value)
Participant & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Participant & WithRecordingS3Prefix(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetRecordingS3BucketName(Aws::String &&value)
Participant & WithPublished(bool value)
void SetBrowserName(Aws::String &&value)
AWS_IVSREALTIME_API Participant()
void SetBrowserVersion(const char *value)
void SetFirstJoinTime(const Aws::Utils::DateTime &value)
Definition Participant.h:97
Participant & WithIspName(const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
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