AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Video.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_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 ivsrealtime
20{
21namespace Model
22{
23
29 class Video
30 {
31 public:
32 AWS_IVSREALTIME_API Video();
33 AWS_IVSREALTIME_API Video(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IVSREALTIME_API Video& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
44 inline int GetWidth() const{ return m_width; }
45 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
46 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
47 inline Video& WithWidth(int value) { SetWidth(value); return *this;}
49
51
56 inline int GetHeight() const{ return m_height; }
57 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
58 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
59 inline Video& WithHeight(int value) { SetHeight(value); return *this;}
61
63
66 inline double GetFramerate() const{ return m_framerate; }
67 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
68 inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; }
69 inline Video& WithFramerate(double value) { SetFramerate(value); return *this;}
71
73
76 inline int GetBitrate() const{ return m_bitrate; }
77 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
78 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
79 inline Video& WithBitrate(int value) { SetBitrate(value); return *this;}
81 private:
82
83 int m_width;
84 bool m_widthHasBeenSet = false;
85
86 int m_height;
87 bool m_heightHasBeenSet = false;
88
89 double m_framerate;
90 bool m_framerateHasBeenSet = false;
91
92 int m_bitrate;
93 bool m_bitrateHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ivsrealtime
98} // namespace Aws
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool WidthHasBeenSet() const
Definition Video.h:45
void SetBitrate(int value)
Definition Video.h:78
Video & WithBitrate(int value)
Definition Video.h:79
void SetFramerate(double value)
Definition Video.h:68
bool FramerateHasBeenSet() const
Definition Video.h:67
Video & WithHeight(int value)
Definition Video.h:59
void SetHeight(int value)
Definition Video.h:58
void SetWidth(int value)
Definition Video.h:46
Video & WithFramerate(double value)
Definition Video.h:69
AWS_IVSREALTIME_API Video(Aws::Utils::Json::JsonView jsonValue)
double GetFramerate() const
Definition Video.h:66
Video & WithWidth(int value)
Definition Video.h:47
bool BitrateHasBeenSet() const
Definition Video.h:77
AWS_IVSREALTIME_API Video()
AWS_IVSREALTIME_API Video & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HeightHasBeenSet() const
Definition Video.h:57
Aws::Utils::Json::JsonValue JsonValue