AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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() = default;
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 Ac3BitstreamMode GetBitstreamMode() const { return m_bitstreamMode; }
61 inline bool BitstreamModeHasBeenSet() const { return m_bitstreamModeHasBeenSet; }
62 inline void SetBitstreamMode(Ac3BitstreamMode value) { m_bitstreamModeHasBeenSet = true; m_bitstreamMode = value; }
63 inline Ac3Settings& WithBitstreamMode(Ac3BitstreamMode value) { SetBitstreamMode(value); return *this;}
65
67
70 inline Ac3CodingMode GetCodingMode() const { return m_codingMode; }
71 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
72 inline void SetCodingMode(Ac3CodingMode value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
73 inline Ac3Settings& WithCodingMode(Ac3CodingMode value) { SetCodingMode(value); return *this;}
75
77
81 inline int GetDialnorm() const { return m_dialnorm; }
82 inline bool DialnormHasBeenSet() const { return m_dialnormHasBeenSet; }
83 inline void SetDialnorm(int value) { m_dialnormHasBeenSet = true; m_dialnorm = value; }
84 inline Ac3Settings& WithDialnorm(int value) { SetDialnorm(value); return *this;}
86
88
92 inline Ac3DrcProfile GetDrcProfile() const { return m_drcProfile; }
93 inline bool DrcProfileHasBeenSet() const { return m_drcProfileHasBeenSet; }
94 inline void SetDrcProfile(Ac3DrcProfile value) { m_drcProfileHasBeenSet = true; m_drcProfile = value; }
95 inline Ac3Settings& WithDrcProfile(Ac3DrcProfile value) { SetDrcProfile(value); return *this;}
97
99
103 inline Ac3LfeFilter GetLfeFilter() const { return m_lfeFilter; }
104 inline bool LfeFilterHasBeenSet() const { return m_lfeFilterHasBeenSet; }
105 inline void SetLfeFilter(Ac3LfeFilter value) { m_lfeFilterHasBeenSet = true; m_lfeFilter = value; }
106 inline Ac3Settings& WithLfeFilter(Ac3LfeFilter value) { SetLfeFilter(value); return *this;}
108
110
115 inline Ac3MetadataControl GetMetadataControl() const { return m_metadataControl; }
116 inline bool MetadataControlHasBeenSet() const { return m_metadataControlHasBeenSet; }
117 inline void SetMetadataControl(Ac3MetadataControl value) { m_metadataControlHasBeenSet = true; m_metadataControl = value; }
120
122
126 inline Ac3AttenuationControl GetAttenuationControl() const { return m_attenuationControl; }
127 inline bool AttenuationControlHasBeenSet() const { return m_attenuationControlHasBeenSet; }
128 inline void SetAttenuationControl(Ac3AttenuationControl value) { m_attenuationControlHasBeenSet = true; m_attenuationControl = value; }
131 private:
132
133 double m_bitrate{0.0};
134 bool m_bitrateHasBeenSet = false;
135
137 bool m_bitstreamModeHasBeenSet = false;
138
140 bool m_codingModeHasBeenSet = false;
141
142 int m_dialnorm{0};
143 bool m_dialnormHasBeenSet = false;
144
146 bool m_drcProfileHasBeenSet = false;
147
149 bool m_lfeFilterHasBeenSet = false;
150
152 bool m_metadataControlHasBeenSet = false;
153
155 bool m_attenuationControlHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace MediaLive
160} // namespace Aws
void SetCodingMode(Ac3CodingMode value)
Definition Ac3Settings.h:72
Ac3CodingMode GetCodingMode() const
Definition Ac3Settings.h:70
Ac3AttenuationControl GetAttenuationControl() const
Ac3Settings & WithAttenuationControl(Ac3AttenuationControl value)
Ac3Settings & WithDrcProfile(Ac3DrcProfile value)
Definition Ac3Settings.h:95
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API Ac3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Ac3Settings()=default
Ac3Settings & WithLfeFilter(Ac3LfeFilter value)
Ac3Settings & WithCodingMode(Ac3CodingMode value)
Definition Ac3Settings.h:73
Ac3Settings & WithMetadataControl(Ac3MetadataControl value)
Ac3Settings & WithDialnorm(int value)
Definition Ac3Settings.h:84
Ac3BitstreamMode GetBitstreamMode() const
Definition Ac3Settings.h:60
void SetLfeFilter(Ac3LfeFilter value)
Ac3Settings & WithBitstreamMode(Ac3BitstreamMode value)
Definition Ac3Settings.h:63
Ac3DrcProfile GetDrcProfile() const
Definition Ac3Settings.h:92
Ac3Settings & WithBitrate(double value)
Definition Ac3Settings.h:52
AWS_MEDIALIVE_API Ac3Settings(Aws::Utils::Json::JsonView jsonValue)
void SetAttenuationControl(Ac3AttenuationControl value)
void SetBitstreamMode(Ac3BitstreamMode value)
Definition Ac3Settings.h:62
Ac3LfeFilter GetLfeFilter() const
void SetMetadataControl(Ac3MetadataControl value)
void SetDrcProfile(Ac3DrcProfile value)
Definition Ac3Settings.h:94
Ac3MetadataControl GetMetadataControl() const
Aws::Utils::Json::JsonValue JsonValue