AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParticipantCapabilities.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/VideoCapability.h>
9#include <aws/connect/model/ScreenShareCapability.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CONNECT_API ParticipantCapabilities();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const VideoCapability& GetVideo() const{ return m_video; }
51 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
52 inline void SetVideo(const VideoCapability& value) { m_videoHasBeenSet = true; m_video = value; }
53 inline void SetVideo(VideoCapability&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
54 inline ParticipantCapabilities& WithVideo(const VideoCapability& value) { SetVideo(value); return *this;}
55 inline ParticipantCapabilities& WithVideo(VideoCapability&& value) { SetVideo(std::move(value)); return *this;}
57
59
63 inline const ScreenShareCapability& GetScreenShare() const{ return m_screenShare; }
64 inline bool ScreenShareHasBeenSet() const { return m_screenShareHasBeenSet; }
65 inline void SetScreenShare(const ScreenShareCapability& value) { m_screenShareHasBeenSet = true; m_screenShare = value; }
66 inline void SetScreenShare(ScreenShareCapability&& value) { m_screenShareHasBeenSet = true; m_screenShare = std::move(value); }
67 inline ParticipantCapabilities& WithScreenShare(const ScreenShareCapability& value) { SetScreenShare(value); return *this;}
68 inline ParticipantCapabilities& WithScreenShare(ScreenShareCapability&& value) { SetScreenShare(std::move(value)); return *this;}
70 private:
71
72 VideoCapability m_video;
73 bool m_videoHasBeenSet = false;
74
75 ScreenShareCapability m_screenShare;
76 bool m_screenShareHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
ParticipantCapabilities & WithVideo(VideoCapability &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ParticipantCapabilities(Aws::Utils::Json::JsonView jsonValue)
ParticipantCapabilities & WithVideo(const VideoCapability &value)
const ScreenShareCapability & GetScreenShare() const
AWS_CONNECT_API ParticipantCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipantCapabilities & WithScreenShare(ScreenShareCapability &&value)
void SetScreenShare(const ScreenShareCapability &value)
ParticipantCapabilities & WithScreenShare(const ScreenShareCapability &value)
void SetScreenShare(ScreenShareCapability &&value)
Aws::Utils::Json::JsonValue JsonValue