AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
SilentAudioConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/ContentQualityAnalysisState.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
30 public:
31 AWS_MEDIACONNECT_API SilentAudioConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ContentQualityAnalysisState GetState() const { return m_state; }
41 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
43 m_stateHasBeenSet = true;
44 m_state = value;
45 }
47 SetState(value);
48 return *this;
49 }
51
53
57 inline int GetThresholdSeconds() const { return m_thresholdSeconds; }
58 inline bool ThresholdSecondsHasBeenSet() const { return m_thresholdSecondsHasBeenSet; }
59 inline void SetThresholdSeconds(int value) {
60 m_thresholdSecondsHasBeenSet = true;
61 m_thresholdSeconds = value;
62 }
65 return *this;
66 }
68 private:
70
71 int m_thresholdSeconds{0};
72 bool m_stateHasBeenSet = false;
73 bool m_thresholdSecondsHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace MediaConnect
78} // namespace Aws
AWS_MEDIACONNECT_API SilentAudioConfiguration()=default
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SilentAudioConfiguration & WithThresholdSeconds(int value)
AWS_MEDIACONNECT_API SilentAudioConfiguration(Aws::Utils::Json::JsonView jsonValue)
SilentAudioConfiguration & WithState(ContentQualityAnalysisState value)
AWS_MEDIACONNECT_API SilentAudioConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue