AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API FrameCaptureSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline int GetCaptureInterval() const { return m_captureInterval; }
42 inline bool CaptureIntervalHasBeenSet() const { return m_captureIntervalHasBeenSet; }
43 inline void SetCaptureInterval(int value) {
44 m_captureIntervalHasBeenSet = true;
45 m_captureInterval = value;
46 }
48 SetCaptureInterval(value);
49 return *this;
50 }
52
54
57 inline FrameCaptureIntervalUnit GetCaptureIntervalUnits() const { return m_captureIntervalUnits; }
58 inline bool CaptureIntervalUnitsHasBeenSet() const { return m_captureIntervalUnitsHasBeenSet; }
60 m_captureIntervalUnitsHasBeenSet = true;
61 m_captureIntervalUnits = value;
62 }
65 return *this;
66 }
68
70
73 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const { return m_timecodeBurninSettings; }
74 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
75 template <typename TimecodeBurninSettingsT = TimecodeBurninSettings>
76 void SetTimecodeBurninSettings(TimecodeBurninSettingsT&& value) {
77 m_timecodeBurninSettingsHasBeenSet = true;
78 m_timecodeBurninSettings = std::forward<TimecodeBurninSettingsT>(value);
79 }
80 template <typename TimecodeBurninSettingsT = TimecodeBurninSettings>
81 FrameCaptureSettings& WithTimecodeBurninSettings(TimecodeBurninSettingsT&& value) {
82 SetTimecodeBurninSettings(std::forward<TimecodeBurninSettingsT>(value));
83 return *this;
84 }
86 private:
87 int m_captureInterval{0};
88
90
91 TimecodeBurninSettings m_timecodeBurninSettings;
92 bool m_captureIntervalHasBeenSet = false;
93 bool m_captureIntervalUnitsHasBeenSet = false;
94 bool m_timecodeBurninSettingsHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace MediaLive
99} // 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