AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VideoOverlayCrop.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
30 public:
31 AWS_MEDIACONVERT_API VideoOverlayCrop() = default;
32 AWS_MEDIACONVERT_API VideoOverlayCrop(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API VideoOverlayCrop& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
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 VideoOverlayCrop& WithHeight(int value) {
53 SetHeight(value);
54 return *this;
55 }
57
59
64 inline VideoOverlayUnit GetUnit() const { return m_unit; }
65 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
66 inline void SetUnit(VideoOverlayUnit value) {
67 m_unitHasBeenSet = true;
68 m_unit = value;
69 }
71 SetUnit(value);
72 return *this;
73 }
75
77
86 inline int GetWidth() const { return m_width; }
87 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
88 inline void SetWidth(int value) {
89 m_widthHasBeenSet = true;
90 m_width = value;
91 }
92 inline VideoOverlayCrop& WithWidth(int value) {
93 SetWidth(value);
94 return *this;
95 }
97
99
111 inline int GetX() const { return m_x; }
112 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
113 inline void SetX(int value) {
114 m_xHasBeenSet = true;
115 m_x = value;
116 }
117 inline VideoOverlayCrop& WithX(int value) {
118 SetX(value);
119 return *this;
120 }
122
124
135 inline int GetY() const { return m_y; }
136 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
137 inline void SetY(int value) {
138 m_yHasBeenSet = true;
139 m_y = value;
140 }
141 inline VideoOverlayCrop& WithY(int value) {
142 SetY(value);
143 return *this;
144 }
146 private:
147 int m_height{0};
148
150
151 int m_width{0};
152
153 int m_x{0};
154
155 int m_y{0};
156 bool m_heightHasBeenSet = false;
157 bool m_unitHasBeenSet = false;
158 bool m_widthHasBeenSet = false;
159 bool m_xHasBeenSet = false;
160 bool m_yHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace MediaConvert
165} // namespace Aws
VideoOverlayCrop & WithHeight(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API VideoOverlayCrop(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API VideoOverlayCrop()=default
AWS_MEDIACONVERT_API VideoOverlayCrop & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoOverlayCrop & WithUnit(VideoOverlayUnit value)
VideoOverlayCrop & WithWidth(int value)
Aws::Utils::Json::JsonValue JsonValue