AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
AudioCodecSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AacSettings.h>
9#include <aws/medialive/model/Ac3Settings.h>
10#include <aws/medialive/model/Eac3AtmosSettings.h>
11#include <aws/medialive/model/Eac3Settings.h>
12#include <aws/medialive/model/Mp2Settings.h>
13#include <aws/medialive/model/PassThroughSettings.h>
14#include <aws/medialive/model/WavSettings.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIALIVE_API AudioCodecSettings() = default;
41 AWS_MEDIALIVE_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const AacSettings& GetAacSettings() const { return m_aacSettings; }
49 inline bool AacSettingsHasBeenSet() const { return m_aacSettingsHasBeenSet; }
50 template<typename AacSettingsT = AacSettings>
51 void SetAacSettings(AacSettingsT&& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = std::forward<AacSettingsT>(value); }
52 template<typename AacSettingsT = AacSettings>
53 AudioCodecSettings& WithAacSettings(AacSettingsT&& value) { SetAacSettings(std::forward<AacSettingsT>(value)); return *this;}
55
57
58 inline const Ac3Settings& GetAc3Settings() const { return m_ac3Settings; }
59 inline bool Ac3SettingsHasBeenSet() const { return m_ac3SettingsHasBeenSet; }
60 template<typename Ac3SettingsT = Ac3Settings>
61 void SetAc3Settings(Ac3SettingsT&& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = std::forward<Ac3SettingsT>(value); }
62 template<typename Ac3SettingsT = Ac3Settings>
63 AudioCodecSettings& WithAc3Settings(Ac3SettingsT&& value) { SetAc3Settings(std::forward<Ac3SettingsT>(value)); return *this;}
65
67
68 inline const Eac3AtmosSettings& GetEac3AtmosSettings() const { return m_eac3AtmosSettings; }
69 inline bool Eac3AtmosSettingsHasBeenSet() const { return m_eac3AtmosSettingsHasBeenSet; }
70 template<typename Eac3AtmosSettingsT = Eac3AtmosSettings>
71 void SetEac3AtmosSettings(Eac3AtmosSettingsT&& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = std::forward<Eac3AtmosSettingsT>(value); }
72 template<typename Eac3AtmosSettingsT = Eac3AtmosSettings>
73 AudioCodecSettings& WithEac3AtmosSettings(Eac3AtmosSettingsT&& value) { SetEac3AtmosSettings(std::forward<Eac3AtmosSettingsT>(value)); return *this;}
75
77
78 inline const Eac3Settings& GetEac3Settings() const { return m_eac3Settings; }
79 inline bool Eac3SettingsHasBeenSet() const { return m_eac3SettingsHasBeenSet; }
80 template<typename Eac3SettingsT = Eac3Settings>
81 void SetEac3Settings(Eac3SettingsT&& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = std::forward<Eac3SettingsT>(value); }
82 template<typename Eac3SettingsT = Eac3Settings>
83 AudioCodecSettings& WithEac3Settings(Eac3SettingsT&& value) { SetEac3Settings(std::forward<Eac3SettingsT>(value)); return *this;}
85
87
88 inline const Mp2Settings& GetMp2Settings() const { return m_mp2Settings; }
89 inline bool Mp2SettingsHasBeenSet() const { return m_mp2SettingsHasBeenSet; }
90 template<typename Mp2SettingsT = Mp2Settings>
91 void SetMp2Settings(Mp2SettingsT&& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = std::forward<Mp2SettingsT>(value); }
92 template<typename Mp2SettingsT = Mp2Settings>
93 AudioCodecSettings& WithMp2Settings(Mp2SettingsT&& value) { SetMp2Settings(std::forward<Mp2SettingsT>(value)); return *this;}
95
97
98 inline const PassThroughSettings& GetPassThroughSettings() const { return m_passThroughSettings; }
99 inline bool PassThroughSettingsHasBeenSet() const { return m_passThroughSettingsHasBeenSet; }
100 template<typename PassThroughSettingsT = PassThroughSettings>
101 void SetPassThroughSettings(PassThroughSettingsT&& value) { m_passThroughSettingsHasBeenSet = true; m_passThroughSettings = std::forward<PassThroughSettingsT>(value); }
102 template<typename PassThroughSettingsT = PassThroughSettings>
103 AudioCodecSettings& WithPassThroughSettings(PassThroughSettingsT&& value) { SetPassThroughSettings(std::forward<PassThroughSettingsT>(value)); return *this;}
105
107
108 inline const WavSettings& GetWavSettings() const { return m_wavSettings; }
109 inline bool WavSettingsHasBeenSet() const { return m_wavSettingsHasBeenSet; }
110 template<typename WavSettingsT = WavSettings>
111 void SetWavSettings(WavSettingsT&& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = std::forward<WavSettingsT>(value); }
112 template<typename WavSettingsT = WavSettings>
113 AudioCodecSettings& WithWavSettings(WavSettingsT&& value) { SetWavSettings(std::forward<WavSettingsT>(value)); return *this;}
115 private:
116
117 AacSettings m_aacSettings;
118 bool m_aacSettingsHasBeenSet = false;
119
120 Ac3Settings m_ac3Settings;
121 bool m_ac3SettingsHasBeenSet = false;
122
123 Eac3AtmosSettings m_eac3AtmosSettings;
124 bool m_eac3AtmosSettingsHasBeenSet = false;
125
126 Eac3Settings m_eac3Settings;
127 bool m_eac3SettingsHasBeenSet = false;
128
129 Mp2Settings m_mp2Settings;
130 bool m_mp2SettingsHasBeenSet = false;
131
132 PassThroughSettings m_passThroughSettings;
133 bool m_passThroughSettingsHasBeenSet = false;
134
135 WavSettings m_wavSettings;
136 bool m_wavSettingsHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace MediaLive
141} // namespace Aws
AudioCodecSettings & WithAc3Settings(Ac3SettingsT &&value)
const PassThroughSettings & GetPassThroughSettings() const
void SetEac3Settings(Eac3SettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPassThroughSettings(PassThroughSettingsT &&value)
void SetEac3AtmosSettings(Eac3AtmosSettingsT &&value)
AudioCodecSettings & WithWavSettings(WavSettingsT &&value)
AudioCodecSettings & WithEac3Settings(Eac3SettingsT &&value)
AudioCodecSettings & WithMp2Settings(Mp2SettingsT &&value)
const Eac3AtmosSettings & GetEac3AtmosSettings() const
AudioCodecSettings & WithPassThroughSettings(PassThroughSettingsT &&value)
AWS_MEDIALIVE_API AudioCodecSettings()=default
AudioCodecSettings & WithEac3AtmosSettings(Eac3AtmosSettingsT &&value)
AWS_MEDIALIVE_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AudioCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Eac3Settings & GetEac3Settings() const
AudioCodecSettings & WithAacSettings(AacSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue