AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Video.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ivsrealtime {
17namespace Model {
18
24class Video {
25 public:
26 AWS_IVSREALTIME_API Video() = default;
27 AWS_IVSREALTIME_API Video(Aws::Utils::Json::JsonView jsonValue);
28 AWS_IVSREALTIME_API Video& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
37 inline int GetWidth() const { return m_width; }
38 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
39 inline void SetWidth(int value) {
40 m_widthHasBeenSet = true;
41 m_width = value;
42 }
43 inline Video& WithWidth(int value) {
44 SetWidth(value);
45 return *this;
46 }
48
50
55 inline int GetHeight() const { return m_height; }
56 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
57 inline void SetHeight(int value) {
58 m_heightHasBeenSet = true;
59 m_height = value;
60 }
61 inline Video& WithHeight(int value) {
62 SetHeight(value);
63 return *this;
64 }
66
68
71 inline double GetFramerate() const { return m_framerate; }
72 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
73 inline void SetFramerate(double value) {
74 m_framerateHasBeenSet = true;
75 m_framerate = value;
76 }
77 inline Video& WithFramerate(double value) {
78 SetFramerate(value);
79 return *this;
80 }
82
84
87 inline int GetBitrate() const { return m_bitrate; }
88 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
89 inline void SetBitrate(int value) {
90 m_bitrateHasBeenSet = true;
91 m_bitrate = value;
92 }
93 inline Video& WithBitrate(int value) {
94 SetBitrate(value);
95 return *this;
96 }
98 private:
99 int m_width{0};
100
101 int m_height{0};
102
103 double m_framerate{0.0};
104
105 int m_bitrate{0};
106 bool m_widthHasBeenSet = false;
107 bool m_heightHasBeenSet = false;
108 bool m_framerateHasBeenSet = false;
109 bool m_bitrateHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ivsrealtime
114} // namespace Aws
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool WidthHasBeenSet() const
Definition Video.h:38
void SetBitrate(int value)
Definition Video.h:89
Video & WithBitrate(int value)
Definition Video.h:93
void SetFramerate(double value)
Definition Video.h:73
bool FramerateHasBeenSet() const
Definition Video.h:72
Video & WithHeight(int value)
Definition Video.h:61
void SetHeight(int value)
Definition Video.h:57
void SetWidth(int value)
Definition Video.h:39
Video & WithFramerate(double value)
Definition Video.h:77
AWS_IVSREALTIME_API Video()=default
AWS_IVSREALTIME_API Video(Aws::Utils::Json::JsonView jsonValue)
double GetFramerate() const
Definition Video.h:71
Video & WithWidth(int value)
Definition Video.h:43
bool BitrateHasBeenSet() const
Definition Video.h:88
AWS_IVSREALTIME_API Video & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HeightHasBeenSet() const
Definition Video.h:56
Aws::Utils::Json::JsonValue JsonValue