AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
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 GridConfiguration& WithOmitStoppedVideo(bool value) { SetOmitStoppedVideo(value); return *this;}
72
74
79 inline const VideoAspectRatio& GetVideoAspectRatio() const{ return m_videoAspectRatio; }
80 inline bool VideoAspectRatioHasBeenSet() const { return m_videoAspectRatioHasBeenSet; }
81 inline void SetVideoAspectRatio(const VideoAspectRatio& value) { m_videoAspectRatioHasBeenSet = true; m_videoAspectRatio = value; }
82 inline void SetVideoAspectRatio(VideoAspectRatio&& value) { m_videoAspectRatioHasBeenSet = true; m_videoAspectRatio = std::move(value); }
83 inline GridConfiguration& WithVideoAspectRatio(const VideoAspectRatio& value) { SetVideoAspectRatio(value); return *this;}
84 inline GridConfiguration& WithVideoAspectRatio(VideoAspectRatio&& value) { SetVideoAspectRatio(std::move(value)); return *this;}
86
88
95 inline const VideoFillMode& GetVideoFillMode() const{ return m_videoFillMode; }
96 inline bool VideoFillModeHasBeenSet() const { return m_videoFillModeHasBeenSet; }
97 inline void SetVideoFillMode(const VideoFillMode& value) { m_videoFillModeHasBeenSet = true; m_videoFillMode = value; }
98 inline void SetVideoFillMode(VideoFillMode&& value) { m_videoFillModeHasBeenSet = true; m_videoFillMode = std::move(value); }
99 inline GridConfiguration& WithVideoFillMode(const VideoFillMode& value) { SetVideoFillMode(value); return *this;}
100 inline GridConfiguration& WithVideoFillMode(VideoFillMode&& value) { SetVideoFillMode(std::move(value)); return *this;}
102
104
108 inline int GetGridGap() const{ return m_gridGap; }
109 inline bool GridGapHasBeenSet() const { return m_gridGapHasBeenSet; }
110 inline void SetGridGap(int value) { m_gridGapHasBeenSet = true; m_gridGap = value; }
111 inline GridConfiguration& WithGridGap(int value) { SetGridGap(value); return *this;}
113 private:
114
115 Aws::String m_featuredParticipantAttribute;
116 bool m_featuredParticipantAttributeHasBeenSet = false;
117
118 bool m_omitStoppedVideo;
119 bool m_omitStoppedVideoHasBeenSet = false;
120
121 VideoAspectRatio m_videoAspectRatio;
122 bool m_videoAspectRatioHasBeenSet = false;
123
124 VideoFillMode m_videoFillMode;
125 bool m_videoFillModeHasBeenSet = false;
126
127 int m_gridGap;
128 bool m_gridGapHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ivsrealtime
133} // namespace Aws
void SetVideoAspectRatio(VideoAspectRatio &&value)
void SetFeaturedParticipantAttribute(const Aws::String &value)
AWS_IVSREALTIME_API GridConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFeaturedParticipantAttribute(Aws::String &&value)
AWS_IVSREALTIME_API GridConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GridConfiguration & WithVideoAspectRatio(const VideoAspectRatio &value)
GridConfiguration & WithFeaturedParticipantAttribute(Aws::String &&value)
GridConfiguration & WithVideoAspectRatio(VideoAspectRatio &&value)
void SetVideoFillMode(VideoFillMode &&value)
GridConfiguration & WithGridGap(int value)
GridConfiguration & WithFeaturedParticipantAttribute(const char *value)
void SetVideoAspectRatio(const VideoAspectRatio &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVideoFillMode(const VideoFillMode &value)
GridConfiguration & WithOmitStoppedVideo(bool value)
void SetFeaturedParticipantAttribute(const char *value)
GridConfiguration & WithVideoFillMode(const VideoFillMode &value)
const Aws::String & GetFeaturedParticipantAttribute() const
GridConfiguration & WithFeaturedParticipantAttribute(const Aws::String &value)
const VideoFillMode & GetVideoFillMode() const
GridConfiguration & WithVideoFillMode(VideoFillMode &&value)
const VideoAspectRatio & GetVideoAspectRatio() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue