AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputDeviceUhdSettings.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/InputDeviceState.h>
11#include <aws/medialive/model/InputDeviceScanType.h>
12#include <aws/medialive/model/InputDeviceCodec.h>
13#include <aws/medialive/model/InputDeviceMediaConnectSettings.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/medialive/model/InputDeviceUhdAudioChannelPairConfig.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_MEDIALIVE_API InputDeviceUhdSettings() = default;
46 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline InputDeviceActiveInput GetActiveInput() const { return m_activeInput; }
55 inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; }
56 inline void SetActiveInput(InputDeviceActiveInput value) { m_activeInputHasBeenSet = true; m_activeInput = value; }
59
61
65 inline InputDeviceConfiguredInput GetConfiguredInput() const { return m_configuredInput; }
66 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
67 inline void SetConfiguredInput(InputDeviceConfiguredInput value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
70
72
75 inline InputDeviceState GetDeviceState() const { return m_deviceState; }
76 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
77 inline void SetDeviceState(InputDeviceState value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
80
82
85 inline double GetFramerate() const { return m_framerate; }
86 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
87 inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; }
88 inline InputDeviceUhdSettings& WithFramerate(double value) { SetFramerate(value); return *this;}
90
92
95 inline int GetHeight() const { return m_height; }
96 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
97 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
98 inline InputDeviceUhdSettings& WithHeight(int value) { SetHeight(value); return *this;}
100
102
106 inline int GetMaxBitrate() const { return m_maxBitrate; }
107 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
108 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
109 inline InputDeviceUhdSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
111
113
116 inline InputDeviceScanType GetScanType() const { return m_scanType; }
117 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
118 inline void SetScanType(InputDeviceScanType value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
121
123
126 inline int GetWidth() const { return m_width; }
127 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
128 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
129 inline InputDeviceUhdSettings& WithWidth(int value) { SetWidth(value); return *this;}
131
133
137 inline int GetLatencyMs() const { return m_latencyMs; }
138 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
139 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
140 inline InputDeviceUhdSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
142
144
147 inline InputDeviceCodec GetCodec() const { return m_codec; }
148 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
149 inline void SetCodec(InputDeviceCodec value) { m_codecHasBeenSet = true; m_codec = value; }
150 inline InputDeviceUhdSettings& WithCodec(InputDeviceCodec value) { SetCodec(value); return *this;}
152
154
158 inline const InputDeviceMediaConnectSettings& GetMediaconnectSettings() const { return m_mediaconnectSettings; }
159 inline bool MediaconnectSettingsHasBeenSet() const { return m_mediaconnectSettingsHasBeenSet; }
160 template<typename MediaconnectSettingsT = InputDeviceMediaConnectSettings>
161 void SetMediaconnectSettings(MediaconnectSettingsT&& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = std::forward<MediaconnectSettingsT>(value); }
162 template<typename MediaconnectSettingsT = InputDeviceMediaConnectSettings>
163 InputDeviceUhdSettings& WithMediaconnectSettings(MediaconnectSettingsT&& value) { SetMediaconnectSettings(std::forward<MediaconnectSettingsT>(value)); return *this;}
165
167
173 inline const Aws::Vector<InputDeviceUhdAudioChannelPairConfig>& GetAudioChannelPairs() const { return m_audioChannelPairs; }
174 inline bool AudioChannelPairsHasBeenSet() const { return m_audioChannelPairsHasBeenSet; }
175 template<typename AudioChannelPairsT = Aws::Vector<InputDeviceUhdAudioChannelPairConfig>>
176 void SetAudioChannelPairs(AudioChannelPairsT&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = std::forward<AudioChannelPairsT>(value); }
177 template<typename AudioChannelPairsT = Aws::Vector<InputDeviceUhdAudioChannelPairConfig>>
178 InputDeviceUhdSettings& WithAudioChannelPairs(AudioChannelPairsT&& value) { SetAudioChannelPairs(std::forward<AudioChannelPairsT>(value)); return *this;}
179 template<typename AudioChannelPairsT = InputDeviceUhdAudioChannelPairConfig>
180 InputDeviceUhdSettings& AddAudioChannelPairs(AudioChannelPairsT&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.emplace_back(std::forward<AudioChannelPairsT>(value)); return *this; }
182
184
188 inline const Aws::String& GetInputResolution() const { return m_inputResolution; }
189 inline bool InputResolutionHasBeenSet() const { return m_inputResolutionHasBeenSet; }
190 template<typename InputResolutionT = Aws::String>
191 void SetInputResolution(InputResolutionT&& value) { m_inputResolutionHasBeenSet = true; m_inputResolution = std::forward<InputResolutionT>(value); }
192 template<typename InputResolutionT = Aws::String>
193 InputDeviceUhdSettings& WithInputResolution(InputResolutionT&& value) { SetInputResolution(std::forward<InputResolutionT>(value)); return *this;}
195 private:
196
198 bool m_activeInputHasBeenSet = false;
199
201 bool m_configuredInputHasBeenSet = false;
202
204 bool m_deviceStateHasBeenSet = false;
205
206 double m_framerate{0.0};
207 bool m_framerateHasBeenSet = false;
208
209 int m_height{0};
210 bool m_heightHasBeenSet = false;
211
212 int m_maxBitrate{0};
213 bool m_maxBitrateHasBeenSet = false;
214
216 bool m_scanTypeHasBeenSet = false;
217
218 int m_width{0};
219 bool m_widthHasBeenSet = false;
220
221 int m_latencyMs{0};
222 bool m_latencyMsHasBeenSet = false;
223
225 bool m_codecHasBeenSet = false;
226
227 InputDeviceMediaConnectSettings m_mediaconnectSettings;
228 bool m_mediaconnectSettingsHasBeenSet = false;
229
231 bool m_audioChannelPairsHasBeenSet = false;
232
233 Aws::String m_inputResolution;
234 bool m_inputResolutionHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace MediaLive
239} // namespace Aws
AWS_MEDIALIVE_API InputDeviceUhdSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDeviceUhdSettings & WithFramerate(double value)
InputDeviceUhdSettings & WithHeight(int value)
InputDeviceUhdSettings & WithMediaconnectSettings(MediaconnectSettingsT &&value)
void SetActiveInput(InputDeviceActiveInput value)
InputDeviceUhdSettings & WithActiveInput(InputDeviceActiveInput value)
AWS_MEDIALIVE_API InputDeviceUhdSettings(Aws::Utils::Json::JsonView jsonValue)
InputDeviceUhdSettings & WithScanType(InputDeviceScanType value)
InputDeviceUhdSettings & WithLatencyMs(int value)
InputDeviceUhdSettings & WithAudioChannelPairs(AudioChannelPairsT &&value)
InputDeviceUhdSettings & AddAudioChannelPairs(AudioChannelPairsT &&value)
void SetAudioChannelPairs(AudioChannelPairsT &&value)
InputDeviceUhdSettings & WithInputResolution(InputResolutionT &&value)
InputDeviceUhdSettings & WithMaxBitrate(int value)
InputDeviceUhdSettings & WithDeviceState(InputDeviceState value)
void SetConfiguredInput(InputDeviceConfiguredInput value)
InputDeviceUhdSettings & WithCodec(InputDeviceCodec value)
const Aws::Vector< InputDeviceUhdAudioChannelPairConfig > & GetAudioChannelPairs() const
InputDeviceUhdSettings & WithConfiguredInput(InputDeviceConfiguredInput value)
AWS_MEDIALIVE_API InputDeviceUhdSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const InputDeviceMediaConnectSettings & GetMediaconnectSettings() const
InputDeviceUhdSettings & WithWidth(int value)
void SetMediaconnectSettings(MediaconnectSettingsT &&value)
InputDeviceConfiguredInput GetConfiguredInput() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue