AWS SDK for C++  1.9.159
AWS SDK for C++
Rectangle.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace MediaConvert
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetHeight() const{ return m_height; }
43 
47  inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
48 
52  inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
53 
57  inline Rectangle& WithHeight(int value) { SetHeight(value); return *this;}
58 
59 
63  inline int GetWidth() const{ return m_width; }
64 
68  inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
69 
73  inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
74 
78  inline Rectangle& WithWidth(int value) { SetWidth(value); return *this;}
79 
80 
85  inline int GetX() const{ return m_x; }
86 
91  inline bool XHasBeenSet() const { return m_xHasBeenSet; }
92 
97  inline void SetX(int value) { m_xHasBeenSet = true; m_x = value; }
98 
103  inline Rectangle& WithX(int value) { SetX(value); return *this;}
104 
105 
110  inline int GetY() const{ return m_y; }
111 
116  inline bool YHasBeenSet() const { return m_yHasBeenSet; }
117 
122  inline void SetY(int value) { m_yHasBeenSet = true; m_y = value; }
123 
128  inline Rectangle& WithY(int value) { SetY(value); return *this;}
129 
130  private:
131 
132  int m_height;
133  bool m_heightHasBeenSet;
134 
135  int m_width;
136  bool m_widthHasBeenSet;
137 
138  int m_x;
139  bool m_xHasBeenSet;
140 
141  int m_y;
142  bool m_yHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace MediaConvert
147 } // namespace Aws
Aws::MediaConvert::Model::Rectangle::Rectangle
Rectangle()
Aws::MediaConvert::Model::Rectangle::YHasBeenSet
bool YHasBeenSet() const
Definition: Rectangle.h:116
Aws::MediaConvert::Model::Rectangle
Definition: Rectangle.h:31
Aws::MediaConvert::Model::Rectangle::HeightHasBeenSet
bool HeightHasBeenSet() const
Definition: Rectangle.h:47
Aws::MediaConvert::Model::Rectangle::GetX
int GetX() const
Definition: Rectangle.h:85
Aws::MediaConvert::Model::Rectangle::GetHeight
int GetHeight() const
Definition: Rectangle.h:42
Aws::MediaConvert::Model::Rectangle::Rectangle
Rectangle(Aws::Utils::Json::JsonView jsonValue)
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Rectangle::SetHeight
void SetHeight(int value)
Definition: Rectangle.h:52
Aws::MediaConvert::Model::Rectangle::WithHeight
Rectangle & WithHeight(int value)
Definition: Rectangle.h:57
Aws::MediaConvert::Model::Rectangle::SetWidth
void SetWidth(int value)
Definition: Rectangle.h:73
Aws::MediaConvert::Model::Rectangle::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Rectangle::GetWidth
int GetWidth() const
Definition: Rectangle.h:63
Aws::MediaConvert::Model::Rectangle::WithY
Rectangle & WithY(int value)
Definition: Rectangle.h:128
Aws::MediaConvert::Model::Rectangle::WidthHasBeenSet
bool WidthHasBeenSet() const
Definition: Rectangle.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::MediaConvert::Model::Rectangle::SetY
void SetY(int value)
Definition: Rectangle.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Rectangle::operator=
Rectangle & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Rectangle::XHasBeenSet
bool XHasBeenSet() const
Definition: Rectangle.h:91
Aws::MediaConvert::Model::Rectangle::WithWidth
Rectangle & WithWidth(int value)
Definition: Rectangle.h:78
Aws::MediaConvert::Model::Rectangle::GetY
int GetY() const
Definition: Rectangle.h:110
Aws::MediaConvert::Model::Rectangle::WithX
Rectangle & WithX(int value)
Definition: Rectangle.h:103
Aws::MediaConvert::Model::Rectangle::SetX
void SetX(int value)
Definition: Rectangle.h:97