AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
M3u8Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/M3u8AudioDuration.h>
9#include <aws/core/utils/memory/stl/AWSVector.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/TsPtsOffset.h>
14#include <aws/mediaconvert/model/M3u8Scte35Source.h>
15#include <aws/mediaconvert/model/TimedMetadata.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_MEDIACONVERT_API M3u8Settings();
43 AWS_MEDIACONVERT_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API M3u8Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
63 inline const M3u8AudioDuration& GetAudioDuration() const{ return m_audioDuration; }
64 inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
65 inline void SetAudioDuration(const M3u8AudioDuration& value) { m_audioDurationHasBeenSet = true; m_audioDuration = value; }
66 inline void SetAudioDuration(M3u8AudioDuration&& value) { m_audioDurationHasBeenSet = true; m_audioDuration = std::move(value); }
67 inline M3u8Settings& WithAudioDuration(const M3u8AudioDuration& value) { SetAudioDuration(value); return *this;}
68 inline M3u8Settings& WithAudioDuration(M3u8AudioDuration&& value) { SetAudioDuration(std::move(value)); return *this;}
70
72
75 inline int GetAudioFramesPerPes() const{ return m_audioFramesPerPes; }
76 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
77 inline void SetAudioFramesPerPes(int value) { m_audioFramesPerPesHasBeenSet = true; m_audioFramesPerPes = value; }
78 inline M3u8Settings& WithAudioFramesPerPes(int value) { SetAudioFramesPerPes(value); return *this;}
80
82
87 inline const Aws::Vector<int>& GetAudioPids() const{ return m_audioPids; }
88 inline bool AudioPidsHasBeenSet() const { return m_audioPidsHasBeenSet; }
89 inline void SetAudioPids(const Aws::Vector<int>& value) { m_audioPidsHasBeenSet = true; m_audioPids = value; }
90 inline void SetAudioPids(Aws::Vector<int>&& value) { m_audioPidsHasBeenSet = true; m_audioPids = std::move(value); }
91 inline M3u8Settings& WithAudioPids(const Aws::Vector<int>& value) { SetAudioPids(value); return *this;}
92 inline M3u8Settings& WithAudioPids(Aws::Vector<int>&& value) { SetAudioPids(std::move(value)); return *this;}
93 inline M3u8Settings& AddAudioPids(int value) { m_audioPidsHasBeenSet = true; m_audioPids.push_back(value); return *this; }
95
97
103 inline const M3u8DataPtsControl& GetDataPTSControl() const{ return m_dataPTSControl; }
104 inline bool DataPTSControlHasBeenSet() const { return m_dataPTSControlHasBeenSet; }
105 inline void SetDataPTSControl(const M3u8DataPtsControl& value) { m_dataPTSControlHasBeenSet = true; m_dataPTSControl = value; }
106 inline void SetDataPTSControl(M3u8DataPtsControl&& value) { m_dataPTSControlHasBeenSet = true; m_dataPTSControl = std::move(value); }
107 inline M3u8Settings& WithDataPTSControl(const M3u8DataPtsControl& value) { SetDataPTSControl(value); return *this;}
108 inline M3u8Settings& WithDataPTSControl(M3u8DataPtsControl&& value) { SetDataPTSControl(std::move(value)); return *this;}
110
112
116 inline int GetMaxPcrInterval() const{ return m_maxPcrInterval; }
117 inline bool MaxPcrIntervalHasBeenSet() const { return m_maxPcrIntervalHasBeenSet; }
118 inline void SetMaxPcrInterval(int value) { m_maxPcrIntervalHasBeenSet = true; m_maxPcrInterval = value; }
119 inline M3u8Settings& WithMaxPcrInterval(int value) { SetMaxPcrInterval(value); return *this;}
121
123
127 inline const M3u8NielsenId3& GetNielsenId3() const{ return m_nielsenId3; }
128 inline bool NielsenId3HasBeenSet() const { return m_nielsenId3HasBeenSet; }
129 inline void SetNielsenId3(const M3u8NielsenId3& value) { m_nielsenId3HasBeenSet = true; m_nielsenId3 = value; }
130 inline void SetNielsenId3(M3u8NielsenId3&& value) { m_nielsenId3HasBeenSet = true; m_nielsenId3 = std::move(value); }
131 inline M3u8Settings& WithNielsenId3(const M3u8NielsenId3& value) { SetNielsenId3(value); return *this;}
132 inline M3u8Settings& WithNielsenId3(M3u8NielsenId3&& value) { SetNielsenId3(std::move(value)); return *this;}
134
136
140 inline int GetPatInterval() const{ return m_patInterval; }
141 inline bool PatIntervalHasBeenSet() const { return m_patIntervalHasBeenSet; }
142 inline void SetPatInterval(int value) { m_patIntervalHasBeenSet = true; m_patInterval = value; }
143 inline M3u8Settings& WithPatInterval(int value) { SetPatInterval(value); return *this;}
145
147
152 inline const M3u8PcrControl& GetPcrControl() const{ return m_pcrControl; }
153 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
154 inline void SetPcrControl(const M3u8PcrControl& value) { m_pcrControlHasBeenSet = true; m_pcrControl = value; }
155 inline void SetPcrControl(M3u8PcrControl&& value) { m_pcrControlHasBeenSet = true; m_pcrControl = std::move(value); }
156 inline M3u8Settings& WithPcrControl(const M3u8PcrControl& value) { SetPcrControl(value); return *this;}
157 inline M3u8Settings& WithPcrControl(M3u8PcrControl&& value) { SetPcrControl(std::move(value)); return *this;}
159
161
166 inline int GetPcrPid() const{ return m_pcrPid; }
167 inline bool PcrPidHasBeenSet() const { return m_pcrPidHasBeenSet; }
168 inline void SetPcrPid(int value) { m_pcrPidHasBeenSet = true; m_pcrPid = value; }
169 inline M3u8Settings& WithPcrPid(int value) { SetPcrPid(value); return *this;}
171
173
177 inline int GetPmtInterval() const{ return m_pmtInterval; }
178 inline bool PmtIntervalHasBeenSet() const { return m_pmtIntervalHasBeenSet; }
179 inline void SetPmtInterval(int value) { m_pmtIntervalHasBeenSet = true; m_pmtInterval = value; }
180 inline M3u8Settings& WithPmtInterval(int value) { SetPmtInterval(value); return *this;}
182
184
187 inline int GetPmtPid() const{ return m_pmtPid; }
188 inline bool PmtPidHasBeenSet() const { return m_pmtPidHasBeenSet; }
189 inline void SetPmtPid(int value) { m_pmtPidHasBeenSet = true; m_pmtPid = value; }
190 inline M3u8Settings& WithPmtPid(int value) { SetPmtPid(value); return *this;}
192
194
197 inline int GetPrivateMetadataPid() const{ return m_privateMetadataPid; }
198 inline bool PrivateMetadataPidHasBeenSet() const { return m_privateMetadataPidHasBeenSet; }
199 inline void SetPrivateMetadataPid(int value) { m_privateMetadataPidHasBeenSet = true; m_privateMetadataPid = value; }
200 inline M3u8Settings& WithPrivateMetadataPid(int value) { SetPrivateMetadataPid(value); return *this;}
202
204
207 inline int GetProgramNumber() const{ return m_programNumber; }
208 inline bool ProgramNumberHasBeenSet() const { return m_programNumberHasBeenSet; }
209 inline void SetProgramNumber(int value) { m_programNumberHasBeenSet = true; m_programNumber = value; }
210 inline M3u8Settings& WithProgramNumber(int value) { SetProgramNumber(value); return *this;}
212
214
219 inline int GetPtsOffset() const{ return m_ptsOffset; }
220 inline bool PtsOffsetHasBeenSet() const { return m_ptsOffsetHasBeenSet; }
221 inline void SetPtsOffset(int value) { m_ptsOffsetHasBeenSet = true; m_ptsOffset = value; }
222 inline M3u8Settings& WithPtsOffset(int value) { SetPtsOffset(value); return *this;}
224
226
235 inline const TsPtsOffset& GetPtsOffsetMode() const{ return m_ptsOffsetMode; }
236 inline bool PtsOffsetModeHasBeenSet() const { return m_ptsOffsetModeHasBeenSet; }
237 inline void SetPtsOffsetMode(const TsPtsOffset& value) { m_ptsOffsetModeHasBeenSet = true; m_ptsOffsetMode = value; }
238 inline void SetPtsOffsetMode(TsPtsOffset&& value) { m_ptsOffsetModeHasBeenSet = true; m_ptsOffsetMode = std::move(value); }
239 inline M3u8Settings& WithPtsOffsetMode(const TsPtsOffset& value) { SetPtsOffsetMode(value); return *this;}
240 inline M3u8Settings& WithPtsOffsetMode(TsPtsOffset&& value) { SetPtsOffsetMode(std::move(value)); return *this;}
242
244
247 inline int GetScte35Pid() const{ return m_scte35Pid; }
248 inline bool Scte35PidHasBeenSet() const { return m_scte35PidHasBeenSet; }
249 inline void SetScte35Pid(int value) { m_scte35PidHasBeenSet = true; m_scte35Pid = value; }
250 inline M3u8Settings& WithScte35Pid(int value) { SetScte35Pid(value); return *this;}
252
254
263 inline const M3u8Scte35Source& GetScte35Source() const{ return m_scte35Source; }
264 inline bool Scte35SourceHasBeenSet() const { return m_scte35SourceHasBeenSet; }
265 inline void SetScte35Source(const M3u8Scte35Source& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = value; }
266 inline void SetScte35Source(M3u8Scte35Source&& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = std::move(value); }
267 inline M3u8Settings& WithScte35Source(const M3u8Scte35Source& value) { SetScte35Source(value); return *this;}
268 inline M3u8Settings& WithScte35Source(M3u8Scte35Source&& value) { SetScte35Source(std::move(value)); return *this;}
270
272
278 inline const TimedMetadata& GetTimedMetadata() const{ return m_timedMetadata; }
279 inline bool TimedMetadataHasBeenSet() const { return m_timedMetadataHasBeenSet; }
280 inline void SetTimedMetadata(const TimedMetadata& value) { m_timedMetadataHasBeenSet = true; m_timedMetadata = value; }
281 inline void SetTimedMetadata(TimedMetadata&& value) { m_timedMetadataHasBeenSet = true; m_timedMetadata = std::move(value); }
282 inline M3u8Settings& WithTimedMetadata(const TimedMetadata& value) { SetTimedMetadata(value); return *this;}
283 inline M3u8Settings& WithTimedMetadata(TimedMetadata&& value) { SetTimedMetadata(std::move(value)); return *this;}
285
287
290 inline int GetTimedMetadataPid() const{ return m_timedMetadataPid; }
291 inline bool TimedMetadataPidHasBeenSet() const { return m_timedMetadataPidHasBeenSet; }
292 inline void SetTimedMetadataPid(int value) { m_timedMetadataPidHasBeenSet = true; m_timedMetadataPid = value; }
293 inline M3u8Settings& WithTimedMetadataPid(int value) { SetTimedMetadataPid(value); return *this;}
295
297
300 inline int GetTransportStreamId() const{ return m_transportStreamId; }
301 inline bool TransportStreamIdHasBeenSet() const { return m_transportStreamIdHasBeenSet; }
302 inline void SetTransportStreamId(int value) { m_transportStreamIdHasBeenSet = true; m_transportStreamId = value; }
303 inline M3u8Settings& WithTransportStreamId(int value) { SetTransportStreamId(value); return *this;}
305
307
310 inline int GetVideoPid() const{ return m_videoPid; }
311 inline bool VideoPidHasBeenSet() const { return m_videoPidHasBeenSet; }
312 inline void SetVideoPid(int value) { m_videoPidHasBeenSet = true; m_videoPid = value; }
313 inline M3u8Settings& WithVideoPid(int value) { SetVideoPid(value); return *this;}
315 private:
316
317 M3u8AudioDuration m_audioDuration;
318 bool m_audioDurationHasBeenSet = false;
319
320 int m_audioFramesPerPes;
321 bool m_audioFramesPerPesHasBeenSet = false;
322
323 Aws::Vector<int> m_audioPids;
324 bool m_audioPidsHasBeenSet = false;
325
326 M3u8DataPtsControl m_dataPTSControl;
327 bool m_dataPTSControlHasBeenSet = false;
328
329 int m_maxPcrInterval;
330 bool m_maxPcrIntervalHasBeenSet = false;
331
332 M3u8NielsenId3 m_nielsenId3;
333 bool m_nielsenId3HasBeenSet = false;
334
335 int m_patInterval;
336 bool m_patIntervalHasBeenSet = false;
337
338 M3u8PcrControl m_pcrControl;
339 bool m_pcrControlHasBeenSet = false;
340
341 int m_pcrPid;
342 bool m_pcrPidHasBeenSet = false;
343
344 int m_pmtInterval;
345 bool m_pmtIntervalHasBeenSet = false;
346
347 int m_pmtPid;
348 bool m_pmtPidHasBeenSet = false;
349
350 int m_privateMetadataPid;
351 bool m_privateMetadataPidHasBeenSet = false;
352
353 int m_programNumber;
354 bool m_programNumberHasBeenSet = false;
355
356 int m_ptsOffset;
357 bool m_ptsOffsetHasBeenSet = false;
358
359 TsPtsOffset m_ptsOffsetMode;
360 bool m_ptsOffsetModeHasBeenSet = false;
361
362 int m_scte35Pid;
363 bool m_scte35PidHasBeenSet = false;
364
365 M3u8Scte35Source m_scte35Source;
366 bool m_scte35SourceHasBeenSet = false;
367
368 TimedMetadata m_timedMetadata;
369 bool m_timedMetadataHasBeenSet = false;
370
371 int m_timedMetadataPid;
372 bool m_timedMetadataPidHasBeenSet = false;
373
374 int m_transportStreamId;
375 bool m_transportStreamIdHasBeenSet = false;
376
377 int m_videoPid;
378 bool m_videoPidHasBeenSet = false;
379 };
380
381} // namespace Model
382} // namespace MediaConvert
383} // namespace Aws
const Aws::Vector< int > & GetAudioPids() const
M3u8Settings & WithPatInterval(int value)
void SetPtsOffsetMode(const TsPtsOffset &value)
const M3u8AudioDuration & GetAudioDuration() const
const M3u8NielsenId3 & GetNielsenId3() const
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPtsOffsetMode(TsPtsOffset &&value)
M3u8Settings & WithPrivateMetadataPid(int value)
void SetNielsenId3(M3u8NielsenId3 &&value)
AWS_MEDIACONVERT_API M3u8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
M3u8Settings & WithNielsenId3(const M3u8NielsenId3 &value)
M3u8Settings & WithVideoPid(int value)
const TsPtsOffset & GetPtsOffsetMode() const
M3u8Settings & WithAudioFramesPerPes(int value)
M3u8Settings & WithPcrControl(const M3u8PcrControl &value)
void SetNielsenId3(const M3u8NielsenId3 &value)
M3u8Settings & AddAudioPids(int value)
const M3u8PcrControl & GetPcrControl() const
M3u8Settings & WithMaxPcrInterval(int value)
M3u8Settings & WithAudioDuration(const M3u8AudioDuration &value)
void SetPcrControl(M3u8PcrControl &&value)
M3u8Settings & WithTimedMetadata(const TimedMetadata &value)
void SetDataPTSControl(M3u8DataPtsControl &&value)
M3u8Settings & WithPmtPid(int value)
void SetAudioDuration(const M3u8AudioDuration &value)
void SetAudioPids(Aws::Vector< int > &&value)
M3u8Settings & WithPmtInterval(int value)
M3u8Settings & WithDataPTSControl(const M3u8DataPtsControl &value)
void SetAudioDuration(M3u8AudioDuration &&value)
void SetPcrControl(const M3u8PcrControl &value)
const M3u8DataPtsControl & GetDataPTSControl() const
void SetDataPTSControl(const M3u8DataPtsControl &value)
AWS_MEDIACONVERT_API M3u8Settings()
void SetScte35Source(const M3u8Scte35Source &value)
M3u8Settings & WithTransportStreamId(int value)
M3u8Settings & WithPcrPid(int value)
void SetTimedMetadata(const TimedMetadata &value)
M3u8Settings & WithScte35Pid(int value)
M3u8Settings & WithDataPTSControl(M3u8DataPtsControl &&value)
M3u8Settings & WithPtsOffsetMode(const TsPtsOffset &value)
AWS_MEDIACONVERT_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue)
const TimedMetadata & GetTimedMetadata() const
void SetTimedMetadata(TimedMetadata &&value)
M3u8Settings & WithTimedMetadataPid(int value)
M3u8Settings & WithAudioDuration(M3u8AudioDuration &&value)
void SetScte35Source(M3u8Scte35Source &&value)
M3u8Settings & WithPtsOffset(int value)
M3u8Settings & WithNielsenId3(M3u8NielsenId3 &&value)
M3u8Settings & WithProgramNumber(int value)
const M3u8Scte35Source & GetScte35Source() const
M3u8Settings & WithAudioPids(const Aws::Vector< int > &value)
M3u8Settings & WithTimedMetadata(TimedMetadata &&value)
M3u8Settings & WithScte35Source(M3u8Scte35Source &&value)
void SetAudioPids(const Aws::Vector< int > &value)
M3u8Settings & WithPcrControl(M3u8PcrControl &&value)
M3u8Settings & WithScte35Source(const M3u8Scte35Source &value)
M3u8Settings & WithPtsOffsetMode(TsPtsOffset &&value)
M3u8Settings & WithAudioPids(Aws::Vector< int > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue