AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAacSettings(const AacSettings& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = value; }
51 inline void SetAacSettings(AacSettings&& value) { m_aacSettingsHasBeenSet = true; m_aacSettings = std::move(value); }
52 inline AudioCodecSettings& WithAacSettings(const AacSettings& value) { SetAacSettings(value); return *this;}
53 inline AudioCodecSettings& WithAacSettings(AacSettings&& value) { SetAacSettings(std::move(value)); return *this;}
55
57
58 inline const Ac3Settings& GetAc3Settings() const{ return m_ac3Settings; }
59 inline bool Ac3SettingsHasBeenSet() const { return m_ac3SettingsHasBeenSet; }
60 inline void SetAc3Settings(const Ac3Settings& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = value; }
61 inline void SetAc3Settings(Ac3Settings&& value) { m_ac3SettingsHasBeenSet = true; m_ac3Settings = std::move(value); }
62 inline AudioCodecSettings& WithAc3Settings(const Ac3Settings& value) { SetAc3Settings(value); return *this;}
63 inline AudioCodecSettings& WithAc3Settings(Ac3Settings&& value) { SetAc3Settings(std::move(value)); return *this;}
65
67
68 inline const Eac3AtmosSettings& GetEac3AtmosSettings() const{ return m_eac3AtmosSettings; }
69 inline bool Eac3AtmosSettingsHasBeenSet() const { return m_eac3AtmosSettingsHasBeenSet; }
70 inline void SetEac3AtmosSettings(const Eac3AtmosSettings& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = value; }
71 inline void SetEac3AtmosSettings(Eac3AtmosSettings&& value) { m_eac3AtmosSettingsHasBeenSet = true; m_eac3AtmosSettings = std::move(value); }
73 inline AudioCodecSettings& WithEac3AtmosSettings(Eac3AtmosSettings&& value) { SetEac3AtmosSettings(std::move(value)); return *this;}
75
77
78 inline const Eac3Settings& GetEac3Settings() const{ return m_eac3Settings; }
79 inline bool Eac3SettingsHasBeenSet() const { return m_eac3SettingsHasBeenSet; }
80 inline void SetEac3Settings(const Eac3Settings& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = value; }
81 inline void SetEac3Settings(Eac3Settings&& value) { m_eac3SettingsHasBeenSet = true; m_eac3Settings = std::move(value); }
82 inline AudioCodecSettings& WithEac3Settings(const Eac3Settings& value) { SetEac3Settings(value); return *this;}
83 inline AudioCodecSettings& WithEac3Settings(Eac3Settings&& value) { SetEac3Settings(std::move(value)); return *this;}
85
87
88 inline const Mp2Settings& GetMp2Settings() const{ return m_mp2Settings; }
89 inline bool Mp2SettingsHasBeenSet() const { return m_mp2SettingsHasBeenSet; }
90 inline void SetMp2Settings(const Mp2Settings& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = value; }
91 inline void SetMp2Settings(Mp2Settings&& value) { m_mp2SettingsHasBeenSet = true; m_mp2Settings = std::move(value); }
92 inline AudioCodecSettings& WithMp2Settings(const Mp2Settings& value) { SetMp2Settings(value); return *this;}
93 inline AudioCodecSettings& WithMp2Settings(Mp2Settings&& value) { SetMp2Settings(std::move(value)); return *this;}
95
97
98 inline const PassThroughSettings& GetPassThroughSettings() const{ return m_passThroughSettings; }
99 inline bool PassThroughSettingsHasBeenSet() const { return m_passThroughSettingsHasBeenSet; }
100 inline void SetPassThroughSettings(const PassThroughSettings& value) { m_passThroughSettingsHasBeenSet = true; m_passThroughSettings = value; }
101 inline void SetPassThroughSettings(PassThroughSettings&& value) { m_passThroughSettingsHasBeenSet = true; m_passThroughSettings = std::move(value); }
105
107
108 inline const WavSettings& GetWavSettings() const{ return m_wavSettings; }
109 inline bool WavSettingsHasBeenSet() const { return m_wavSettingsHasBeenSet; }
110 inline void SetWavSettings(const WavSettings& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = value; }
111 inline void SetWavSettings(WavSettings&& value) { m_wavSettingsHasBeenSet = true; m_wavSettings = std::move(value); }
112 inline AudioCodecSettings& WithWavSettings(const WavSettings& value) { SetWavSettings(value); return *this;}
113 inline AudioCodecSettings& WithWavSettings(WavSettings&& value) { SetWavSettings(std::move(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(const Ac3Settings &value)
void SetWavSettings(const WavSettings &value)
AudioCodecSettings & WithPassThroughSettings(const PassThroughSettings &value)
AudioCodecSettings & WithEac3AtmosSettings(const Eac3AtmosSettings &value)
AudioCodecSettings & WithEac3Settings(Eac3Settings &&value)
void SetPassThroughSettings(const PassThroughSettings &value)
void SetMp2Settings(const Mp2Settings &value)
const PassThroughSettings & GetPassThroughSettings() const
void SetEac3Settings(const Eac3Settings &value)
void SetAacSettings(const AacSettings &value)
AudioCodecSettings & WithMp2Settings(const Mp2Settings &value)
AudioCodecSettings & WithEac3AtmosSettings(Eac3AtmosSettings &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AudioCodecSettings & WithAacSettings(const AacSettings &value)
AudioCodecSettings & WithAacSettings(AacSettings &&value)
void SetEac3AtmosSettings(Eac3AtmosSettings &&value)
void SetPassThroughSettings(PassThroughSettings &&value)
AudioCodecSettings & WithWavSettings(const WavSettings &value)
void SetEac3AtmosSettings(const Eac3AtmosSettings &value)
void SetAc3Settings(const Ac3Settings &value)
const Eac3AtmosSettings & GetEac3AtmosSettings() const
AWS_MEDIALIVE_API AudioCodecSettings(Aws::Utils::Json::JsonView jsonValue)
AudioCodecSettings & WithEac3Settings(const Eac3Settings &value)
AudioCodecSettings & WithPassThroughSettings(PassThroughSettings &&value)
AWS_MEDIALIVE_API AudioCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Eac3Settings & GetEac3Settings() const
AudioCodecSettings & WithWavSettings(WavSettings &&value)
AudioCodecSettings & WithAc3Settings(Ac3Settings &&value)
AudioCodecSettings & WithMp2Settings(Mp2Settings &&value)
Aws::Utils::Json::JsonValue JsonValue