AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAudioSelectorName(const Aws::String& value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName = value; }
50 inline void SetAudioSelectorName(Aws::String&& value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName = std::move(value); }
51 inline void SetAudioSelectorName(const char* value) { m_audioSelectorNameHasBeenSet = true; m_audioSelectorName.assign(value); }
53 inline AudioSilenceFailoverSettings& WithAudioSelectorName(Aws::String&& value) { SetAudioSelectorName(std::move(value)); return *this;}
54 inline AudioSilenceFailoverSettings& WithAudioSelectorName(const char* value) { SetAudioSelectorName(value); return *this;}
56
58
63 inline int GetAudioSilenceThresholdMsec() const{ return m_audioSilenceThresholdMsec; }
64 inline bool AudioSilenceThresholdMsecHasBeenSet() const { return m_audioSilenceThresholdMsecHasBeenSet; }
65 inline void SetAudioSilenceThresholdMsec(int value) { m_audioSilenceThresholdMsecHasBeenSet = true; m_audioSilenceThresholdMsec = value; }
68 private:
69
70 Aws::String m_audioSelectorName;
71 bool m_audioSelectorNameHasBeenSet = false;
72
73 int m_audioSilenceThresholdMsec;
74 bool m_audioSilenceThresholdMsecHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
AudioSilenceFailoverSettings & WithAudioSelectorName(const char *value)
AudioSilenceFailoverSettings & WithAudioSelectorName(const Aws::String &value)
AWS_MEDIALIVE_API AudioSilenceFailoverSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioSilenceFailoverSettings(Aws::Utils::Json::JsonView jsonValue)
AudioSilenceFailoverSettings & WithAudioSelectorName(Aws::String &&value)
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