/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Frame Capture Settings

See Also:

AWS * API Reference

*/ class AWS_MEDIALIVE_API FrameCaptureSettings { public: FrameCaptureSettings(); FrameCaptureSettings(Aws::Utils::Json::JsonView jsonValue); FrameCaptureSettings& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * The frequency at which to capture frames for inclusion in the output. May be * specified in either seconds or milliseconds, as specified by * captureIntervalUnits. */ inline int GetCaptureInterval() const{ return m_captureInterval; } /** * The frequency at which to capture frames for inclusion in the output. May be * specified in either seconds or milliseconds, as specified by * captureIntervalUnits. */ inline bool CaptureIntervalHasBeenSet() const { return m_captureIntervalHasBeenSet; } /** * The frequency at which to capture frames for inclusion in the output. May be * specified in either seconds or milliseconds, as specified by * captureIntervalUnits. */ inline void SetCaptureInterval(int value) { m_captureIntervalHasBeenSet = true; m_captureInterval = value; } /** * The frequency at which to capture frames for inclusion in the output. May be * specified in either seconds or milliseconds, as specified by * captureIntervalUnits. */ inline FrameCaptureSettings& WithCaptureInterval(int value) { SetCaptureInterval(value); return *this;} /** * Unit for the frame capture interval. */ inline const FrameCaptureIntervalUnit& GetCaptureIntervalUnits() const{ return m_captureIntervalUnits; } /** * Unit for the frame capture interval. */ inline bool CaptureIntervalUnitsHasBeenSet() const { return m_captureIntervalUnitsHasBeenSet; } /** * Unit for the frame capture interval. */ inline void SetCaptureIntervalUnits(const FrameCaptureIntervalUnit& value) { m_captureIntervalUnitsHasBeenSet = true; m_captureIntervalUnits = value; } /** * Unit for the frame capture interval. */ inline void SetCaptureIntervalUnits(FrameCaptureIntervalUnit&& value) { m_captureIntervalUnitsHasBeenSet = true; m_captureIntervalUnits = std::move(value); } /** * Unit for the frame capture interval. */ inline FrameCaptureSettings& WithCaptureIntervalUnits(const FrameCaptureIntervalUnit& value) { SetCaptureIntervalUnits(value); return *this;} /** * Unit for the frame capture interval. */ inline FrameCaptureSettings& WithCaptureIntervalUnits(FrameCaptureIntervalUnit&& value) { SetCaptureIntervalUnits(std::move(value)); return *this;} private: int m_captureInterval; bool m_captureIntervalHasBeenSet; FrameCaptureIntervalUnit m_captureIntervalUnits; bool m_captureIntervalUnitsHasBeenSet; }; } // namespace Model } // namespace MediaLive } // namespace Aws