AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
VideoOverlayPosition.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/VideoOverlayUnit.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
28 public:
29 AWS_MEDIACONVERT_API VideoOverlayPosition() = default;
30 AWS_MEDIACONVERT_API VideoOverlayPosition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
46 inline int GetHeight() const { return m_height; }
47 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
48 inline void SetHeight(int value) {
49 m_heightHasBeenSet = true;
50 m_height = value;
51 }
52 inline VideoOverlayPosition& WithHeight(int value) {
53 SetHeight(value);
54 return *this;
55 }
57
59
63 inline int GetOpacity() const { return m_opacity; }
64 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
65 inline void SetOpacity(int value) {
66 m_opacityHasBeenSet = true;
67 m_opacity = value;
68 }
69 inline VideoOverlayPosition& WithOpacity(int value) {
70 SetOpacity(value);
71 return *this;
72 }
74
76
81 inline VideoOverlayUnit GetUnit() const { return m_unit; }
82 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
83 inline void SetUnit(VideoOverlayUnit value) {
84 m_unitHasBeenSet = true;
85 m_unit = value;
86 }
88 SetUnit(value);
89 return *this;
90 }
92
94
105 inline int GetWidth() const { return m_width; }
106 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
107 inline void SetWidth(int value) {
108 m_widthHasBeenSet = true;
109 m_width = value;
110 }
111 inline VideoOverlayPosition& WithWidth(int value) {
112 SetWidth(value);
113 return *this;
114 }
116
118
129 inline int GetXPosition() const { return m_xPosition; }
130 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
131 inline void SetXPosition(int value) {
132 m_xPositionHasBeenSet = true;
133 m_xPosition = value;
134 }
136 SetXPosition(value);
137 return *this;
138 }
140
142
153 inline int GetYPosition() const { return m_yPosition; }
154 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
155 inline void SetYPosition(int value) {
156 m_yPositionHasBeenSet = true;
157 m_yPosition = value;
158 }
160 SetYPosition(value);
161 return *this;
162 }
164 private:
165 int m_height{0};
166
167 int m_opacity{0};
168
170
171 int m_width{0};
172
173 int m_xPosition{0};
174
175 int m_yPosition{0};
176 bool m_heightHasBeenSet = false;
177 bool m_opacityHasBeenSet = false;
178 bool m_unitHasBeenSet = false;
179 bool m_widthHasBeenSet = false;
180 bool m_xPositionHasBeenSet = false;
181 bool m_yPositionHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace MediaConvert
186} // namespace Aws
AWS_MEDIACONVERT_API VideoOverlayPosition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API VideoOverlayPosition()=default
VideoOverlayPosition & WithXPosition(int value)
VideoOverlayPosition & WithOpacity(int value)
VideoOverlayPosition & WithUnit(VideoOverlayUnit value)
AWS_MEDIACONVERT_API VideoOverlayPosition(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoOverlayPosition & WithYPosition(int value)
Aws::Utils::Json::JsonValue JsonValue