AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
M3u8Settings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/M3u8AudioDuration.h>
10#include <aws/mediaconvert/model/M3u8DataPtsControl.h>
11#include <aws/mediaconvert/model/M3u8NielsenId3.h>
12#include <aws/mediaconvert/model/M3u8PcrControl.h>
13#include <aws/mediaconvert/model/M3u8Scte35Source.h>
14#include <aws/mediaconvert/model/TimedMetadata.h>
15#include <aws/mediaconvert/model/TsPtsOffset.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert {
27namespace Model {
28
36 public:
37 AWS_MEDIACONVERT_API M3u8Settings() = default;
38 AWS_MEDIACONVERT_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API M3u8Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
57 inline M3u8AudioDuration GetAudioDuration() const { return m_audioDuration; }
58 inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
60 m_audioDurationHasBeenSet = true;
61 m_audioDuration = value;
62 }
64 SetAudioDuration(value);
65 return *this;
66 }
68
70
73 inline int GetAudioFramesPerPes() const { return m_audioFramesPerPes; }
74 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
75 inline void SetAudioFramesPerPes(int value) {
76 m_audioFramesPerPesHasBeenSet = true;
77 m_audioFramesPerPes = value;
78 }
81 return *this;
82 }
84
86
91 inline const Aws::Vector<int>& GetAudioPids() const { return m_audioPids; }
92 inline bool AudioPidsHasBeenSet() const { return m_audioPidsHasBeenSet; }
93 template <typename AudioPidsT = Aws::Vector<int>>
94 void SetAudioPids(AudioPidsT&& value) {
95 m_audioPidsHasBeenSet = true;
96 m_audioPids = std::forward<AudioPidsT>(value);
97 }
98 template <typename AudioPidsT = Aws::Vector<int>>
99 M3u8Settings& WithAudioPids(AudioPidsT&& value) {
100 SetAudioPids(std::forward<AudioPidsT>(value));
101 return *this;
102 }
103 inline M3u8Settings& AddAudioPids(int value) {
104 m_audioPidsHasBeenSet = true;
105 m_audioPids.push_back(value);
106 return *this;
107 }
109
111
117 inline int GetAudioPtsOffsetDelta() const { return m_audioPtsOffsetDelta; }
118 inline bool AudioPtsOffsetDeltaHasBeenSet() const { return m_audioPtsOffsetDeltaHasBeenSet; }
119 inline void SetAudioPtsOffsetDelta(int value) {
120 m_audioPtsOffsetDeltaHasBeenSet = true;
121 m_audioPtsOffsetDelta = value;
122 }
125 return *this;
126 }
128
130
136 inline M3u8DataPtsControl GetDataPTSControl() const { return m_dataPTSControl; }
137 inline bool DataPTSControlHasBeenSet() const { return m_dataPTSControlHasBeenSet; }
139 m_dataPTSControlHasBeenSet = true;
140 m_dataPTSControl = value;
141 }
143 SetDataPTSControl(value);
144 return *this;
145 }
147
149
153 inline int GetMaxPcrInterval() const { return m_maxPcrInterval; }
154 inline bool MaxPcrIntervalHasBeenSet() const { return m_maxPcrIntervalHasBeenSet; }
155 inline void SetMaxPcrInterval(int value) {
156 m_maxPcrIntervalHasBeenSet = true;
157 m_maxPcrInterval = value;
158 }
159 inline M3u8Settings& WithMaxPcrInterval(int value) {
160 SetMaxPcrInterval(value);
161 return *this;
162 }
164
166
170 inline M3u8NielsenId3 GetNielsenId3() const { return m_nielsenId3; }
171 inline bool NielsenId3HasBeenSet() const { return m_nielsenId3HasBeenSet; }
172 inline void SetNielsenId3(M3u8NielsenId3 value) {
173 m_nielsenId3HasBeenSet = true;
174 m_nielsenId3 = value;
175 }
177 SetNielsenId3(value);
178 return *this;
179 }
181
183
187 inline int GetPatInterval() const { return m_patInterval; }
188 inline bool PatIntervalHasBeenSet() const { return m_patIntervalHasBeenSet; }
189 inline void SetPatInterval(int value) {
190 m_patIntervalHasBeenSet = true;
191 m_patInterval = value;
192 }
193 inline M3u8Settings& WithPatInterval(int value) {
194 SetPatInterval(value);
195 return *this;
196 }
198
200
205 inline M3u8PcrControl GetPcrControl() const { return m_pcrControl; }
206 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
207 inline void SetPcrControl(M3u8PcrControl value) {
208 m_pcrControlHasBeenSet = true;
209 m_pcrControl = value;
210 }
212 SetPcrControl(value);
213 return *this;
214 }
216
218
223 inline int GetPcrPid() const { return m_pcrPid; }
224 inline bool PcrPidHasBeenSet() const { return m_pcrPidHasBeenSet; }
225 inline void SetPcrPid(int value) {
226 m_pcrPidHasBeenSet = true;
227 m_pcrPid = value;
228 }
229 inline M3u8Settings& WithPcrPid(int value) {
230 SetPcrPid(value);
231 return *this;
232 }
234
236
240 inline int GetPmtInterval() const { return m_pmtInterval; }
241 inline bool PmtIntervalHasBeenSet() const { return m_pmtIntervalHasBeenSet; }
242 inline void SetPmtInterval(int value) {
243 m_pmtIntervalHasBeenSet = true;
244 m_pmtInterval = value;
245 }
246 inline M3u8Settings& WithPmtInterval(int value) {
247 SetPmtInterval(value);
248 return *this;
249 }
251
253
256 inline int GetPmtPid() const { return m_pmtPid; }
257 inline bool PmtPidHasBeenSet() const { return m_pmtPidHasBeenSet; }
258 inline void SetPmtPid(int value) {
259 m_pmtPidHasBeenSet = true;
260 m_pmtPid = value;
261 }
262 inline M3u8Settings& WithPmtPid(int value) {
263 SetPmtPid(value);
264 return *this;
265 }
267
269
272 inline int GetPrivateMetadataPid() const { return m_privateMetadataPid; }
273 inline bool PrivateMetadataPidHasBeenSet() const { return m_privateMetadataPidHasBeenSet; }
274 inline void SetPrivateMetadataPid(int value) {
275 m_privateMetadataPidHasBeenSet = true;
276 m_privateMetadataPid = value;
277 }
280 return *this;
281 }
283
285
288 inline int GetProgramNumber() const { return m_programNumber; }
289 inline bool ProgramNumberHasBeenSet() const { return m_programNumberHasBeenSet; }
290 inline void SetProgramNumber(int value) {
291 m_programNumberHasBeenSet = true;
292 m_programNumber = value;
293 }
294 inline M3u8Settings& WithProgramNumber(int value) {
295 SetProgramNumber(value);
296 return *this;
297 }
299
301
306 inline int GetPtsOffset() const { return m_ptsOffset; }
307 inline bool PtsOffsetHasBeenSet() const { return m_ptsOffsetHasBeenSet; }
308 inline void SetPtsOffset(int value) {
309 m_ptsOffsetHasBeenSet = true;
310 m_ptsOffset = value;
311 }
312 inline M3u8Settings& WithPtsOffset(int value) {
313 SetPtsOffset(value);
314 return *this;
315 }
317
319
329 inline TsPtsOffset GetPtsOffsetMode() const { return m_ptsOffsetMode; }
330 inline bool PtsOffsetModeHasBeenSet() const { return m_ptsOffsetModeHasBeenSet; }
331 inline void SetPtsOffsetMode(TsPtsOffset value) {
332 m_ptsOffsetModeHasBeenSet = true;
333 m_ptsOffsetMode = value;
334 }
336 SetPtsOffsetMode(value);
337 return *this;
338 }
340
342
345 inline int GetScte35Pid() const { return m_scte35Pid; }
346 inline bool Scte35PidHasBeenSet() const { return m_scte35PidHasBeenSet; }
347 inline void SetScte35Pid(int value) {
348 m_scte35PidHasBeenSet = true;
349 m_scte35Pid = value;
350 }
351 inline M3u8Settings& WithScte35Pid(int value) {
352 SetScte35Pid(value);
353 return *this;
354 }
356
358
367 inline M3u8Scte35Source GetScte35Source() const { return m_scte35Source; }
368 inline bool Scte35SourceHasBeenSet() const { return m_scte35SourceHasBeenSet; }
370 m_scte35SourceHasBeenSet = true;
371 m_scte35Source = value;
372 }
374 SetScte35Source(value);
375 return *this;
376 }
378
380
386 inline TimedMetadata GetTimedMetadata() const { return m_timedMetadata; }
387 inline bool TimedMetadataHasBeenSet() const { return m_timedMetadataHasBeenSet; }
388 inline void SetTimedMetadata(TimedMetadata value) {
389 m_timedMetadataHasBeenSet = true;
390 m_timedMetadata = value;
391 }
393 SetTimedMetadata(value);
394 return *this;
395 }
397
399
402 inline int GetTimedMetadataPid() const { return m_timedMetadataPid; }
403 inline bool TimedMetadataPidHasBeenSet() const { return m_timedMetadataPidHasBeenSet; }
404 inline void SetTimedMetadataPid(int value) {
405 m_timedMetadataPidHasBeenSet = true;
406 m_timedMetadataPid = value;
407 }
409 SetTimedMetadataPid(value);
410 return *this;
411 }
413
415
418 inline int GetTransportStreamId() const { return m_transportStreamId; }
419 inline bool TransportStreamIdHasBeenSet() const { return m_transportStreamIdHasBeenSet; }
420 inline void SetTransportStreamId(int value) {
421 m_transportStreamIdHasBeenSet = true;
422 m_transportStreamId = value;
423 }
426 return *this;
427 }
429
431
434 inline int GetVideoPid() const { return m_videoPid; }
435 inline bool VideoPidHasBeenSet() const { return m_videoPidHasBeenSet; }
436 inline void SetVideoPid(int value) {
437 m_videoPidHasBeenSet = true;
438 m_videoPid = value;
439 }
440 inline M3u8Settings& WithVideoPid(int value) {
441 SetVideoPid(value);
442 return *this;
443 }
445 private:
447
448 int m_audioFramesPerPes{0};
449
450 Aws::Vector<int> m_audioPids;
451
452 int m_audioPtsOffsetDelta{0};
453
455
456 int m_maxPcrInterval{0};
457
459
460 int m_patInterval{0};
461
463
464 int m_pcrPid{0};
465
466 int m_pmtInterval{0};
467
468 int m_pmtPid{0};
469
470 int m_privateMetadataPid{0};
471
472 int m_programNumber{0};
473
474 int m_ptsOffset{0};
475
476 TsPtsOffset m_ptsOffsetMode{TsPtsOffset::NOT_SET};
477
478 int m_scte35Pid{0};
479
481
482 TimedMetadata m_timedMetadata{TimedMetadata::NOT_SET};
483
484 int m_timedMetadataPid{0};
485
486 int m_transportStreamId{0};
487
488 int m_videoPid{0};
489 bool m_audioDurationHasBeenSet = false;
490 bool m_audioFramesPerPesHasBeenSet = false;
491 bool m_audioPidsHasBeenSet = false;
492 bool m_audioPtsOffsetDeltaHasBeenSet = false;
493 bool m_dataPTSControlHasBeenSet = false;
494 bool m_maxPcrIntervalHasBeenSet = false;
495 bool m_nielsenId3HasBeenSet = false;
496 bool m_patIntervalHasBeenSet = false;
497 bool m_pcrControlHasBeenSet = false;
498 bool m_pcrPidHasBeenSet = false;
499 bool m_pmtIntervalHasBeenSet = false;
500 bool m_pmtPidHasBeenSet = false;
501 bool m_privateMetadataPidHasBeenSet = false;
502 bool m_programNumberHasBeenSet = false;
503 bool m_ptsOffsetHasBeenSet = false;
504 bool m_ptsOffsetModeHasBeenSet = false;
505 bool m_scte35PidHasBeenSet = false;
506 bool m_scte35SourceHasBeenSet = false;
507 bool m_timedMetadataHasBeenSet = false;
508 bool m_timedMetadataPidHasBeenSet = false;
509 bool m_transportStreamIdHasBeenSet = false;
510 bool m_videoPidHasBeenSet = false;
511};
512
513} // namespace Model
514} // namespace MediaConvert
515} // namespace Aws
M3u8Settings & WithPtsOffsetMode(TsPtsOffset value)
M3u8Scte35Source GetScte35Source() const
void SetTimedMetadata(TimedMetadata value)
const Aws::Vector< int > & GetAudioPids() const
M3u8Settings & WithPatInterval(int value)
M3u8Settings & WithScte35Source(M3u8Scte35Source value)
void SetPcrControl(M3u8PcrControl value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
M3u8Settings & WithNielsenId3(M3u8NielsenId3 value)
M3u8Settings & WithPrivateMetadataPid(int value)
AWS_MEDIACONVERT_API M3u8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
M3u8AudioDuration GetAudioDuration() const
M3u8Settings & WithVideoPid(int value)
M3u8Settings & WithAudioFramesPerPes(int value)
void SetDataPTSControl(M3u8DataPtsControl value)
M3u8Settings & WithPcrControl(M3u8PcrControl value)
AWS_MEDIACONVERT_API M3u8Settings()=default
M3u8Settings & AddAudioPids(int value)
M3u8Settings & WithMaxPcrInterval(int value)
M3u8Settings & WithTimedMetadata(TimedMetadata value)
M3u8Settings & WithPmtPid(int value)
M3u8Settings & WithPmtInterval(int value)
M3u8Settings & WithTransportStreamId(int value)
void SetAudioDuration(M3u8AudioDuration value)
M3u8Settings & WithPcrPid(int value)
M3u8Settings & WithAudioPtsOffsetDelta(int value)
void SetScte35Source(M3u8Scte35Source value)
M3u8Settings & WithDataPTSControl(M3u8DataPtsControl value)
M3u8Settings & WithScte35Pid(int value)
M3u8DataPtsControl GetDataPTSControl() const
AWS_MEDIACONVERT_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue)
void SetPtsOffsetMode(TsPtsOffset value)
void SetNielsenId3(M3u8NielsenId3 value)
M3u8Settings & WithAudioDuration(M3u8AudioDuration value)
M3u8Settings & WithAudioPids(AudioPidsT &&value)
M3u8Settings & WithTimedMetadataPid(int value)
M3u8Settings & WithPtsOffset(int value)
M3u8Settings & WithProgramNumber(int value)
void SetAudioPids(AudioPidsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue