AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
AudioSilenceFailoverSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API AudioSilenceFailoverSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetAudioSelectorName() const { return m_audioSelectorName; }
48 inline bool AudioSelectorNameHasBeenSet() const { return m_audioSelectorNameHasBeenSet; }
49 template<typename AudioSelectorNameT = Aws::String>
50 void SetAudioSelectorName(AudioSelectorNameT&& value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName = std::forward<AudioSelectorNameT>(value); }
51 template<typename AudioSelectorNameT = Aws::String>
52 AudioSilenceFailoverSettings& WithAudioSelectorName(AudioSelectorNameT&& value) { SetAudioSelectorName(std::forward<AudioSelectorNameT>(value)); return *this;}
54
56
61 inline int GetAudioSilenceThresholdMsec() const { return m_audioSilenceThresholdMsec; }
62 inline bool AudioSilenceThresholdMsecHasBeenSet() const { return m_audioSilenceThresholdMsecHasBeenSet; }
63 inline void SetAudioSilenceThresholdMsec(int value) { m_audioSilenceThresholdMsecHasBeenSet = true; m_audioSilenceThresholdMsec = value; }
66 private:
67
68 Aws::String m_audioSelectorName;
69 bool m_audioSelectorNameHasBeenSet = false;
70
71 int m_audioSilenceThresholdMsec{0};
72 bool m_audioSilenceThresholdMsecHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaLive
77} // namespace Aws
AudioSilenceFailoverSettings & WithAudioSelectorName(AudioSelectorNameT &&value)
AWS_MEDIALIVE_API AudioSilenceFailoverSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioSilenceFailoverSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioSilenceFailoverSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AudioSilenceFailoverSettings & WithAudioSilenceThresholdMsec(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue