AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AudioSilenceFailoverSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
29 public:
30 AWS_MEDIALIVE_API AudioSilenceFailoverSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetAudioSelectorName() const { return m_audioSelectorName; }
42 inline bool AudioSelectorNameHasBeenSet() const { return m_audioSelectorNameHasBeenSet; }
43 template <typename AudioSelectorNameT = Aws::String>
44 void SetAudioSelectorName(AudioSelectorNameT&& value) {
45 m_audioSelectorNameHasBeenSet = true;
46 m_audioSelectorName = std::forward<AudioSelectorNameT>(value);
47 }
48 template <typename AudioSelectorNameT = Aws::String>
50 SetAudioSelectorName(std::forward<AudioSelectorNameT>(value));
51 return *this;
52 }
54
56
61 inline int GetAudioSilenceThresholdMsec() const { return m_audioSilenceThresholdMsec; }
62 inline bool AudioSilenceThresholdMsecHasBeenSet() const { return m_audioSilenceThresholdMsecHasBeenSet; }
63 inline void SetAudioSilenceThresholdMsec(int value) {
64 m_audioSilenceThresholdMsecHasBeenSet = true;
65 m_audioSilenceThresholdMsec = value;
66 }
69 return *this;
70 }
72 private:
73 Aws::String m_audioSelectorName;
74
75 int m_audioSilenceThresholdMsec{0};
76 bool m_audioSelectorNameHasBeenSet = false;
77 bool m_audioSilenceThresholdMsecHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // 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