AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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
32 {
33 public:
34 AWS_MEDIACONVERT_API VideoOverlayPosition() = default;
35 AWS_MEDIACONVERT_API VideoOverlayPosition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
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 VideoOverlayPosition& 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 VideoOverlayPosition& WithUnit(VideoOverlayUnit value) { SetUnit(value); return *this;}
69
71
82 inline int GetWidth() const { return m_width; }
83 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
84 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
85 inline VideoOverlayPosition& WithWidth(int value) { SetWidth(value); return *this;}
87
89
100 inline int GetXPosition() const { return m_xPosition; }
101 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
102 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
103 inline VideoOverlayPosition& WithXPosition(int value) { SetXPosition(value); return *this;}
105
107
118 inline int GetYPosition() const { return m_yPosition; }
119 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
120 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
121 inline VideoOverlayPosition& WithYPosition(int value) { SetYPosition(value); return *this;}
123 private:
124
125 int m_height{0};
126 bool m_heightHasBeenSet = false;
127
129 bool m_unitHasBeenSet = false;
130
131 int m_width{0};
132 bool m_widthHasBeenSet = false;
133
134 int m_xPosition{0};
135 bool m_xPositionHasBeenSet = false;
136
137 int m_yPosition{0};
138 bool m_yPositionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace MediaConvert
143} // namespace Aws
AWS_MEDIACONVERT_API VideoOverlayPosition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API VideoOverlayPosition()=default
VideoOverlayPosition & WithXPosition(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