AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Rectangle.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MEDIACONVERT_API Rectangle();
34 AWS_MEDIACONVERT_API Rectangle(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Rectangle& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetHeight() const{ return m_height; }
44 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
45 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
46 inline Rectangle& WithHeight(int value) { SetHeight(value); return *this;}
48
50
53 inline int GetWidth() const{ return m_width; }
54 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
55 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
56 inline Rectangle& WithWidth(int value) { SetWidth(value); return *this;}
58
60
64 inline int GetX() const{ return m_x; }
65 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
66 inline void SetX(int value) { m_xHasBeenSet = true; m_x = value; }
67 inline Rectangle& WithX(int value) { SetX(value); return *this;}
69
71
75 inline int GetY() const{ return m_y; }
76 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
77 inline void SetY(int value) { m_yHasBeenSet = true; m_y = value; }
78 inline Rectangle& WithY(int value) { SetY(value); return *this;}
80 private:
81
82 int m_height;
83 bool m_heightHasBeenSet = false;
84
85 int m_width;
86 bool m_widthHasBeenSet = false;
87
88 int m_x;
89 bool m_xHasBeenSet = false;
90
91 int m_y;
92 bool m_yHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaConvert
97} // namespace Aws
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Rectangle & WithWidth(int value)
Definition Rectangle.h:56
Rectangle & WithX(int value)
Definition Rectangle.h:67
Rectangle & WithHeight(int value)
Definition Rectangle.h:46
Rectangle & WithY(int value)
Definition Rectangle.h:78
AWS_MEDIACONVERT_API Rectangle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Rectangle()
AWS_MEDIACONVERT_API Rectangle(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue