AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailoverConditionSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioSilenceFailoverSettings.h>
9#include <aws/medialive/model/InputLossFailoverSettings.h>
10#include <aws/medialive/model/VideoBlackFailoverSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API FailoverConditionSettings();
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AudioSilenceFailoverSettings& GetAudioSilenceSettings() const{ return m_audioSilenceSettings; }
48 inline bool AudioSilenceSettingsHasBeenSet() const { return m_audioSilenceSettingsHasBeenSet; }
49 inline void SetAudioSilenceSettings(const AudioSilenceFailoverSettings& value) { m_audioSilenceSettingsHasBeenSet = true; m_audioSilenceSettings = value; }
50 inline void SetAudioSilenceSettings(AudioSilenceFailoverSettings&& value) { m_audioSilenceSettingsHasBeenSet = true; m_audioSilenceSettings = std::move(value); }
54
56
60 inline const InputLossFailoverSettings& GetInputLossSettings() const{ return m_inputLossSettings; }
61 inline bool InputLossSettingsHasBeenSet() const { return m_inputLossSettingsHasBeenSet; }
62 inline void SetInputLossSettings(const InputLossFailoverSettings& value) { m_inputLossSettingsHasBeenSet = true; m_inputLossSettings = value; }
63 inline void SetInputLossSettings(InputLossFailoverSettings&& value) { m_inputLossSettingsHasBeenSet = true; m_inputLossSettings = std::move(value); }
67
69
73 inline const VideoBlackFailoverSettings& GetVideoBlackSettings() const{ return m_videoBlackSettings; }
74 inline bool VideoBlackSettingsHasBeenSet() const { return m_videoBlackSettingsHasBeenSet; }
75 inline void SetVideoBlackSettings(const VideoBlackFailoverSettings& value) { m_videoBlackSettingsHasBeenSet = true; m_videoBlackSettings = value; }
76 inline void SetVideoBlackSettings(VideoBlackFailoverSettings&& value) { m_videoBlackSettingsHasBeenSet = true; m_videoBlackSettings = std::move(value); }
80 private:
81
82 AudioSilenceFailoverSettings m_audioSilenceSettings;
83 bool m_audioSilenceSettingsHasBeenSet = false;
84
85 InputLossFailoverSettings m_inputLossSettings;
86 bool m_inputLossSettingsHasBeenSet = false;
87
88 VideoBlackFailoverSettings m_videoBlackSettings;
89 bool m_videoBlackSettingsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace MediaLive
94} // namespace Aws
AWS_MEDIALIVE_API FailoverConditionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
FailoverConditionSettings & WithAudioSilenceSettings(AudioSilenceFailoverSettings &&value)
FailoverConditionSettings & WithVideoBlackSettings(VideoBlackFailoverSettings &&value)
void SetInputLossSettings(const InputLossFailoverSettings &value)
void SetVideoBlackSettings(const VideoBlackFailoverSettings &value)
FailoverConditionSettings & WithAudioSilenceSettings(const AudioSilenceFailoverSettings &value)
void SetVideoBlackSettings(VideoBlackFailoverSettings &&value)
void SetAudioSilenceSettings(AudioSilenceFailoverSettings &&value)
FailoverConditionSettings & WithVideoBlackSettings(const VideoBlackFailoverSettings &value)
const VideoBlackFailoverSettings & GetVideoBlackSettings() const
const AudioSilenceFailoverSettings & GetAudioSilenceSettings() const
AWS_MEDIALIVE_API FailoverConditionSettings(Aws::Utils::Json::JsonView jsonValue)
const InputLossFailoverSettings & GetInputLossSettings() const
FailoverConditionSettings & WithInputLossSettings(const InputLossFailoverSettings &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputLossSettings(InputLossFailoverSettings &&value)
void SetAudioSilenceSettings(const AudioSilenceFailoverSettings &value)
FailoverConditionSettings & WithInputLossSettings(InputLossFailoverSettings &&value)
Aws::Utils::Json::JsonValue JsonValue