AWS SDK for C++

AWS SDK for C++ Version 1.11.837

Loading...
Searching...
No Matches
AudioPid.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AudioDolbyEDecode.h>
9#include <aws/medialive/model/AudioPreMixerSettings.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29class AudioPid {
30 public:
31 AWS_MEDIALIVE_API AudioPid() = default;
32 AWS_MEDIALIVE_API AudioPid(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIALIVE_API AudioPid& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
47 inline const AudioDolbyEDecode& GetDolbyEDecode() const { return m_dolbyEDecode; }
48 inline bool DolbyEDecodeHasBeenSet() const { return m_dolbyEDecodeHasBeenSet; }
49 template <typename DolbyEDecodeT = AudioDolbyEDecode>
50 void SetDolbyEDecode(DolbyEDecodeT&& value) {
51 m_dolbyEDecodeHasBeenSet = true;
52 m_dolbyEDecode = std::forward<DolbyEDecodeT>(value);
53 }
54 template <typename DolbyEDecodeT = AudioDolbyEDecode>
55 AudioPid& WithDolbyEDecode(DolbyEDecodeT&& value) {
56 SetDolbyEDecode(std::forward<DolbyEDecodeT>(value));
57 return *this;
58 }
60
62
65 inline int GetPid() const { return m_pid; }
66 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
67 inline void SetPid(int value) {
68 m_pidHasBeenSet = true;
69 m_pid = value;
70 }
71 inline AudioPid& WithPid(int value) {
72 SetPid(value);
73 return *this;
74 }
76
78
85 inline const AudioPreMixerSettings& GetPremixSettings() const { return m_premixSettings; }
86 inline bool PremixSettingsHasBeenSet() const { return m_premixSettingsHasBeenSet; }
87 template <typename PremixSettingsT = AudioPreMixerSettings>
88 void SetPremixSettings(PremixSettingsT&& value) {
89 m_premixSettingsHasBeenSet = true;
90 m_premixSettings = std::forward<PremixSettingsT>(value);
91 }
92 template <typename PremixSettingsT = AudioPreMixerSettings>
93 AudioPid& WithPremixSettings(PremixSettingsT&& value) {
94 SetPremixSettings(std::forward<PremixSettingsT>(value));
95 return *this;
96 }
98 private:
99 AudioDolbyEDecode m_dolbyEDecode;
100
101 int m_pid{0};
102
103 AudioPreMixerSettings m_premixSettings;
104 bool m_dolbyEDecodeHasBeenSet = false;
105 bool m_pidHasBeenSet = false;
106 bool m_premixSettingsHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace MediaLive
111} // namespace Aws
AudioPid & WithPid(int value)
Definition AudioPid.h:71
bool DolbyEDecodeHasBeenSet() const
Definition AudioPid.h:48
AudioPid & WithDolbyEDecode(DolbyEDecodeT &&value)
Definition AudioPid.h:55
AWS_MEDIALIVE_API AudioPid & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioPid & WithPremixSettings(PremixSettingsT &&value)
Definition AudioPid.h:93
void SetDolbyEDecode(DolbyEDecodeT &&value)
Definition AudioPid.h:50
AWS_MEDIALIVE_API AudioPid()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const AudioDolbyEDecode & GetDolbyEDecode() const
Definition AudioPid.h:47
const AudioPreMixerSettings & GetPremixSettings() const
Definition AudioPid.h:85
void SetPremixSettings(PremixSettingsT &&value)
Definition AudioPid.h:88
AWS_MEDIALIVE_API AudioPid(Aws::Utils::Json::JsonView jsonValue)
bool PremixSettingsHasBeenSet() const
Definition AudioPid.h:86
Aws::Utils::Json::JsonValue JsonValue