AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
WebRTCConnection.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/Attendee.h>
9#include <aws/connectparticipant/model/WebRTCMeeting.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectParticipant {
21namespace Model {
22
31 public:
32 AWS_CONNECTPARTICIPANT_API WebRTCConnection() = default;
33 AWS_CONNECTPARTICIPANT_API WebRTCConnection(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTPARTICIPANT_API WebRTCConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Attendee& GetAttendee() const { return m_attendee; }
40 inline bool AttendeeHasBeenSet() const { return m_attendeeHasBeenSet; }
41 template <typename AttendeeT = Attendee>
42 void SetAttendee(AttendeeT&& value) {
43 m_attendeeHasBeenSet = true;
44 m_attendee = std::forward<AttendeeT>(value);
45 }
46 template <typename AttendeeT = Attendee>
47 WebRTCConnection& WithAttendee(AttendeeT&& value) {
48 SetAttendee(std::forward<AttendeeT>(value));
49 return *this;
50 }
52
54
57 inline const WebRTCMeeting& GetMeeting() const { return m_meeting; }
58 inline bool MeetingHasBeenSet() const { return m_meetingHasBeenSet; }
59 template <typename MeetingT = WebRTCMeeting>
60 void SetMeeting(MeetingT&& value) {
61 m_meetingHasBeenSet = true;
62 m_meeting = std::forward<MeetingT>(value);
63 }
64 template <typename MeetingT = WebRTCMeeting>
65 WebRTCConnection& WithMeeting(MeetingT&& value) {
66 SetMeeting(std::forward<MeetingT>(value));
67 return *this;
68 }
70 private:
71 Attendee m_attendee;
72
73 WebRTCMeeting m_meeting;
74 bool m_attendeeHasBeenSet = false;
75 bool m_meetingHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ConnectParticipant
80} // namespace Aws
WebRTCConnection & WithMeeting(MeetingT &&value)
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API WebRTCConnection()=default
AWS_CONNECTPARTICIPANT_API WebRTCConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
WebRTCConnection & WithAttendee(AttendeeT &&value)
AWS_CONNECTPARTICIPANT_API WebRTCConnection(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue