AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ac3Settings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Ac3BitstreamMode.h>
9#include <aws/medialive/model/Ac3CodingMode.h>
10#include <aws/medialive/model/Ac3DrcProfile.h>
11#include <aws/medialive/model/Ac3LfeFilter.h>
12#include <aws/medialive/model/Ac3MetadataControl.h>
13#include <aws/medialive/model/Ac3AttenuationControl.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API Ac3Settings();
40 AWS_MEDIALIVE_API Ac3Settings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Ac3Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline double GetBitrate() const{ return m_bitrate; }
50 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
51 inline void SetBitrate(double value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
52 inline Ac3Settings& WithBitrate(double value) { SetBitrate(value); return *this;}
54
56
60 inline const Ac3BitstreamMode& GetBitstreamMode() const{ return m_bitstreamMode; }
61 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
62 inline void SetBitstreamMode(const Ac3BitstreamMode& value) { m_bitstreamModeHasBeenSet = true; m_bitstreamMode = value; }
63 inline void SetBitstreamMode(Ac3BitstreamMode&& value) { m_bitstreamModeHasBeenSet = true; m_bitstreamMode = std::move(value); }
64 inline Ac3Settings& WithBitstreamMode(const Ac3BitstreamMode& value) { SetBitstreamMode(value); return *this;}
65 inline Ac3Settings& WithBitstreamMode(Ac3BitstreamMode&& value) { SetBitstreamMode(std::move(value)); return *this;}
67
69
72 inline const Ac3CodingMode& GetCodingMode() const{ return m_codingMode; }
73 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
74 inline void SetCodingMode(const Ac3CodingMode& value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
75 inline void SetCodingMode(Ac3CodingMode&& value) { m_codingModeHasBeenSet = true; m_codingMode = std::move(value); }
76 inline Ac3Settings& WithCodingMode(const Ac3CodingMode& value) { SetCodingMode(value); return *this;}
77 inline Ac3Settings& WithCodingMode(Ac3CodingMode&& value) { SetCodingMode(std::move(value)); return *this;}
79
81
85 inline int GetDialnorm() const{ return m_dialnorm; }
86 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
87 inline void SetDialnorm(int value) { m_dialnormHasBeenSet = true; m_dialnorm = value; }
88 inline Ac3Settings& WithDialnorm(int value) { SetDialnorm(value); return *this;}
90
92
96 inline const Ac3DrcProfile& GetDrcProfile() const{ return m_drcProfile; }
97 inline bool DrcProfileHasBeenSet() const { return m_drcProfileHasBeenSet; }
98 inline void SetDrcProfile(const Ac3DrcProfile& value) { m_drcProfileHasBeenSet = true; m_drcProfile = value; }
99 inline void SetDrcProfile(Ac3DrcProfile&& value) { m_drcProfileHasBeenSet = true; m_drcProfile = std::move(value); }
100 inline Ac3Settings& WithDrcProfile(const Ac3DrcProfile& value) { SetDrcProfile(value); return *this;}
101 inline Ac3Settings& WithDrcProfile(Ac3DrcProfile&& value) { SetDrcProfile(std::move(value)); return *this;}
103
105
109 inline const Ac3LfeFilter& GetLfeFilter() const{ return m_lfeFilter; }
110 inline bool LfeFilterHasBeenSet() const { return m_lfeFilterHasBeenSet; }
111 inline void SetLfeFilter(const Ac3LfeFilter& value) { m_lfeFilterHasBeenSet = true; m_lfeFilter = value; }
112 inline void SetLfeFilter(Ac3LfeFilter&& value) { m_lfeFilterHasBeenSet = true; m_lfeFilter = std::move(value); }
113 inline Ac3Settings& WithLfeFilter(const Ac3LfeFilter& value) { SetLfeFilter(value); return *this;}
114 inline Ac3Settings& WithLfeFilter(Ac3LfeFilter&& value) { SetLfeFilter(std::move(value)); return *this;}
116
118
123 inline const Ac3MetadataControl& GetMetadataControl() const{ return m_metadataControl; }
124 inline bool MetadataControlHasBeenSet() const { return m_metadataControlHasBeenSet; }
125 inline void SetMetadataControl(const Ac3MetadataControl& value) { m_metadataControlHasBeenSet = true; m_metadataControl = value; }
126 inline void SetMetadataControl(Ac3MetadataControl&& value) { m_metadataControlHasBeenSet = true; m_metadataControl = std::move(value); }
127 inline Ac3Settings& WithMetadataControl(const Ac3MetadataControl& value) { SetMetadataControl(value); return *this;}
128 inline Ac3Settings& WithMetadataControl(Ac3MetadataControl&& value) { SetMetadataControl(std::move(value)); return *this;}
130
132
136 inline const Ac3AttenuationControl& GetAttenuationControl() const{ return m_attenuationControl; }
137 inline bool AttenuationControlHasBeenSet() const { return m_attenuationControlHasBeenSet; }
138 inline void SetAttenuationControl(const Ac3AttenuationControl& value) { m_attenuationControlHasBeenSet = true; m_attenuationControl = value; }
139 inline void SetAttenuationControl(Ac3AttenuationControl&& value) { m_attenuationControlHasBeenSet = true; m_attenuationControl = std::move(value); }
141 inline Ac3Settings& WithAttenuationControl(Ac3AttenuationControl&& value) { SetAttenuationControl(std::move(value)); return *this;}
143 private:
144
145 double m_bitrate;
146 bool m_bitrateHasBeenSet = false;
147
148 Ac3BitstreamMode m_bitstreamMode;
149 bool m_bitstreamModeHasBeenSet = false;
150
151 Ac3CodingMode m_codingMode;
152 bool m_codingModeHasBeenSet = false;
153
154 int m_dialnorm;
155 bool m_dialnormHasBeenSet = false;
156
157 Ac3DrcProfile m_drcProfile;
158 bool m_drcProfileHasBeenSet = false;
159
160 Ac3LfeFilter m_lfeFilter;
161 bool m_lfeFilterHasBeenSet = false;
162
163 Ac3MetadataControl m_metadataControl;
164 bool m_metadataControlHasBeenSet = false;
165
166 Ac3AttenuationControl m_attenuationControl;
167 bool m_attenuationControlHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace MediaLive
172} // namespace Aws
Ac3Settings & WithBitstreamMode(Ac3BitstreamMode &&value)
Definition Ac3Settings.h:65
Ac3Settings & WithBitstreamMode(const Ac3BitstreamMode &value)
Definition Ac3Settings.h:64
void SetBitstreamMode(const Ac3BitstreamMode &value)
Definition Ac3Settings.h:62
void SetAttenuationControl(const Ac3AttenuationControl &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Ac3DrcProfile & GetDrcProfile() const
Definition Ac3Settings.h:96
Ac3Settings & WithDrcProfile(Ac3DrcProfile &&value)
AWS_MEDIALIVE_API Ac3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLfeFilter(const Ac3LfeFilter &value)
const Ac3LfeFilter & GetLfeFilter() const
const Ac3BitstreamMode & GetBitstreamMode() const
Definition Ac3Settings.h:60
Ac3Settings & WithCodingMode(Ac3CodingMode &&value)
Definition Ac3Settings.h:77
void SetMetadataControl(const Ac3MetadataControl &value)
Ac3Settings & WithAttenuationControl(Ac3AttenuationControl &&value)
const Ac3CodingMode & GetCodingMode() const
Definition Ac3Settings.h:72
void SetDrcProfile(Ac3DrcProfile &&value)
Definition Ac3Settings.h:99
void SetCodingMode(Ac3CodingMode &&value)
Definition Ac3Settings.h:75
const Ac3MetadataControl & GetMetadataControl() const
Ac3Settings & WithDialnorm(int value)
Definition Ac3Settings.h:88
const Ac3AttenuationControl & GetAttenuationControl() const
void SetBitstreamMode(Ac3BitstreamMode &&value)
Definition Ac3Settings.h:63
Ac3Settings & WithAttenuationControl(const Ac3AttenuationControl &value)
Ac3Settings & WithCodingMode(const Ac3CodingMode &value)
Definition Ac3Settings.h:76
void SetAttenuationControl(Ac3AttenuationControl &&value)
void SetLfeFilter(Ac3LfeFilter &&value)
void SetMetadataControl(Ac3MetadataControl &&value)
Ac3Settings & WithBitrate(double value)
Definition Ac3Settings.h:52
AWS_MEDIALIVE_API Ac3Settings(Aws::Utils::Json::JsonView jsonValue)
Ac3Settings & WithMetadataControl(const Ac3MetadataControl &value)
Ac3Settings & WithMetadataControl(Ac3MetadataControl &&value)
void SetDrcProfile(const Ac3DrcProfile &value)
Definition Ac3Settings.h:98
Ac3Settings & WithDrcProfile(const Ac3DrcProfile &value)
Ac3Settings & WithLfeFilter(Ac3LfeFilter &&value)
Ac3Settings & WithLfeFilter(const Ac3LfeFilter &value)
void SetCodingMode(const Ac3CodingMode &value)
Definition Ac3Settings.h:74
Aws::Utils::Json::JsonValue JsonValue