AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
FrameCaptureSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/FrameCaptureIntervalUnit.h>
9#include <aws/medialive/model/TimecodeBurninSettings.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API FrameCaptureSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline int GetCaptureInterval() const { return m_captureInterval; }
48 inline bool CaptureIntervalHasBeenSet() const { return m_captureIntervalHasBeenSet; }
49 inline void SetCaptureInterval(int value) { m_captureIntervalHasBeenSet = true; m_captureInterval = value; }
50 inline FrameCaptureSettings& WithCaptureInterval(int value) { SetCaptureInterval(value); return *this;}
52
54
57 inline FrameCaptureIntervalUnit GetCaptureIntervalUnits() const { return m_captureIntervalUnits; }
58 inline bool CaptureIntervalUnitsHasBeenSet() const { return m_captureIntervalUnitsHasBeenSet; }
59 inline void SetCaptureIntervalUnits(FrameCaptureIntervalUnit value) { m_captureIntervalUnitsHasBeenSet = true; m_captureIntervalUnits = value; }
62
64
67 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const { return m_timecodeBurninSettings; }
68 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
69 template<typename TimecodeBurninSettingsT = TimecodeBurninSettings>
70 void SetTimecodeBurninSettings(TimecodeBurninSettingsT&& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = std::forward<TimecodeBurninSettingsT>(value); }
71 template<typename TimecodeBurninSettingsT = TimecodeBurninSettings>
72 FrameCaptureSettings& WithTimecodeBurninSettings(TimecodeBurninSettingsT&& value) { SetTimecodeBurninSettings(std::forward<TimecodeBurninSettingsT>(value)); return *this;}
74 private:
75
76 int m_captureInterval{0};
77 bool m_captureIntervalHasBeenSet = false;
78
80 bool m_captureIntervalUnitsHasBeenSet = false;
81
82 TimecodeBurninSettings m_timecodeBurninSettings;
83 bool m_timecodeBurninSettingsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace MediaLive
88} // namespace Aws
FrameCaptureSettings & WithCaptureInterval(int value)
void SetCaptureIntervalUnits(FrameCaptureIntervalUnit value)
const TimecodeBurninSettings & GetTimecodeBurninSettings() const
FrameCaptureSettings & WithCaptureIntervalUnits(FrameCaptureIntervalUnit value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API FrameCaptureSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
FrameCaptureSettings & WithTimecodeBurninSettings(TimecodeBurninSettingsT &&value)
AWS_MEDIALIVE_API FrameCaptureSettings(Aws::Utils::Json::JsonView jsonValue)
void SetTimecodeBurninSettings(TimecodeBurninSettingsT &&value)
FrameCaptureIntervalUnit GetCaptureIntervalUnits() const
AWS_MEDIALIVE_API FrameCaptureSettings()=default
Aws::Utils::Json::JsonValue JsonValue