AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
VideoPositionRectangle.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaLive {
17namespace Model {
18
28 public:
29 AWS_MEDIALIVE_API VideoPositionRectangle() = default;
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline int GetHeight() const { return m_height; }
39 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
40 inline void SetHeight(int value) {
41 m_heightHasBeenSet = true;
42 m_height = value;
43 }
45 SetHeight(value);
46 return *this;
47 }
49
51
54 inline int GetWidth() const { return m_width; }
55 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
56 inline void SetWidth(int value) {
57 m_widthHasBeenSet = true;
58 m_width = value;
59 }
60 inline VideoPositionRectangle& WithWidth(int value) {
61 SetWidth(value);
62 return *this;
63 }
65
67
70 inline int GetX() const { return m_x; }
71 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
72 inline void SetX(int value) {
73 m_xHasBeenSet = true;
74 m_x = value;
75 }
76 inline VideoPositionRectangle& WithX(int value) {
77 SetX(value);
78 return *this;
79 }
81
83
86 inline int GetY() const { return m_y; }
87 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
88 inline void SetY(int value) {
89 m_yHasBeenSet = true;
90 m_y = value;
91 }
92 inline VideoPositionRectangle& WithY(int value) {
93 SetY(value);
94 return *this;
95 }
97 private:
98 int m_height{0};
99
100 int m_width{0};
101
102 int m_x{0};
103
104 int m_y{0};
105 bool m_heightHasBeenSet = false;
106 bool m_widthHasBeenSet = false;
107 bool m_xHasBeenSet = false;
108 bool m_yHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace MediaLive
113} // namespace Aws
AWS_MEDIALIVE_API VideoPositionRectangle & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoPositionRectangle & WithWidth(int value)
AWS_MEDIALIVE_API VideoPositionRectangle()=default
AWS_MEDIALIVE_API VideoPositionRectangle(Aws::Utils::Json::JsonView jsonValue)
VideoPositionRectangle & WithHeight(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue