AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaptionRectangle.h
1
6#pragma once
7#include <aws/medialive/MediaLive_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 MediaLive
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_MEDIALIVE_API CaptionRectangle();
33 AWS_MEDIALIVE_API CaptionRectangle(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
48 inline double GetHeight() const{ return m_height; }
49 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
50 inline void SetHeight(double value) { m_heightHasBeenSet = true; m_height = value; }
51 inline CaptionRectangle& WithHeight(double value) { SetHeight(value); return *this;}
53
55
73 inline double GetLeftOffset() const{ return m_leftOffset; }
74 inline bool LeftOffsetHasBeenSet() const { return m_leftOffsetHasBeenSet; }
75 inline void SetLeftOffset(double value) { m_leftOffsetHasBeenSet = true; m_leftOffset = value; }
76 inline CaptionRectangle& WithLeftOffset(double value) { SetLeftOffset(value); return *this;}
78
80
90 inline double GetTopOffset() const{ return m_topOffset; }
91 inline bool TopOffsetHasBeenSet() const { return m_topOffsetHasBeenSet; }
92 inline void SetTopOffset(double value) { m_topOffsetHasBeenSet = true; m_topOffset = value; }
93 inline CaptionRectangle& WithTopOffset(double value) { SetTopOffset(value); return *this;}
95
97
106 inline double GetWidth() const{ return m_width; }
107 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
108 inline void SetWidth(double value) { m_widthHasBeenSet = true; m_width = value; }
109 inline CaptionRectangle& WithWidth(double value) { SetWidth(value); return *this;}
111 private:
112
113 double m_height;
114 bool m_heightHasBeenSet = false;
115
116 double m_leftOffset;
117 bool m_leftOffsetHasBeenSet = false;
118
119 double m_topOffset;
120 bool m_topOffsetHasBeenSet = false;
121
122 double m_width;
123 bool m_widthHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MediaLive
128} // namespace Aws
CaptionRectangle & WithLeftOffset(double value)
CaptionRectangle & WithWidth(double value)
CaptionRectangle & WithHeight(double value)
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