AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InputDeviceHdSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputDeviceActiveInput.h>
9#include <aws/medialive/model/InputDeviceConfiguredInput.h>
10#include <aws/medialive/model/InputDeviceScanType.h>
11#include <aws/medialive/model/InputDeviceState.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive {
23namespace Model {
24
32 public:
33 AWS_MEDIALIVE_API InputDeviceHdSettings() = default;
36 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline InputDeviceActiveInput GetActiveInput() const { return m_activeInput; }
44 inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; }
46 m_activeInputHasBeenSet = true;
47 m_activeInput = value;
48 }
50 SetActiveInput(value);
51 return *this;
52 }
54
56
60 inline InputDeviceConfiguredInput GetConfiguredInput() const { return m_configuredInput; }
61 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
63 m_configuredInputHasBeenSet = true;
64 m_configuredInput = value;
65 }
67 SetConfiguredInput(value);
68 return *this;
69 }
71
73
76 inline InputDeviceState GetDeviceState() const { return m_deviceState; }
77 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
78 inline void SetDeviceState(InputDeviceState value) {
79 m_deviceStateHasBeenSet = true;
80 m_deviceState = value;
81 }
83 SetDeviceState(value);
84 return *this;
85 }
87
89
92 inline double GetFramerate() const { return m_framerate; }
93 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
94 inline void SetFramerate(double value) {
95 m_framerateHasBeenSet = true;
96 m_framerate = value;
97 }
98 inline InputDeviceHdSettings& WithFramerate(double value) {
99 SetFramerate(value);
100 return *this;
101 }
103
105
108 inline int GetHeight() const { return m_height; }
109 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
110 inline void SetHeight(int value) {
111 m_heightHasBeenSet = true;
112 m_height = value;
113 }
115 SetHeight(value);
116 return *this;
117 }
119
121
125 inline int GetMaxBitrate() const { return m_maxBitrate; }
126 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
127 inline void SetMaxBitrate(int value) {
128 m_maxBitrateHasBeenSet = true;
129 m_maxBitrate = value;
130 }
132 SetMaxBitrate(value);
133 return *this;
134 }
136
138
141 inline InputDeviceScanType GetScanType() const { return m_scanType; }
142 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
143 inline void SetScanType(InputDeviceScanType value) {
144 m_scanTypeHasBeenSet = true;
145 m_scanType = value;
146 }
148 SetScanType(value);
149 return *this;
150 }
152
154
157 inline int GetWidth() const { return m_width; }
158 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
159 inline void SetWidth(int value) {
160 m_widthHasBeenSet = true;
161 m_width = value;
162 }
163 inline InputDeviceHdSettings& WithWidth(int value) {
164 SetWidth(value);
165 return *this;
166 }
168
170
174 inline int GetLatencyMs() const { return m_latencyMs; }
175 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
176 inline void SetLatencyMs(int value) {
177 m_latencyMsHasBeenSet = true;
178 m_latencyMs = value;
179 }
181 SetLatencyMs(value);
182 return *this;
183 }
185 private:
187
189
191
192 double m_framerate{0.0};
193
194 int m_height{0};
195
196 int m_maxBitrate{0};
197
199
200 int m_width{0};
201
202 int m_latencyMs{0};
203 bool m_activeInputHasBeenSet = false;
204 bool m_configuredInputHasBeenSet = false;
205 bool m_deviceStateHasBeenSet = false;
206 bool m_framerateHasBeenSet = false;
207 bool m_heightHasBeenSet = false;
208 bool m_maxBitrateHasBeenSet = false;
209 bool m_scanTypeHasBeenSet = false;
210 bool m_widthHasBeenSet = false;
211 bool m_latencyMsHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace MediaLive
216} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceHdSettings & WithHeight(int value)
InputDeviceHdSettings & WithLatencyMs(int value)
InputDeviceHdSettings & WithScanType(InputDeviceScanType value)
AWS_MEDIALIVE_API InputDeviceHdSettings()=default
AWS_MEDIALIVE_API InputDeviceHdSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDeviceHdSettings & WithMaxBitrate(int value)
InputDeviceHdSettings & WithDeviceState(InputDeviceState value)
void SetActiveInput(InputDeviceActiveInput value)
AWS_MEDIALIVE_API InputDeviceHdSettings(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguredInput(InputDeviceConfiguredInput value)
InputDeviceConfiguredInput GetConfiguredInput() const
InputDeviceHdSettings & WithConfiguredInput(InputDeviceConfiguredInput value)
InputDeviceHdSettings & WithActiveInput(InputDeviceActiveInput value)
InputDeviceHdSettings & WithWidth(int value)
InputDeviceHdSettings & WithFramerate(double value)
Aws::Utils::Json::JsonValue JsonValue