AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GridConfiguration.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/VideoAspectRatio.h>
10#include <aws/ivs-realtime/model/VideoFillMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
23
33 public:
34 AWS_IVSREALTIME_API GridConfiguration() = default;
35 AWS_IVSREALTIME_API GridConfiguration(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 GridConfiguration& 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 VideoAspectRatio GetVideoAspectRatio() const { return m_videoAspectRatio; }
84 inline bool VideoAspectRatioHasBeenSet() const { return m_videoAspectRatioHasBeenSet; }
86 m_videoAspectRatioHasBeenSet = true;
87 m_videoAspectRatio = value;
88 }
91 return *this;
92 }
94
96
103 inline VideoFillMode GetVideoFillMode() const { return m_videoFillMode; }
104 inline bool VideoFillModeHasBeenSet() const { return m_videoFillModeHasBeenSet; }
105 inline void SetVideoFillMode(VideoFillMode value) {
106 m_videoFillModeHasBeenSet = true;
107 m_videoFillMode = value;
108 }
110 SetVideoFillMode(value);
111 return *this;
112 }
114
116
120 inline int GetGridGap() const { return m_gridGap; }
121 inline bool GridGapHasBeenSet() const { return m_gridGapHasBeenSet; }
122 inline void SetGridGap(int value) {
123 m_gridGapHasBeenSet = true;
124 m_gridGap = value;
125 }
126 inline GridConfiguration& WithGridGap(int value) {
127 SetGridGap(value);
128 return *this;
129 }
131
133
139 inline const Aws::String& GetParticipantOrderAttribute() const { return m_participantOrderAttribute; }
140 inline bool ParticipantOrderAttributeHasBeenSet() const { return m_participantOrderAttributeHasBeenSet; }
141 template <typename ParticipantOrderAttributeT = Aws::String>
142 void SetParticipantOrderAttribute(ParticipantOrderAttributeT&& value) {
143 m_participantOrderAttributeHasBeenSet = true;
144 m_participantOrderAttribute = std::forward<ParticipantOrderAttributeT>(value);
145 }
146 template <typename ParticipantOrderAttributeT = Aws::String>
147 GridConfiguration& WithParticipantOrderAttribute(ParticipantOrderAttributeT&& value) {
148 SetParticipantOrderAttribute(std::forward<ParticipantOrderAttributeT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_featuredParticipantAttribute;
154
155 bool m_omitStoppedVideo{false};
156
158
159 VideoFillMode m_videoFillMode{VideoFillMode::NOT_SET};
160
161 int m_gridGap{0};
162
163 Aws::String m_participantOrderAttribute;
164 bool m_featuredParticipantAttributeHasBeenSet = false;
165 bool m_omitStoppedVideoHasBeenSet = false;
166 bool m_videoAspectRatioHasBeenSet = false;
167 bool m_videoFillModeHasBeenSet = false;
168 bool m_gridGapHasBeenSet = false;
169 bool m_participantOrderAttributeHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace ivsrealtime
174} // namespace Aws
GridConfiguration & WithVideoAspectRatio(VideoAspectRatio value)
AWS_IVSREALTIME_API GridConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API GridConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVideoAspectRatio(VideoAspectRatio value)
AWS_IVSREALTIME_API GridConfiguration()=default
GridConfiguration & WithFeaturedParticipantAttribute(FeaturedParticipantAttributeT &&value)
void SetFeaturedParticipantAttribute(FeaturedParticipantAttributeT &&value)
GridConfiguration & WithGridGap(int value)
const Aws::String & GetParticipantOrderAttribute() const
GridConfiguration & WithVideoFillMode(VideoFillMode value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GridConfiguration & WithOmitStoppedVideo(bool value)
GridConfiguration & WithParticipantOrderAttribute(ParticipantOrderAttributeT &&value)
const Aws::String & GetFeaturedParticipantAttribute() const
void SetParticipantOrderAttribute(ParticipantOrderAttributeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue