AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
VideoBlackFailoverSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaLive {
17namespace Model {
18
26 public:
27 AWS_MEDIALIVE_API VideoBlackFailoverSettings() = default;
30 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
44 inline double GetBlackDetectThreshold() const { return m_blackDetectThreshold; }
45 inline bool BlackDetectThresholdHasBeenSet() const { return m_blackDetectThresholdHasBeenSet; }
46 inline void SetBlackDetectThreshold(double value) {
47 m_blackDetectThresholdHasBeenSet = true;
48 m_blackDetectThreshold = value;
49 }
52 return *this;
53 }
55
57
61 inline int GetVideoBlackThresholdMsec() const { return m_videoBlackThresholdMsec; }
62 inline bool VideoBlackThresholdMsecHasBeenSet() const { return m_videoBlackThresholdMsecHasBeenSet; }
63 inline void SetVideoBlackThresholdMsec(int value) {
64 m_videoBlackThresholdMsecHasBeenSet = true;
65 m_videoBlackThresholdMsec = value;
66 }
69 return *this;
70 }
72 private:
73 double m_blackDetectThreshold{0.0};
74
75 int m_videoBlackThresholdMsec{0};
76 bool m_blackDetectThresholdHasBeenSet = false;
77 bool m_videoBlackThresholdMsecHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
AWS_MEDIALIVE_API VideoBlackFailoverSettings(Aws::Utils::Json::JsonView jsonValue)
VideoBlackFailoverSettings & WithVideoBlackThresholdMsec(int value)
AWS_MEDIALIVE_API VideoBlackFailoverSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API VideoBlackFailoverSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoBlackFailoverSettings & WithBlackDetectThreshold(double value)
Aws::Utils::Json::JsonValue JsonValue