AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MultiplexM2tsSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/M2tsAbsentInputAudioBehavior.h>
9#include <aws/medialive/model/M2tsArib.h>
10#include <aws/medialive/model/M2tsAudioBufferModel.h>
11#include <aws/medialive/model/M2tsAudioStreamType.h>
12#include <aws/medialive/model/M2tsCcDescriptor.h>
13#include <aws/medialive/model/M2tsEbifControl.h>
14#include <aws/medialive/model/M2tsEsRateInPes.h>
15#include <aws/medialive/model/M2tsKlv.h>
16#include <aws/medialive/model/M2tsNielsenId3Behavior.h>
17#include <aws/medialive/model/M2tsPcrControl.h>
18#include <aws/medialive/model/M2tsScte35Control.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive {
30namespace Model {
31
38 public:
39 AWS_MEDIALIVE_API MultiplexM2tsSettings() = default;
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
52 inline M2tsAbsentInputAudioBehavior GetAbsentInputAudioBehavior() const { return m_absentInputAudioBehavior; }
53 inline bool AbsentInputAudioBehaviorHasBeenSet() const { return m_absentInputAudioBehaviorHasBeenSet; }
55 m_absentInputAudioBehaviorHasBeenSet = true;
56 m_absentInputAudioBehavior = value;
57 }
60 return *this;
61 }
63
65
69 inline M2tsArib GetArib() const { return m_arib; }
70 inline bool AribHasBeenSet() const { return m_aribHasBeenSet; }
71 inline void SetArib(M2tsArib value) {
72 m_aribHasBeenSet = true;
73 m_arib = value;
74 }
76 SetArib(value);
77 return *this;
78 }
80
82
86 inline M2tsAudioBufferModel GetAudioBufferModel() const { return m_audioBufferModel; }
87 inline bool AudioBufferModelHasBeenSet() const { return m_audioBufferModelHasBeenSet; }
89 m_audioBufferModelHasBeenSet = true;
90 m_audioBufferModel = value;
91 }
94 return *this;
95 }
97
99
102 inline int GetAudioFramesPerPes() const { return m_audioFramesPerPes; }
103 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
104 inline void SetAudioFramesPerPes(int value) {
105 m_audioFramesPerPesHasBeenSet = true;
106 m_audioFramesPerPes = value;
107 }
110 return *this;
111 }
113
115
119 inline M2tsAudioStreamType GetAudioStreamType() const { return m_audioStreamType; }
120 inline bool AudioStreamTypeHasBeenSet() const { return m_audioStreamTypeHasBeenSet; }
122 m_audioStreamTypeHasBeenSet = true;
123 m_audioStreamType = value;
124 }
126 SetAudioStreamType(value);
127 return *this;
128 }
130
132
135 inline M2tsCcDescriptor GetCcDescriptor() const { return m_ccDescriptor; }
136 inline bool CcDescriptorHasBeenSet() const { return m_ccDescriptorHasBeenSet; }
138 m_ccDescriptorHasBeenSet = true;
139 m_ccDescriptor = value;
140 }
142 SetCcDescriptor(value);
143 return *this;
144 }
146
148
152 inline M2tsEbifControl GetEbif() const { return m_ebif; }
153 inline bool EbifHasBeenSet() const { return m_ebifHasBeenSet; }
154 inline void SetEbif(M2tsEbifControl value) {
155 m_ebifHasBeenSet = true;
156 m_ebif = value;
157 }
159 SetEbif(value);
160 return *this;
161 }
163
165
168 inline M2tsEsRateInPes GetEsRateInPes() const { return m_esRateInPes; }
169 inline bool EsRateInPesHasBeenSet() const { return m_esRateInPesHasBeenSet; }
170 inline void SetEsRateInPes(M2tsEsRateInPes value) {
171 m_esRateInPesHasBeenSet = true;
172 m_esRateInPes = value;
173 }
175 SetEsRateInPes(value);
176 return *this;
177 }
179
181
184 inline M2tsKlv GetKlv() const { return m_klv; }
185 inline bool KlvHasBeenSet() const { return m_klvHasBeenSet; }
186 inline void SetKlv(M2tsKlv value) {
187 m_klvHasBeenSet = true;
188 m_klv = value;
189 }
191 SetKlv(value);
192 return *this;
193 }
195
197
202 inline M2tsNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
203 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
205 m_nielsenId3BehaviorHasBeenSet = true;
206 m_nielsenId3Behavior = value;
207 }
210 return *this;
211 }
213
215
220 inline M2tsPcrControl GetPcrControl() const { return m_pcrControl; }
221 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
222 inline void SetPcrControl(M2tsPcrControl value) {
223 m_pcrControlHasBeenSet = true;
224 m_pcrControl = value;
225 }
227 SetPcrControl(value);
228 return *this;
229 }
231
233
237 inline int GetPcrPeriod() const { return m_pcrPeriod; }
238 inline bool PcrPeriodHasBeenSet() const { return m_pcrPeriodHasBeenSet; }
239 inline void SetPcrPeriod(int value) {
240 m_pcrPeriodHasBeenSet = true;
241 m_pcrPeriod = value;
242 }
244 SetPcrPeriod(value);
245 return *this;
246 }
248
250
253 inline M2tsScte35Control GetScte35Control() const { return m_scte35Control; }
254 inline bool Scte35ControlHasBeenSet() const { return m_scte35ControlHasBeenSet; }
256 m_scte35ControlHasBeenSet = true;
257 m_scte35Control = value;
258 }
260 SetScte35Control(value);
261 return *this;
262 }
264
266
274 inline double GetScte35PrerollPullupMilliseconds() const { return m_scte35PrerollPullupMilliseconds; }
275 inline bool Scte35PrerollPullupMillisecondsHasBeenSet() const { return m_scte35PrerollPullupMillisecondsHasBeenSet; }
276 inline void SetScte35PrerollPullupMilliseconds(double value) {
277 m_scte35PrerollPullupMillisecondsHasBeenSet = true;
278 m_scte35PrerollPullupMilliseconds = value;
279 }
282 return *this;
283 }
285 private:
287
289
291
292 int m_audioFramesPerPes{0};
293
295
297
299
301
303
305
307
308 int m_pcrPeriod{0};
309
311
312 double m_scte35PrerollPullupMilliseconds{0.0};
313 bool m_absentInputAudioBehaviorHasBeenSet = false;
314 bool m_aribHasBeenSet = false;
315 bool m_audioBufferModelHasBeenSet = false;
316 bool m_audioFramesPerPesHasBeenSet = false;
317 bool m_audioStreamTypeHasBeenSet = false;
318 bool m_ccDescriptorHasBeenSet = false;
319 bool m_ebifHasBeenSet = false;
320 bool m_esRateInPesHasBeenSet = false;
321 bool m_klvHasBeenSet = false;
322 bool m_nielsenId3BehaviorHasBeenSet = false;
323 bool m_pcrControlHasBeenSet = false;
324 bool m_pcrPeriodHasBeenSet = false;
325 bool m_scte35ControlHasBeenSet = false;
326 bool m_scte35PrerollPullupMillisecondsHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace MediaLive
331} // namespace Aws
M2tsNielsenId3Behavior GetNielsenId3Behavior() const
AWS_MEDIALIVE_API MultiplexM2tsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNielsenId3Behavior(M2tsNielsenId3Behavior value)
MultiplexM2tsSettings & WithAudioFramesPerPes(int value)
MultiplexM2tsSettings & WithArib(M2tsArib value)
MultiplexM2tsSettings & WithAudioStreamType(M2tsAudioStreamType value)
void SetAudioBufferModel(M2tsAudioBufferModel value)
AWS_MEDIALIVE_API MultiplexM2tsSettings(Aws::Utils::Json::JsonView jsonValue)
MultiplexM2tsSettings & WithPcrControl(M2tsPcrControl value)
MultiplexM2tsSettings & WithAbsentInputAudioBehavior(M2tsAbsentInputAudioBehavior value)
MultiplexM2tsSettings & WithEsRateInPes(M2tsEsRateInPes value)
AWS_MEDIALIVE_API MultiplexM2tsSettings()=default
MultiplexM2tsSettings & WithNielsenId3Behavior(M2tsNielsenId3Behavior value)
MultiplexM2tsSettings & WithPcrPeriod(int value)
MultiplexM2tsSettings & WithScte35PrerollPullupMilliseconds(double value)
MultiplexM2tsSettings & WithAudioBufferModel(M2tsAudioBufferModel value)
MultiplexM2tsSettings & WithCcDescriptor(M2tsCcDescriptor value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
M2tsAbsentInputAudioBehavior GetAbsentInputAudioBehavior() const
MultiplexM2tsSettings & WithEbif(M2tsEbifControl value)
MultiplexM2tsSettings & WithKlv(M2tsKlv value)
MultiplexM2tsSettings & WithScte35Control(M2tsScte35Control value)
void SetAbsentInputAudioBehavior(M2tsAbsentInputAudioBehavior value)
void SetAudioStreamType(M2tsAudioStreamType value)
Aws::Utils::Json::JsonValue JsonValue