AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GridConfiguration.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/VideoAspectRatio.h>
10#include <aws/ivs-realtime/model/VideoFillMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ivsrealtime
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_IVSREALTIME_API GridConfiguration() = default;
40 AWS_IVSREALTIME_API GridConfiguration(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 template<typename FeaturedParticipantAttributeT = Aws::String>
55 void SetFeaturedParticipantAttribute(FeaturedParticipantAttributeT&& value) { m_featuredParticipantAttributeHasBeenSet = true; m_featuredParticipantAttribute = std::forward<FeaturedParticipantAttributeT>(value); }
56 template<typename FeaturedParticipantAttributeT = Aws::String>
57 GridConfiguration& WithFeaturedParticipantAttribute(FeaturedParticipantAttributeT&& value) { SetFeaturedParticipantAttribute(std::forward<FeaturedParticipantAttributeT>(value)); return *this;}
59
61
65 inline bool GetOmitStoppedVideo() const { return m_omitStoppedVideo; }
66 inline bool OmitStoppedVideoHasBeenSet() const { return m_omitStoppedVideoHasBeenSet; }
67 inline void SetOmitStoppedVideo(bool value) { m_omitStoppedVideoHasBeenSet = true; m_omitStoppedVideo = value; }
68 inline GridConfiguration& WithOmitStoppedVideo(bool value) { SetOmitStoppedVideo(value); return *this;}
70
72
77 inline VideoAspectRatio GetVideoAspectRatio() const { return m_videoAspectRatio; }
78 inline bool VideoAspectRatioHasBeenSet() const { return m_videoAspectRatioHasBeenSet; }
79 inline void SetVideoAspectRatio(VideoAspectRatio value) { m_videoAspectRatioHasBeenSet = true; m_videoAspectRatio = value; }
82
84
91 inline VideoFillMode GetVideoFillMode() const { return m_videoFillMode; }
92 inline bool VideoFillModeHasBeenSet() const { return m_videoFillModeHasBeenSet; }
93 inline void SetVideoFillMode(VideoFillMode value) { m_videoFillModeHasBeenSet = true; m_videoFillMode = value; }
94 inline GridConfiguration& WithVideoFillMode(VideoFillMode value) { SetVideoFillMode(value); return *this;}
96
98
102 inline int GetGridGap() const { return m_gridGap; }
103 inline bool GridGapHasBeenSet() const { return m_gridGapHasBeenSet; }
104 inline void SetGridGap(int value) { m_gridGapHasBeenSet = true; m_gridGap = value; }
105 inline GridConfiguration& WithGridGap(int value) { SetGridGap(value); return *this;}
107 private:
108
109 Aws::String m_featuredParticipantAttribute;
110 bool m_featuredParticipantAttributeHasBeenSet = false;
111
112 bool m_omitStoppedVideo{false};
113 bool m_omitStoppedVideoHasBeenSet = false;
114
116 bool m_videoAspectRatioHasBeenSet = false;
117
118 VideoFillMode m_videoFillMode{VideoFillMode::NOT_SET};
119 bool m_videoFillModeHasBeenSet = false;
120
121 int m_gridGap{0};
122 bool m_gridGapHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ivsrealtime
127} // 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)
GridConfiguration & WithVideoFillMode(VideoFillMode value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GridConfiguration & WithOmitStoppedVideo(bool value)
const Aws::String & GetFeaturedParticipantAttribute() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue