AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const VideoOverlayUnit& GetUnit() const{ return m_unit; }
65 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
66 inline void SetUnit(const VideoOverlayUnit& value) { m_unitHasBeenSet = true; m_unit = value; }
67 inline void SetUnit(VideoOverlayUnit&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
68 inline VideoOverlayPosition& WithUnit(const VideoOverlayUnit& value) { SetUnit(value); return *this;}
69 inline VideoOverlayPosition& WithUnit(VideoOverlayUnit&& value) { SetUnit(std::move(value)); return *this;}
71
73
84 inline int GetWidth() const{ return m_width; }
85 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
86 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
87 inline VideoOverlayPosition& WithWidth(int value) { SetWidth(value); return *this;}
89
91
102 inline int GetXPosition() const{ return m_xPosition; }
103 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
104 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
105 inline VideoOverlayPosition& WithXPosition(int value) { SetXPosition(value); return *this;}
107
109
120 inline int GetYPosition() const{ return m_yPosition; }
121 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
122 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
123 inline VideoOverlayPosition& WithYPosition(int value) { SetYPosition(value); return *this;}
125 private:
126
127 int m_height;
128 bool m_heightHasBeenSet = false;
129
130 VideoOverlayUnit m_unit;
131 bool m_unitHasBeenSet = false;
132
133 int m_width;
134 bool m_widthHasBeenSet = false;
135
136 int m_xPosition;
137 bool m_xPositionHasBeenSet = false;
138
139 int m_yPosition;
140 bool m_yPositionHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace MediaConvert
145} // namespace Aws
VideoOverlayPosition & WithUnit(const VideoOverlayUnit &value)
AWS_MEDIACONVERT_API VideoOverlayPosition & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoOverlayPosition & WithUnit(VideoOverlayUnit &&value)
VideoOverlayPosition & WithXPosition(int value)
AWS_MEDIACONVERT_API VideoOverlayPosition(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(const VideoOverlayUnit &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoOverlayPosition & WithYPosition(int value)
Aws::Utils::Json::JsonValue JsonValue