AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
CaptionRectangle.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
25 public:
26 AWS_MEDIALIVE_API CaptionRectangle() = default;
27 AWS_MEDIALIVE_API CaptionRectangle(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
41 inline double GetHeight() const { return m_height; }
42 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
43 inline void SetHeight(double value) {
44 m_heightHasBeenSet = true;
45 m_height = value;
46 }
47 inline CaptionRectangle& WithHeight(double value) {
48 SetHeight(value);
49 return *this;
50 }
52
54
72 inline double GetLeftOffset() const { return m_leftOffset; }
73 inline bool LeftOffsetHasBeenSet() const { return m_leftOffsetHasBeenSet; }
74 inline void SetLeftOffset(double value) {
75 m_leftOffsetHasBeenSet = true;
76 m_leftOffset = value;
77 }
78 inline CaptionRectangle& WithLeftOffset(double value) {
79 SetLeftOffset(value);
80 return *this;
81 }
83
85
95 inline double GetTopOffset() const { return m_topOffset; }
96 inline bool TopOffsetHasBeenSet() const { return m_topOffsetHasBeenSet; }
97 inline void SetTopOffset(double value) {
98 m_topOffsetHasBeenSet = true;
99 m_topOffset = value;
100 }
101 inline CaptionRectangle& WithTopOffset(double value) {
102 SetTopOffset(value);
103 return *this;
104 }
106
108
117 inline double GetWidth() const { return m_width; }
118 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
119 inline void SetWidth(double value) {
120 m_widthHasBeenSet = true;
121 m_width = value;
122 }
123 inline CaptionRectangle& WithWidth(double value) {
124 SetWidth(value);
125 return *this;
126 }
128 private:
129 double m_height{0.0};
130
131 double m_leftOffset{0.0};
132
133 double m_topOffset{0.0};
134
135 double m_width{0.0};
136 bool m_heightHasBeenSet = false;
137 bool m_leftOffsetHasBeenSet = false;
138 bool m_topOffsetHasBeenSet = false;
139 bool m_widthHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace MediaLive
144} // namespace Aws
CaptionRectangle & WithLeftOffset(double value)
CaptionRectangle & WithWidth(double value)
CaptionRectangle & WithHeight(double value)
AWS_MEDIALIVE_API CaptionRectangle()=default
AWS_MEDIALIVE_API CaptionRectangle(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API CaptionRectangle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionRectangle & WithTopOffset(double value)
Aws::Utils::Json::JsonValue JsonValue