AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PipConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9#include <aws/ivs-realtime/model/PipBehavior.h>
10#include <aws/ivs-realtime/model/PipPosition.h>
11#include <aws/ivs-realtime/model/VideoFillMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ivsrealtime {
23namespace Model {
24
33 public:
34 AWS_IVSREALTIME_API PipConfiguration() = default;
35 AWS_IVSREALTIME_API PipConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IVSREALTIME_API PipConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetFeaturedParticipantAttribute() const { return m_featuredParticipantAttribute; }
47 inline bool FeaturedParticipantAttributeHasBeenSet() const { return m_featuredParticipantAttributeHasBeenSet; }
48 template <typename FeaturedParticipantAttributeT = Aws::String>
49 void SetFeaturedParticipantAttribute(FeaturedParticipantAttributeT&& value) {
50 m_featuredParticipantAttributeHasBeenSet = true;
51 m_featuredParticipantAttribute = std::forward<FeaturedParticipantAttributeT>(value);
52 }
53 template <typename FeaturedParticipantAttributeT = Aws::String>
54 PipConfiguration& WithFeaturedParticipantAttribute(FeaturedParticipantAttributeT&& value) {
55 SetFeaturedParticipantAttribute(std::forward<FeaturedParticipantAttributeT>(value));
56 return *this;
57 }
59
61
65 inline bool GetOmitStoppedVideo() const { return m_omitStoppedVideo; }
66 inline bool OmitStoppedVideoHasBeenSet() const { return m_omitStoppedVideoHasBeenSet; }
67 inline void SetOmitStoppedVideo(bool value) {
68 m_omitStoppedVideoHasBeenSet = true;
69 m_omitStoppedVideo = value;
70 }
73 return *this;
74 }
76
78
83 inline VideoFillMode GetVideoFillMode() const { return m_videoFillMode; }
84 inline bool VideoFillModeHasBeenSet() const { return m_videoFillModeHasBeenSet; }
85 inline void SetVideoFillMode(VideoFillMode value) {
86 m_videoFillModeHasBeenSet = true;
87 m_videoFillMode = value;
88 }
90 SetVideoFillMode(value);
91 return *this;
92 }
94
96
100 inline int GetGridGap() const { return m_gridGap; }
101 inline bool GridGapHasBeenSet() const { return m_gridGapHasBeenSet; }
102 inline void SetGridGap(int value) {
103 m_gridGapHasBeenSet = true;
104 m_gridGap = value;
105 }
106 inline PipConfiguration& WithGridGap(int value) {
107 SetGridGap(value);
108 return *this;
109 }
111
113
119 inline const Aws::String& GetPipParticipantAttribute() const { return m_pipParticipantAttribute; }
120 inline bool PipParticipantAttributeHasBeenSet() const { return m_pipParticipantAttributeHasBeenSet; }
121 template <typename PipParticipantAttributeT = Aws::String>
122 void SetPipParticipantAttribute(PipParticipantAttributeT&& value) {
123 m_pipParticipantAttributeHasBeenSet = true;
124 m_pipParticipantAttribute = std::forward<PipParticipantAttributeT>(value);
125 }
126 template <typename PipParticipantAttributeT = Aws::String>
127 PipConfiguration& WithPipParticipantAttribute(PipParticipantAttributeT&& value) {
128 SetPipParticipantAttribute(std::forward<PipParticipantAttributeT>(value));
129 return *this;
130 }
132
134
139 inline PipBehavior GetPipBehavior() const { return m_pipBehavior; }
140 inline bool PipBehaviorHasBeenSet() const { return m_pipBehaviorHasBeenSet; }
141 inline void SetPipBehavior(PipBehavior value) {
142 m_pipBehaviorHasBeenSet = true;
143 m_pipBehavior = value;
144 }
146 SetPipBehavior(value);
147 return *this;
148 }
150
152
156 inline int GetPipOffset() const { return m_pipOffset; }
157 inline bool PipOffsetHasBeenSet() const { return m_pipOffsetHasBeenSet; }
158 inline void SetPipOffset(int value) {
159 m_pipOffsetHasBeenSet = true;
160 m_pipOffset = value;
161 }
162 inline PipConfiguration& WithPipOffset(int value) {
163 SetPipOffset(value);
164 return *this;
165 }
167
169
173 inline PipPosition GetPipPosition() const { return m_pipPosition; }
174 inline bool PipPositionHasBeenSet() const { return m_pipPositionHasBeenSet; }
175 inline void SetPipPosition(PipPosition value) {
176 m_pipPositionHasBeenSet = true;
177 m_pipPosition = value;
178 }
180 SetPipPosition(value);
181 return *this;
182 }
184
186
191 inline int GetPipWidth() const { return m_pipWidth; }
192 inline bool PipWidthHasBeenSet() const { return m_pipWidthHasBeenSet; }
193 inline void SetPipWidth(int value) {
194 m_pipWidthHasBeenSet = true;
195 m_pipWidth = value;
196 }
197 inline PipConfiguration& WithPipWidth(int value) {
198 SetPipWidth(value);
199 return *this;
200 }
202
204
209 inline int GetPipHeight() const { return m_pipHeight; }
210 inline bool PipHeightHasBeenSet() const { return m_pipHeightHasBeenSet; }
211 inline void SetPipHeight(int value) {
212 m_pipHeightHasBeenSet = true;
213 m_pipHeight = value;
214 }
215 inline PipConfiguration& WithPipHeight(int value) {
216 SetPipHeight(value);
217 return *this;
218 }
220
222
228 inline const Aws::String& GetParticipantOrderAttribute() const { return m_participantOrderAttribute; }
229 inline bool ParticipantOrderAttributeHasBeenSet() const { return m_participantOrderAttributeHasBeenSet; }
230 template <typename ParticipantOrderAttributeT = Aws::String>
231 void SetParticipantOrderAttribute(ParticipantOrderAttributeT&& value) {
232 m_participantOrderAttributeHasBeenSet = true;
233 m_participantOrderAttribute = std::forward<ParticipantOrderAttributeT>(value);
234 }
235 template <typename ParticipantOrderAttributeT = Aws::String>
236 PipConfiguration& WithParticipantOrderAttribute(ParticipantOrderAttributeT&& value) {
237 SetParticipantOrderAttribute(std::forward<ParticipantOrderAttributeT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_featuredParticipantAttribute;
243
244 bool m_omitStoppedVideo{false};
245
246 VideoFillMode m_videoFillMode{VideoFillMode::NOT_SET};
247
248 int m_gridGap{0};
249
250 Aws::String m_pipParticipantAttribute;
251
252 PipBehavior m_pipBehavior{PipBehavior::NOT_SET};
253
254 int m_pipOffset{0};
255
256 PipPosition m_pipPosition{PipPosition::NOT_SET};
257
258 int m_pipWidth{0};
259
260 int m_pipHeight{0};
261
262 Aws::String m_participantOrderAttribute;
263 bool m_featuredParticipantAttributeHasBeenSet = false;
264 bool m_omitStoppedVideoHasBeenSet = false;
265 bool m_videoFillModeHasBeenSet = false;
266 bool m_gridGapHasBeenSet = false;
267 bool m_pipParticipantAttributeHasBeenSet = false;
268 bool m_pipBehaviorHasBeenSet = false;
269 bool m_pipOffsetHasBeenSet = false;
270 bool m_pipPositionHasBeenSet = false;
271 bool m_pipWidthHasBeenSet = false;
272 bool m_pipHeightHasBeenSet = false;
273 bool m_participantOrderAttributeHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace ivsrealtime
278} // namespace Aws
PipConfiguration & WithGridGap(int value)
PipConfiguration & WithPipPosition(PipPosition value)
PipConfiguration & WithOmitStoppedVideo(bool value)
void SetFeaturedParticipantAttribute(FeaturedParticipantAttributeT &&value)
PipConfiguration & WithParticipantOrderAttribute(ParticipantOrderAttributeT &&value)
void SetParticipantOrderAttribute(ParticipantOrderAttributeT &&value)
const Aws::String & GetPipParticipantAttribute() const
PipConfiguration & WithPipParticipantAttribute(PipParticipantAttributeT &&value)
PipConfiguration & WithPipBehavior(PipBehavior value)
AWS_IVSREALTIME_API PipConfiguration(Aws::Utils::Json::JsonView jsonValue)
PipConfiguration & WithVideoFillMode(VideoFillMode value)
PipConfiguration & WithFeaturedParticipantAttribute(FeaturedParticipantAttributeT &&value)
PipConfiguration & WithPipHeight(int value)
PipConfiguration & WithPipOffset(int value)
PipConfiguration & WithPipWidth(int value)
AWS_IVSREALTIME_API PipConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFeaturedParticipantAttribute() const
void SetPipParticipantAttribute(PipParticipantAttributeT &&value)
AWS_IVSREALTIME_API PipConfiguration()=default
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetParticipantOrderAttribute() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue