AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIACONVERT_API VideoOverlayCrop() = default;
37 AWS_MEDIACONVERT_API VideoOverlayCrop(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API VideoOverlayCrop& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline int GetHeight() const { return m_height; }
53 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
54 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
55 inline VideoOverlayCrop& WithHeight(int value) { SetHeight(value); return *this;}
57
59
64 inline VideoOverlayUnit GetUnit() const { return m_unit; }
65 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
66 inline void SetUnit(VideoOverlayUnit value) { m_unitHasBeenSet = true; m_unit = value; }
67 inline VideoOverlayCrop& WithUnit(VideoOverlayUnit value) { SetUnit(value); return *this;}
69
71
80 inline int GetWidth() const { return m_width; }
81 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
82 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
83 inline VideoOverlayCrop& WithWidth(int value) { SetWidth(value); return *this;}
85
87
99 inline int GetX() const { return m_x; }
100 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
101 inline void SetX(int value) { m_xHasBeenSet = true; m_x = value; }
102 inline VideoOverlayCrop& WithX(int value) { SetX(value); return *this;}
104
106
117 inline int GetY() const { return m_y; }
118 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
119 inline void SetY(int value) { m_yHasBeenSet = true; m_y = value; }
120 inline VideoOverlayCrop& WithY(int value) { SetY(value); return *this;}
122 private:
123
124 int m_height{0};
125 bool m_heightHasBeenSet = false;
126
128 bool m_unitHasBeenSet = false;
129
130 int m_width{0};
131 bool m_widthHasBeenSet = false;
132
133 int m_x{0};
134 bool m_xHasBeenSet = false;
135
136 int m_y{0};
137 bool m_yHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace MediaConvert
142} // 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