AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipConfiguration.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/VideoFillMode.h>
10#include <aws/ivs-realtime/model/PipBehavior.h>
11#include <aws/ivs-realtime/model/PipPosition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ivsrealtime
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_IVSREALTIME_API PipConfiguration();
40 AWS_IVSREALTIME_API PipConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IVSREALTIME_API PipConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetFeaturedParticipantAttribute() const{ return m_featuredParticipantAttribute; }
53 inline bool FeaturedParticipantAttributeHasBeenSet() const { return m_featuredParticipantAttributeHasBeenSet; }
54 inline void SetFeaturedParticipantAttribute(const Aws::String& value) { m_featuredParticipantAttributeHasBeenSet = true; m_featuredParticipantAttribute = value; }
55 inline void SetFeaturedParticipantAttribute(Aws::String&& value) { m_featuredParticipantAttributeHasBeenSet = true; m_featuredParticipantAttribute = std::move(value); }
56 inline void SetFeaturedParticipantAttribute(const char* value) { m_featuredParticipantAttributeHasBeenSet = true; m_featuredParticipantAttribute.assign(value); }
59 inline PipConfiguration& WithFeaturedParticipantAttribute(const char* value) { SetFeaturedParticipantAttribute(value); return *this;}
61
63
67 inline bool GetOmitStoppedVideo() const{ return m_omitStoppedVideo; }
68 inline bool OmitStoppedVideoHasBeenSet() const { return m_omitStoppedVideoHasBeenSet; }
69 inline void SetOmitStoppedVideo(bool value) { m_omitStoppedVideoHasBeenSet = true; m_omitStoppedVideo = value; }
70 inline PipConfiguration& WithOmitStoppedVideo(bool value) { SetOmitStoppedVideo(value); return *this;}
72
74
79 inline const VideoFillMode& GetVideoFillMode() const{ return m_videoFillMode; }
80 inline bool VideoFillModeHasBeenSet() const { return m_videoFillModeHasBeenSet; }
81 inline void SetVideoFillMode(const VideoFillMode& value) { m_videoFillModeHasBeenSet = true; m_videoFillMode = value; }
82 inline void SetVideoFillMode(VideoFillMode&& value) { m_videoFillModeHasBeenSet = true; m_videoFillMode = std::move(value); }
83 inline PipConfiguration& WithVideoFillMode(const VideoFillMode& value) { SetVideoFillMode(value); return *this;}
84 inline PipConfiguration& WithVideoFillMode(VideoFillMode&& value) { SetVideoFillMode(std::move(value)); return *this;}
86
88
92 inline int GetGridGap() const{ return m_gridGap; }
93 inline bool GridGapHasBeenSet() const { return m_gridGapHasBeenSet; }
94 inline void SetGridGap(int value) { m_gridGapHasBeenSet = true; m_gridGap = value; }
95 inline PipConfiguration& WithGridGap(int value) { SetGridGap(value); return *this;}
97
99
105 inline const Aws::String& GetPipParticipantAttribute() const{ return m_pipParticipantAttribute; }
106 inline bool PipParticipantAttributeHasBeenSet() const { return m_pipParticipantAttributeHasBeenSet; }
107 inline void SetPipParticipantAttribute(const Aws::String& value) { m_pipParticipantAttributeHasBeenSet = true; m_pipParticipantAttribute = value; }
108 inline void SetPipParticipantAttribute(Aws::String&& value) { m_pipParticipantAttributeHasBeenSet = true; m_pipParticipantAttribute = std::move(value); }
109 inline void SetPipParticipantAttribute(const char* value) { m_pipParticipantAttributeHasBeenSet = true; m_pipParticipantAttribute.assign(value); }
111 inline PipConfiguration& WithPipParticipantAttribute(Aws::String&& value) { SetPipParticipantAttribute(std::move(value)); return *this;}
112 inline PipConfiguration& WithPipParticipantAttribute(const char* value) { SetPipParticipantAttribute(value); return *this;}
114
116
121 inline const PipBehavior& GetPipBehavior() const{ return m_pipBehavior; }
122 inline bool PipBehaviorHasBeenSet() const { return m_pipBehaviorHasBeenSet; }
123 inline void SetPipBehavior(const PipBehavior& value) { m_pipBehaviorHasBeenSet = true; m_pipBehavior = value; }
124 inline void SetPipBehavior(PipBehavior&& value) { m_pipBehaviorHasBeenSet = true; m_pipBehavior = std::move(value); }
125 inline PipConfiguration& WithPipBehavior(const PipBehavior& value) { SetPipBehavior(value); return *this;}
126 inline PipConfiguration& WithPipBehavior(PipBehavior&& value) { SetPipBehavior(std::move(value)); return *this;}
128
130
134 inline int GetPipOffset() const{ return m_pipOffset; }
135 inline bool PipOffsetHasBeenSet() const { return m_pipOffsetHasBeenSet; }
136 inline void SetPipOffset(int value) { m_pipOffsetHasBeenSet = true; m_pipOffset = value; }
137 inline PipConfiguration& WithPipOffset(int value) { SetPipOffset(value); return *this;}
139
141
145 inline const PipPosition& GetPipPosition() const{ return m_pipPosition; }
146 inline bool PipPositionHasBeenSet() const { return m_pipPositionHasBeenSet; }
147 inline void SetPipPosition(const PipPosition& value) { m_pipPositionHasBeenSet = true; m_pipPosition = value; }
148 inline void SetPipPosition(PipPosition&& value) { m_pipPositionHasBeenSet = true; m_pipPosition = std::move(value); }
149 inline PipConfiguration& WithPipPosition(const PipPosition& value) { SetPipPosition(value); return *this;}
150 inline PipConfiguration& WithPipPosition(PipPosition&& value) { SetPipPosition(std::move(value)); return *this;}
152
154
159 inline int GetPipWidth() const{ return m_pipWidth; }
160 inline bool PipWidthHasBeenSet() const { return m_pipWidthHasBeenSet; }
161 inline void SetPipWidth(int value) { m_pipWidthHasBeenSet = true; m_pipWidth = value; }
162 inline PipConfiguration& WithPipWidth(int value) { SetPipWidth(value); return *this;}
164
166
171 inline int GetPipHeight() const{ return m_pipHeight; }
172 inline bool PipHeightHasBeenSet() const { return m_pipHeightHasBeenSet; }
173 inline void SetPipHeight(int value) { m_pipHeightHasBeenSet = true; m_pipHeight = value; }
174 inline PipConfiguration& WithPipHeight(int value) { SetPipHeight(value); return *this;}
176 private:
177
178 Aws::String m_featuredParticipantAttribute;
179 bool m_featuredParticipantAttributeHasBeenSet = false;
180
181 bool m_omitStoppedVideo;
182 bool m_omitStoppedVideoHasBeenSet = false;
183
184 VideoFillMode m_videoFillMode;
185 bool m_videoFillModeHasBeenSet = false;
186
187 int m_gridGap;
188 bool m_gridGapHasBeenSet = false;
189
190 Aws::String m_pipParticipantAttribute;
191 bool m_pipParticipantAttributeHasBeenSet = false;
192
193 PipBehavior m_pipBehavior;
194 bool m_pipBehaviorHasBeenSet = false;
195
196 int m_pipOffset;
197 bool m_pipOffsetHasBeenSet = false;
198
199 PipPosition m_pipPosition;
200 bool m_pipPositionHasBeenSet = false;
201
202 int m_pipWidth;
203 bool m_pipWidthHasBeenSet = false;
204
205 int m_pipHeight;
206 bool m_pipHeightHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace ivsrealtime
211} // namespace Aws
PipConfiguration & WithPipParticipantAttribute(const Aws::String &value)
PipConfiguration & WithPipBehavior(PipBehavior &&value)
PipConfiguration & WithVideoFillMode(const VideoFillMode &value)
PipConfiguration & WithPipParticipantAttribute(const char *value)
PipConfiguration & WithGridGap(int value)
void SetPipParticipantAttribute(const char *value)
PipConfiguration & WithOmitStoppedVideo(bool value)
const PipPosition & GetPipPosition() const
void SetPipParticipantAttribute(const Aws::String &value)
PipConfiguration & WithPipPosition(const PipPosition &value)
PipConfiguration & WithFeaturedParticipantAttribute(const Aws::String &value)
const VideoFillMode & GetVideoFillMode() const
void SetPipParticipantAttribute(Aws::String &&value)
const Aws::String & GetPipParticipantAttribute() const
void SetVideoFillMode(const VideoFillMode &value)
const PipBehavior & GetPipBehavior() const
PipConfiguration & WithPipParticipantAttribute(Aws::String &&value)
AWS_IVSREALTIME_API PipConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPipBehavior(const PipBehavior &value)
void SetVideoFillMode(VideoFillMode &&value)
void SetPipPosition(const PipPosition &value)
PipConfiguration & WithPipHeight(int value)
void SetFeaturedParticipantAttribute(const Aws::String &value)
PipConfiguration & WithPipOffset(int value)
PipConfiguration & WithFeaturedParticipantAttribute(Aws::String &&value)
PipConfiguration & WithPipBehavior(const PipBehavior &value)
PipConfiguration & WithPipWidth(int value)
void SetFeaturedParticipantAttribute(Aws::String &&value)
AWS_IVSREALTIME_API PipConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PipConfiguration & WithVideoFillMode(VideoFillMode &&value)
const Aws::String & GetFeaturedParticipantAttribute() const
PipConfiguration & WithFeaturedParticipantAttribute(const char *value)
PipConfiguration & WithPipPosition(PipPosition &&value)
void SetFeaturedParticipantAttribute(const char *value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue