/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Settings that describe the active source from the input device, and the video * characteristics of that source.

See Also:

AWS * API Reference

*/ class InputDeviceHdSettings { public: AWS_MEDIALIVE_API InputDeviceHdSettings(); AWS_MEDIALIVE_API InputDeviceHdSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API InputDeviceHdSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline const InputDeviceActiveInput& GetActiveInput() const{ return m_activeInput; } /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline bool ActiveInputHasBeenSet() const { return m_activeInputHasBeenSet; } /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline void SetActiveInput(const InputDeviceActiveInput& value) { m_activeInputHasBeenSet = true; m_activeInput = value; } /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline void SetActiveInput(InputDeviceActiveInput&& value) { m_activeInputHasBeenSet = true; m_activeInput = std::move(value); } /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline InputDeviceHdSettings& WithActiveInput(const InputDeviceActiveInput& value) { SetActiveInput(value); return *this;} /** * If you specified Auto as the configured input, specifies which of the sources is * currently active (SDI or HDMI). */ inline InputDeviceHdSettings& WithActiveInput(InputDeviceActiveInput&& value) { SetActiveInput(std::move(value)); return *this;} /** * The source at the input device that is currently active. You can specify this * source. */ inline const InputDeviceConfiguredInput& GetConfiguredInput() const{ return m_configuredInput; } /** * The source at the input device that is currently active. You can specify this * source. */ inline bool ConfiguredInputHasBeenSet() const { return m_configuredInputHasBeenSet; } /** * The source at the input device that is currently active. You can specify this * source. */ inline void SetConfiguredInput(const InputDeviceConfiguredInput& value) { m_configuredInputHasBeenSet = true; m_configuredInput = value; } /** * The source at the input device that is currently active. You can specify this * source. */ inline void SetConfiguredInput(InputDeviceConfiguredInput&& value) { m_configuredInputHasBeenSet = true; m_configuredInput = std::move(value); } /** * The source at the input device that is currently active. You can specify this * source. */ inline InputDeviceHdSettings& WithConfiguredInput(const InputDeviceConfiguredInput& value) { SetConfiguredInput(value); return *this;} /** * The source at the input device that is currently active. You can specify this * source. */ inline InputDeviceHdSettings& WithConfiguredInput(InputDeviceConfiguredInput&& value) { SetConfiguredInput(std::move(value)); return *this;} /** * The state of the input device. */ inline const InputDeviceState& GetDeviceState() const{ return m_deviceState; } /** * The state of the input device. */ inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; } /** * The state of the input device. */ inline void SetDeviceState(const InputDeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; } /** * The state of the input device. */ inline void SetDeviceState(InputDeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); } /** * The state of the input device. */ inline InputDeviceHdSettings& WithDeviceState(const InputDeviceState& value) { SetDeviceState(value); return *this;} /** * The state of the input device. */ inline InputDeviceHdSettings& WithDeviceState(InputDeviceState&& value) { SetDeviceState(std::move(value)); return *this;} /** * The frame rate of the video source. */ inline double GetFramerate() const{ return m_framerate; } /** * The frame rate of the video source. */ inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; } /** * The frame rate of the video source. */ inline void SetFramerate(double value) { m_framerateHasBeenSet = true; m_framerate = value; } /** * The frame rate of the video source. */ inline InputDeviceHdSettings& WithFramerate(double value) { SetFramerate(value); return *this;} /** * The height of the video source, in pixels. */ inline int GetHeight() const{ return m_height; } /** * The height of the video source, in pixels. */ inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; } /** * The height of the video source, in pixels. */ inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; } /** * The height of the video source, in pixels. */ inline InputDeviceHdSettings& WithHeight(int value) { SetHeight(value); return *this;} /** * The current maximum bitrate for ingesting this source, in bits per second. You * can specify this maximum. */ inline int GetMaxBitrate() const{ return m_maxBitrate; } /** * The current maximum bitrate for ingesting this source, in bits per second. You * can specify this maximum. */ inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; } /** * The current maximum bitrate for ingesting this source, in bits per second. You * can specify this maximum. */ inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; } /** * The current maximum bitrate for ingesting this source, in bits per second. You * can specify this maximum. */ inline InputDeviceHdSettings& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;} /** * The scan type of the video source. */ inline const InputDeviceScanType& GetScanType() const{ return m_scanType; } /** * The scan type of the video source. */ inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; } /** * The scan type of the video source. */ inline void SetScanType(const InputDeviceScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; } /** * The scan type of the video source. */ inline void SetScanType(InputDeviceScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); } /** * The scan type of the video source. */ inline InputDeviceHdSettings& WithScanType(const InputDeviceScanType& value) { SetScanType(value); return *this;} /** * The scan type of the video source. */ inline InputDeviceHdSettings& WithScanType(InputDeviceScanType&& value) { SetScanType(std::move(value)); return *this;} /** * The width of the video source, in pixels. */ inline int GetWidth() const{ return m_width; } /** * The width of the video source, in pixels. */ inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } /** * The width of the video source, in pixels. */ inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; } /** * The width of the video source, in pixels. */ inline InputDeviceHdSettings& WithWidth(int value) { SetWidth(value); return *this;} /** * The Link device's buffer size (latency) in milliseconds (ms). You can specify * this value. */ inline int GetLatencyMs() const{ return m_latencyMs; } /** * The Link device's buffer size (latency) in milliseconds (ms). You can specify * this value. */ inline bool LatencyMsHasBeenSet() const { return m_latencyMsHasBeenSet; } /** * The Link device's buffer size (latency) in milliseconds (ms). You can specify * this value. */ inline void SetLatencyMs(int value) { m_latencyMsHasBeenSet = true; m_latencyMs = value; } /** * The Link device's buffer size (latency) in milliseconds (ms). You can specify * this value. */ inline InputDeviceHdSettings& WithLatencyMs(int value) { SetLatencyMs(value); return *this;} private: InputDeviceActiveInput m_activeInput; bool m_activeInputHasBeenSet = false; InputDeviceConfiguredInput m_configuredInput; bool m_configuredInputHasBeenSet = false; InputDeviceState m_deviceState; bool m_deviceStateHasBeenSet = false; double m_framerate; bool m_framerateHasBeenSet = false; int m_height; bool m_heightHasBeenSet = false; int m_maxBitrate; bool m_maxBitrateHasBeenSet = false; InputDeviceScanType m_scanType; bool m_scanTypeHasBeenSet = false; int m_width; bool m_widthHasBeenSet = false; int m_latencyMs; bool m_latencyMsHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws