AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/medialive/model/InputDeviceUhdAudioChannelPairConfig.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_MEDIALIVE_API InputDeviceUhdSettings();
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const InputDeviceActiveInput& GetActiveInput() const{ return m_activeInput; }
54 inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; }
55 inline void SetActiveInput(const InputDeviceActiveInput& value) { m_activeInputHasBeenSet = true; m_activeInput = value; }
56 inline void SetActiveInput(InputDeviceActiveInput&& value) { m_activeInputHasBeenSet = true; m_activeInput = std::move(value); }
57 inline InputDeviceUhdSettings& WithActiveInput(const InputDeviceActiveInput& value) { SetActiveInput(value); return *this;}
58 inline InputDeviceUhdSettings& WithActiveInput(InputDeviceActiveInput&& value) { SetActiveInput(std::move(value)); return *this;}
60
62
66 inline const InputDeviceConfiguredInput& GetConfiguredInput() const{ return m_configuredInput; }
67 inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; }
68 inline void SetConfiguredInput(const InputDeviceConfiguredInput& value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; }
69 inline void SetConfiguredInput(InputDeviceConfiguredInput&& value) { m_configuredInputHasBeenSet = true; m_configuredInput = std::move(value); }
73
75
78 inline const InputDeviceState& GetDeviceState() const{ return m_deviceState; }
79 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
80 inline void SetDeviceState(const InputDeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
81 inline void SetDeviceState(InputDeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); }
82 inline InputDeviceUhdSettings& WithDeviceState(const InputDeviceState& value) { SetDeviceState(value); return *this;}
83 inline InputDeviceUhdSettings& WithDeviceState(InputDeviceState&& value) { SetDeviceState(std::move(value)); return *this;}
85
87
90 inline double GetFramerate() const{ return m_framerate; }
91 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
92 inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; }
93 inline InputDeviceUhdSettings& WithFramerate(double value) { SetFramerate(value); return *this;}
95
97
100 inline int GetHeight() const{ return m_height; }
101 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
102 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
103 inline InputDeviceUhdSettings& WithHeight(int value) { SetHeight(value); return *this;}
105
107
111 inline int GetMaxBitrate() const{ return m_maxBitrate; }
112 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
113 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
114 inline InputDeviceUhdSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
116
118
121 inline const InputDeviceScanType& GetScanType() const{ return m_scanType; }
122 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
123 inline void SetScanType(const InputDeviceScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
124 inline void SetScanType(InputDeviceScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
125 inline InputDeviceUhdSettings& WithScanType(const InputDeviceScanType& value) { SetScanType(value); return *this;}
126 inline InputDeviceUhdSettings& WithScanType(InputDeviceScanType&& value) { SetScanType(std::move(value)); return *this;}
128
130
133 inline int GetWidth() const{ return m_width; }
134 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
135 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
136 inline InputDeviceUhdSettings& WithWidth(int value) { SetWidth(value); return *this;}
138
140
144 inline int GetLatencyMs() const{ return m_latencyMs; }
145 inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; }
146 inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; }
147 inline InputDeviceUhdSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;}
149
151
154 inline const InputDeviceCodec& GetCodec() const{ return m_codec; }
155 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
156 inline void SetCodec(const InputDeviceCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
157 inline void SetCodec(InputDeviceCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
158 inline InputDeviceUhdSettings& WithCodec(const InputDeviceCodec& value) { SetCodec(value); return *this;}
159 inline InputDeviceUhdSettings& WithCodec(InputDeviceCodec&& value) { SetCodec(std::move(value)); return *this;}
161
163
167 inline const InputDeviceMediaConnectSettings& GetMediaconnectSettings() const{ return m_mediaconnectSettings; }
168 inline bool MediaconnectSettingsHasBeenSet() const { return m_mediaconnectSettingsHasBeenSet; }
169 inline void SetMediaconnectSettings(const InputDeviceMediaConnectSettings& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = value; }
170 inline void SetMediaconnectSettings(InputDeviceMediaConnectSettings&& value) { m_mediaconnectSettingsHasBeenSet = true; m_mediaconnectSettings = std::move(value); }
174
176
182 inline const Aws::Vector<InputDeviceUhdAudioChannelPairConfig>& GetAudioChannelPairs() const{ return m_audioChannelPairs; }
183 inline bool AudioChannelPairsHasBeenSet() const { return m_audioChannelPairsHasBeenSet; }
184 inline void SetAudioChannelPairs(const Aws::Vector<InputDeviceUhdAudioChannelPairConfig>& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = value; }
185 inline void SetAudioChannelPairs(Aws::Vector<InputDeviceUhdAudioChannelPairConfig>&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs = std::move(value); }
188 inline InputDeviceUhdSettings& AddAudioChannelPairs(const InputDeviceUhdAudioChannelPairConfig& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.push_back(value); return *this; }
189 inline InputDeviceUhdSettings& AddAudioChannelPairs(InputDeviceUhdAudioChannelPairConfig&& value) { m_audioChannelPairsHasBeenSet = true; m_audioChannelPairs.push_back(std::move(value)); return *this; }
191 private:
192
193 InputDeviceActiveInput m_activeInput;
194 bool m_activeInputHasBeenSet = false;
195
196 InputDeviceConfiguredInput m_configuredInput;
197 bool m_configuredInputHasBeenSet = false;
198
199 InputDeviceState m_deviceState;
200 bool m_deviceStateHasBeenSet = false;
201
202 double m_framerate;
203 bool m_framerateHasBeenSet = false;
204
205 int m_height;
206 bool m_heightHasBeenSet = false;
207
208 int m_maxBitrate;
209 bool m_maxBitrateHasBeenSet = false;
210
211 InputDeviceScanType m_scanType;
212 bool m_scanTypeHasBeenSet = false;
213
214 int m_width;
215 bool m_widthHasBeenSet = false;
216
217 int m_latencyMs;
218 bool m_latencyMsHasBeenSet = false;
219
220 InputDeviceCodec m_codec;
221 bool m_codecHasBeenSet = false;
222
223 InputDeviceMediaConnectSettings m_mediaconnectSettings;
224 bool m_mediaconnectSettingsHasBeenSet = false;
225
227 bool m_audioChannelPairsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace MediaLive
232} // namespace Aws
const InputDeviceConfiguredInput & GetConfiguredInput() const
AWS_MEDIALIVE_API InputDeviceUhdSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDeviceUhdSettings & AddAudioChannelPairs(const InputDeviceUhdAudioChannelPairConfig &value)
void SetConfiguredInput(InputDeviceConfiguredInput &&value)
InputDeviceUhdSettings & WithAudioChannelPairs(Aws::Vector< InputDeviceUhdAudioChannelPairConfig > &&value)
InputDeviceUhdSettings & WithDeviceState(const InputDeviceState &value)
InputDeviceUhdSettings & WithFramerate(double value)
InputDeviceUhdSettings & WithConfiguredInput(const InputDeviceConfiguredInput &value)
InputDeviceUhdSettings & WithAudioChannelPairs(const Aws::Vector< InputDeviceUhdAudioChannelPairConfig > &value)
void SetDeviceState(const InputDeviceState &value)
InputDeviceUhdSettings & WithHeight(int value)
void SetMediaconnectSettings(InputDeviceMediaConnectSettings &&value)
InputDeviceUhdSettings & AddAudioChannelPairs(InputDeviceUhdAudioChannelPairConfig &&value)
void SetScanType(const InputDeviceScanType &value)
AWS_MEDIALIVE_API InputDeviceUhdSettings(Aws::Utils::Json::JsonView jsonValue)
InputDeviceUhdSettings & WithLatencyMs(int value)
void SetActiveInput(InputDeviceActiveInput &&value)
InputDeviceUhdSettings & WithScanType(InputDeviceScanType &&value)
InputDeviceUhdSettings & WithDeviceState(InputDeviceState &&value)
void SetAudioChannelPairs(const Aws::Vector< InputDeviceUhdAudioChannelPairConfig > &value)
InputDeviceUhdSettings & WithMediaconnectSettings(InputDeviceMediaConnectSettings &&value)
InputDeviceUhdSettings & WithActiveInput(InputDeviceActiveInput &&value)
InputDeviceUhdSettings & WithCodec(InputDeviceCodec &&value)
InputDeviceUhdSettings & WithMaxBitrate(int value)
InputDeviceUhdSettings & WithScanType(const InputDeviceScanType &value)
InputDeviceUhdSettings & WithActiveInput(const InputDeviceActiveInput &value)
InputDeviceUhdSettings & WithMediaconnectSettings(const InputDeviceMediaConnectSettings &value)
const InputDeviceScanType & GetScanType() const
const Aws::Vector< InputDeviceUhdAudioChannelPairConfig > & GetAudioChannelPairs() const
void SetActiveInput(const InputDeviceActiveInput &value)
void SetAudioChannelPairs(Aws::Vector< InputDeviceUhdAudioChannelPairConfig > &&value)
const InputDeviceActiveInput & GetActiveInput() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const InputDeviceMediaConnectSettings & GetMediaconnectSettings() const
void SetConfiguredInput(const InputDeviceConfiguredInput &value)
InputDeviceUhdSettings & WithWidth(int value)
InputDeviceUhdSettings & WithConfiguredInput(InputDeviceConfiguredInput &&value)
InputDeviceUhdSettings & WithCodec(const InputDeviceCodec &value)
void SetMediaconnectSettings(const InputDeviceMediaConnectSettings &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue