AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Rectangle.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
25class Rectangle {
26 public:
27 AWS_MEDIACONVERT_API Rectangle() = default;
28 AWS_MEDIACONVERT_API Rectangle(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API Rectangle& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetHeight() const { return m_height; }
37 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
38 inline void SetHeight(int value) {
39 m_heightHasBeenSet = true;
40 m_height = value;
41 }
42 inline Rectangle& WithHeight(int value) {
43 SetHeight(value);
44 return *this;
45 }
47
49
52 inline int GetWidth() const { return m_width; }
53 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
54 inline void SetWidth(int value) {
55 m_widthHasBeenSet = true;
56 m_width = value;
57 }
58 inline Rectangle& WithWidth(int value) {
59 SetWidth(value);
60 return *this;
61 }
63
65
69 inline int GetX() const { return m_x; }
70 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
71 inline void SetX(int value) {
72 m_xHasBeenSet = true;
73 m_x = value;
74 }
75 inline Rectangle& WithX(int value) {
76 SetX(value);
77 return *this;
78 }
80
82
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 Rectangle& 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 MediaConvert
113} // namespace Aws
AWS_MEDIACONVERT_API Rectangle()=default
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Rectangle & WithWidth(int value)
Definition Rectangle.h:58
Rectangle & WithX(int value)
Definition Rectangle.h:75
Rectangle & WithHeight(int value)
Definition Rectangle.h:42
Rectangle & WithY(int value)
Definition Rectangle.h:92
AWS_MEDIACONVERT_API Rectangle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Rectangle(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue