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/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/M3u8NielsenId3Behavior.h>
10#include <aws/medialive/model/M3u8PcrControl.h>
11#include <aws/medialive/model/M3u8Scte35Behavior.h>
12#include <aws/medialive/model/M3u8TimedMetadataBehavior.h>
13#include <aws/medialive/model/M3u8KlvBehavior.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 M3u8Settings();
40 AWS_MEDIALIVE_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API M3u8Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline int GetAudioFramesPerPes() const{ return m_audioFramesPerPes; }
50 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
51 inline void SetAudioFramesPerPes(int value) { m_audioFramesPerPesHasBeenSet = true; m_audioFramesPerPes = value; }
52 inline M3u8Settings& WithAudioFramesPerPes(int value) { SetAudioFramesPerPes(value); return *this;}
54
56
61 inline const Aws::String& GetAudioPids() const{ return m_audioPids; }
62 inline bool AudioPidsHasBeenSet() const { return m_audioPidsHasBeenSet; }
63 inline void SetAudioPids(const Aws::String& value) { m_audioPidsHasBeenSet = true; m_audioPids = value; }
64 inline void SetAudioPids(Aws::String&& value) { m_audioPidsHasBeenSet = true; m_audioPids = std::move(value); }
65 inline void SetAudioPids(const char* value) { m_audioPidsHasBeenSet = true; m_audioPids.assign(value); }
66 inline M3u8Settings& WithAudioPids(const Aws::String& value) { SetAudioPids(value); return *this;}
67 inline M3u8Settings& WithAudioPids(Aws::String&& value) { SetAudioPids(std::move(value)); return *this;}
68 inline M3u8Settings& WithAudioPids(const char* value) { SetAudioPids(value); return *this;}
70
72
75 inline const Aws::String& GetEcmPid() const{ return m_ecmPid; }
76 inline bool EcmPidHasBeenSet() const { return m_ecmPidHasBeenSet; }
77 inline void SetEcmPid(const Aws::String& value) { m_ecmPidHasBeenSet = true; m_ecmPid = value; }
78 inline void SetEcmPid(Aws::String&& value) { m_ecmPidHasBeenSet = true; m_ecmPid = std::move(value); }
79 inline void SetEcmPid(const char* value) { m_ecmPidHasBeenSet = true; m_ecmPid.assign(value); }
80 inline M3u8Settings& WithEcmPid(const Aws::String& value) { SetEcmPid(value); return *this;}
81 inline M3u8Settings& WithEcmPid(Aws::String&& value) { SetEcmPid(std::move(value)); return *this;}
82 inline M3u8Settings& WithEcmPid(const char* value) { SetEcmPid(value); return *this;}
84
86
91 inline const M3u8NielsenId3Behavior& GetNielsenId3Behavior() const{ return m_nielsenId3Behavior; }
92 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
93 inline void SetNielsenId3Behavior(const M3u8NielsenId3Behavior& value) { m_nielsenId3BehaviorHasBeenSet = true; m_nielsenId3Behavior = value; }
94 inline void SetNielsenId3Behavior(M3u8NielsenId3Behavior&& value) { m_nielsenId3BehaviorHasBeenSet = true; m_nielsenId3Behavior = std::move(value); }
96 inline M3u8Settings& WithNielsenId3Behavior(M3u8NielsenId3Behavior&& value) { SetNielsenId3Behavior(std::move(value)); return *this;}
98
100
104 inline int GetPatInterval() const{ return m_patInterval; }
105 inline bool PatIntervalHasBeenSet() const { return m_patIntervalHasBeenSet; }
106 inline void SetPatInterval(int value) { m_patIntervalHasBeenSet = true; m_patInterval = value; }
107 inline M3u8Settings& WithPatInterval(int value) { SetPatInterval(value); return *this;}
109
111
116 inline const M3u8PcrControl& GetPcrControl() const{ return m_pcrControl; }
117 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
118 inline void SetPcrControl(const M3u8PcrControl& value) { m_pcrControlHasBeenSet = true; m_pcrControl = value; }
119 inline void SetPcrControl(M3u8PcrControl&& value) { m_pcrControlHasBeenSet = true; m_pcrControl = std::move(value); }
120 inline M3u8Settings& WithPcrControl(const M3u8PcrControl& value) { SetPcrControl(value); return *this;}
121 inline M3u8Settings& WithPcrControl(M3u8PcrControl&& value) { SetPcrControl(std::move(value)); return *this;}
123
125
129 inline int GetPcrPeriod() const{ return m_pcrPeriod; }
130 inline bool PcrPeriodHasBeenSet() const { return m_pcrPeriodHasBeenSet; }
131 inline void SetPcrPeriod(int value) { m_pcrPeriodHasBeenSet = true; m_pcrPeriod = value; }
132 inline M3u8Settings& WithPcrPeriod(int value) { SetPcrPeriod(value); return *this;}
134
136
141 inline const Aws::String& GetPcrPid() const{ return m_pcrPid; }
142 inline bool PcrPidHasBeenSet() const { return m_pcrPidHasBeenSet; }
143 inline void SetPcrPid(const Aws::String& value) { m_pcrPidHasBeenSet = true; m_pcrPid = value; }
144 inline void SetPcrPid(Aws::String&& value) { m_pcrPidHasBeenSet = true; m_pcrPid = std::move(value); }
145 inline void SetPcrPid(const char* value) { m_pcrPidHasBeenSet = true; m_pcrPid.assign(value); }
146 inline M3u8Settings& WithPcrPid(const Aws::String& value) { SetPcrPid(value); return *this;}
147 inline M3u8Settings& WithPcrPid(Aws::String&& value) { SetPcrPid(std::move(value)); return *this;}
148 inline M3u8Settings& WithPcrPid(const char* value) { SetPcrPid(value); return *this;}
150
152
156 inline int GetPmtInterval() const{ return m_pmtInterval; }
157 inline bool PmtIntervalHasBeenSet() const { return m_pmtIntervalHasBeenSet; }
158 inline void SetPmtInterval(int value) { m_pmtIntervalHasBeenSet = true; m_pmtInterval = value; }
159 inline M3u8Settings& WithPmtInterval(int value) { SetPmtInterval(value); return *this;}
161
163
167 inline const Aws::String& GetPmtPid() const{ return m_pmtPid; }
168 inline bool PmtPidHasBeenSet() const { return m_pmtPidHasBeenSet; }
169 inline void SetPmtPid(const Aws::String& value) { m_pmtPidHasBeenSet = true; m_pmtPid = value; }
170 inline void SetPmtPid(Aws::String&& value) { m_pmtPidHasBeenSet = true; m_pmtPid = std::move(value); }
171 inline void SetPmtPid(const char* value) { m_pmtPidHasBeenSet = true; m_pmtPid.assign(value); }
172 inline M3u8Settings& WithPmtPid(const Aws::String& value) { SetPmtPid(value); return *this;}
173 inline M3u8Settings& WithPmtPid(Aws::String&& value) { SetPmtPid(std::move(value)); return *this;}
174 inline M3u8Settings& WithPmtPid(const char* value) { SetPmtPid(value); return *this;}
176
178
181 inline int GetProgramNum() const{ return m_programNum; }
182 inline bool ProgramNumHasBeenSet() const { return m_programNumHasBeenSet; }
183 inline void SetProgramNum(int value) { m_programNumHasBeenSet = true; m_programNum = value; }
184 inline M3u8Settings& WithProgramNum(int value) { SetProgramNum(value); return *this;}
186
188
192 inline const M3u8Scte35Behavior& GetScte35Behavior() const{ return m_scte35Behavior; }
193 inline bool Scte35BehaviorHasBeenSet() const { return m_scte35BehaviorHasBeenSet; }
194 inline void SetScte35Behavior(const M3u8Scte35Behavior& value) { m_scte35BehaviorHasBeenSet = true; m_scte35Behavior = value; }
195 inline void SetScte35Behavior(M3u8Scte35Behavior&& value) { m_scte35BehaviorHasBeenSet = true; m_scte35Behavior = std::move(value); }
196 inline M3u8Settings& WithScte35Behavior(const M3u8Scte35Behavior& value) { SetScte35Behavior(value); return *this;}
197 inline M3u8Settings& WithScte35Behavior(M3u8Scte35Behavior&& value) { SetScte35Behavior(std::move(value)); return *this;}
199
201
205 inline const Aws::String& GetScte35Pid() const{ return m_scte35Pid; }
206 inline bool Scte35PidHasBeenSet() const { return m_scte35PidHasBeenSet; }
207 inline void SetScte35Pid(const Aws::String& value) { m_scte35PidHasBeenSet = true; m_scte35Pid = value; }
208 inline void SetScte35Pid(Aws::String&& value) { m_scte35PidHasBeenSet = true; m_scte35Pid = std::move(value); }
209 inline void SetScte35Pid(const char* value) { m_scte35PidHasBeenSet = true; m_scte35Pid.assign(value); }
210 inline M3u8Settings& WithScte35Pid(const Aws::String& value) { SetScte35Pid(value); return *this;}
211 inline M3u8Settings& WithScte35Pid(Aws::String&& value) { SetScte35Pid(std::move(value)); return *this;}
212 inline M3u8Settings& WithScte35Pid(const char* value) { SetScte35Pid(value); return *this;}
214
216
219 inline const M3u8TimedMetadataBehavior& GetTimedMetadataBehavior() const{ return m_timedMetadataBehavior; }
220 inline bool TimedMetadataBehaviorHasBeenSet() const { return m_timedMetadataBehaviorHasBeenSet; }
221 inline void SetTimedMetadataBehavior(const M3u8TimedMetadataBehavior& value) { m_timedMetadataBehaviorHasBeenSet = true; m_timedMetadataBehavior = value; }
222 inline void SetTimedMetadataBehavior(M3u8TimedMetadataBehavior&& value) { m_timedMetadataBehaviorHasBeenSet = true; m_timedMetadataBehavior = std::move(value); }
226
228
233 inline const Aws::String& GetTimedMetadataPid() const{ return m_timedMetadataPid; }
234 inline bool TimedMetadataPidHasBeenSet() const { return m_timedMetadataPidHasBeenSet; }
235 inline void SetTimedMetadataPid(const Aws::String& value) { m_timedMetadataPidHasBeenSet = true; m_timedMetadataPid = value; }
236 inline void SetTimedMetadataPid(Aws::String&& value) { m_timedMetadataPidHasBeenSet = true; m_timedMetadataPid = std::move(value); }
237 inline void SetTimedMetadataPid(const char* value) { m_timedMetadataPidHasBeenSet = true; m_timedMetadataPid.assign(value); }
238 inline M3u8Settings& WithTimedMetadataPid(const Aws::String& value) { SetTimedMetadataPid(value); return *this;}
239 inline M3u8Settings& WithTimedMetadataPid(Aws::String&& value) { SetTimedMetadataPid(std::move(value)); return *this;}
240 inline M3u8Settings& WithTimedMetadataPid(const char* value) { SetTimedMetadataPid(value); return *this;}
242
244
247 inline int GetTransportStreamId() const{ return m_transportStreamId; }
248 inline bool TransportStreamIdHasBeenSet() const { return m_transportStreamIdHasBeenSet; }
249 inline void SetTransportStreamId(int value) { m_transportStreamIdHasBeenSet = true; m_transportStreamId = value; }
250 inline M3u8Settings& WithTransportStreamId(int value) { SetTransportStreamId(value); return *this;}
252
254
258 inline const Aws::String& GetVideoPid() const{ return m_videoPid; }
259 inline bool VideoPidHasBeenSet() const { return m_videoPidHasBeenSet; }
260 inline void SetVideoPid(const Aws::String& value) { m_videoPidHasBeenSet = true; m_videoPid = value; }
261 inline void SetVideoPid(Aws::String&& value) { m_videoPidHasBeenSet = true; m_videoPid = std::move(value); }
262 inline void SetVideoPid(const char* value) { m_videoPidHasBeenSet = true; m_videoPid.assign(value); }
263 inline M3u8Settings& WithVideoPid(const Aws::String& value) { SetVideoPid(value); return *this;}
264 inline M3u8Settings& WithVideoPid(Aws::String&& value) { SetVideoPid(std::move(value)); return *this;}
265 inline M3u8Settings& WithVideoPid(const char* value) { SetVideoPid(value); return *this;}
267
269
272 inline const M3u8KlvBehavior& GetKlvBehavior() const{ return m_klvBehavior; }
273 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
274 inline void SetKlvBehavior(const M3u8KlvBehavior& value) { m_klvBehaviorHasBeenSet = true; m_klvBehavior = value; }
275 inline void SetKlvBehavior(M3u8KlvBehavior&& value) { m_klvBehaviorHasBeenSet = true; m_klvBehavior = std::move(value); }
276 inline M3u8Settings& WithKlvBehavior(const M3u8KlvBehavior& value) { SetKlvBehavior(value); return *this;}
277 inline M3u8Settings& WithKlvBehavior(M3u8KlvBehavior&& value) { SetKlvBehavior(std::move(value)); return *this;}
279
281
287 inline const Aws::String& GetKlvDataPids() const{ return m_klvDataPids; }
288 inline bool KlvDataPidsHasBeenSet() const { return m_klvDataPidsHasBeenSet; }
289 inline void SetKlvDataPids(const Aws::String& value) { m_klvDataPidsHasBeenSet = true; m_klvDataPids = value; }
290 inline void SetKlvDataPids(Aws::String&& value) { m_klvDataPidsHasBeenSet = true; m_klvDataPids = std::move(value); }
291 inline void SetKlvDataPids(const char* value) { m_klvDataPidsHasBeenSet = true; m_klvDataPids.assign(value); }
292 inline M3u8Settings& WithKlvDataPids(const Aws::String& value) { SetKlvDataPids(value); return *this;}
293 inline M3u8Settings& WithKlvDataPids(Aws::String&& value) { SetKlvDataPids(std::move(value)); return *this;}
294 inline M3u8Settings& WithKlvDataPids(const char* value) { SetKlvDataPids(value); return *this;}
296 private:
297
298 int m_audioFramesPerPes;
299 bool m_audioFramesPerPesHasBeenSet = false;
300
301 Aws::String m_audioPids;
302 bool m_audioPidsHasBeenSet = false;
303
304 Aws::String m_ecmPid;
305 bool m_ecmPidHasBeenSet = false;
306
307 M3u8NielsenId3Behavior m_nielsenId3Behavior;
308 bool m_nielsenId3BehaviorHasBeenSet = false;
309
310 int m_patInterval;
311 bool m_patIntervalHasBeenSet = false;
312
313 M3u8PcrControl m_pcrControl;
314 bool m_pcrControlHasBeenSet = false;
315
316 int m_pcrPeriod;
317 bool m_pcrPeriodHasBeenSet = false;
318
319 Aws::String m_pcrPid;
320 bool m_pcrPidHasBeenSet = false;
321
322 int m_pmtInterval;
323 bool m_pmtIntervalHasBeenSet = false;
324
325 Aws::String m_pmtPid;
326 bool m_pmtPidHasBeenSet = false;
327
328 int m_programNum;
329 bool m_programNumHasBeenSet = false;
330
331 M3u8Scte35Behavior m_scte35Behavior;
332 bool m_scte35BehaviorHasBeenSet = false;
333
334 Aws::String m_scte35Pid;
335 bool m_scte35PidHasBeenSet = false;
336
337 M3u8TimedMetadataBehavior m_timedMetadataBehavior;
338 bool m_timedMetadataBehaviorHasBeenSet = false;
339
340 Aws::String m_timedMetadataPid;
341 bool m_timedMetadataPidHasBeenSet = false;
342
343 int m_transportStreamId;
344 bool m_transportStreamIdHasBeenSet = false;
345
346 Aws::String m_videoPid;
347 bool m_videoPidHasBeenSet = false;
348
349 M3u8KlvBehavior m_klvBehavior;
350 bool m_klvBehaviorHasBeenSet = false;
351
352 Aws::String m_klvDataPids;
353 bool m_klvDataPidsHasBeenSet = false;
354 };
355
356} // namespace Model
357} // namespace MediaLive
358} // namespace Aws
M3u8Settings & WithScte35Pid(Aws::String &&value)
const Aws::String & GetAudioPids() const
void SetScte35Pid(const char *value)
void SetKlvDataPids(Aws::String &&value)
M3u8Settings & WithTransportStreamId(int value)
void SetAudioPids(const char *value)
const M3u8Scte35Behavior & GetScte35Behavior() const
M3u8Settings & WithPmtInterval(int value)
M3u8Settings & WithPatInterval(int value)
void SetTimedMetadataPid(const char *value)
void SetTimedMetadataBehavior(const M3u8TimedMetadataBehavior &value)
M3u8Settings & WithScte35Pid(const Aws::String &value)
void SetPcrControl(M3u8PcrControl &&value)
M3u8Settings & WithPcrPid(const Aws::String &value)
M3u8Settings & WithPcrControl(const M3u8PcrControl &value)
void SetAudioPids(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetScte35Pid() const
const M3u8KlvBehavior & GetKlvBehavior() const
const M3u8TimedMetadataBehavior & GetTimedMetadataBehavior() const
M3u8Settings & WithScte35Behavior(M3u8Scte35Behavior &&value)
M3u8Settings & WithPcrPid(Aws::String &&value)
M3u8Settings & WithPcrPid(const char *value)
M3u8Settings & WithNielsenId3Behavior(const M3u8NielsenId3Behavior &value)
void SetScte35Pid(Aws::String &&value)
void SetEcmPid(const char *value)
void SetNielsenId3Behavior(const M3u8NielsenId3Behavior &value)
void SetPcrPid(Aws::String &&value)
void SetVideoPid(const Aws::String &value)
M3u8Settings & WithEcmPid(Aws::String &&value)
M3u8Settings & WithAudioPids(Aws::String &&value)
M3u8Settings & WithVideoPid(Aws::String &&value)
void SetPmtPid(const Aws::String &value)
M3u8Settings & WithPcrPeriod(int value)
M3u8Settings & WithVideoPid(const char *value)
const Aws::String & GetEcmPid() const
AWS_MEDIALIVE_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue)
void SetAudioPids(Aws::String &&value)
void SetEcmPid(Aws::String &&value)
void SetKlvDataPids(const char *value)
void SetScte35Behavior(const M3u8Scte35Behavior &value)
M3u8Settings & WithPmtPid(const Aws::String &value)
M3u8Settings & WithPmtPid(const char *value)
const Aws::String & GetPmtPid() const
void SetVideoPid(const char *value)
M3u8Settings & WithProgramNum(int value)
void SetKlvBehavior(const M3u8KlvBehavior &value)
AWS_MEDIALIVE_API M3u8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
M3u8Settings & WithAudioPids(const char *value)
M3u8Settings & WithTimedMetadataBehavior(const M3u8TimedMetadataBehavior &value)
void SetNielsenId3Behavior(M3u8NielsenId3Behavior &&value)
void SetPcrControl(const M3u8PcrControl &value)
void SetScte35Pid(const Aws::String &value)
M3u8Settings & WithVideoPid(const Aws::String &value)
void SetTimedMetadataPid(const Aws::String &value)
M3u8Settings & WithKlvBehavior(const M3u8KlvBehavior &value)
M3u8Settings & WithKlvBehavior(M3u8KlvBehavior &&value)
M3u8Settings & WithKlvDataPids(const Aws::String &value)
M3u8Settings & WithPmtPid(Aws::String &&value)
const Aws::String & GetPcrPid() const
void SetPmtPid(const char *value)
M3u8Settings & WithTimedMetadataPid(const char *value)
void SetKlvBehavior(M3u8KlvBehavior &&value)
M3u8Settings & WithAudioPids(const Aws::String &value)
void SetTimedMetadataBehavior(M3u8TimedMetadataBehavior &&value)
const M3u8PcrControl & GetPcrControl() const
M3u8Settings & WithScte35Behavior(const M3u8Scte35Behavior &value)
void SetPmtPid(Aws::String &&value)
const M3u8NielsenId3Behavior & GetNielsenId3Behavior() const
void SetKlvDataPids(const Aws::String &value)
M3u8Settings & WithKlvDataPids(const char *value)
M3u8Settings & WithTimedMetadataPid(Aws::String &&value)
M3u8Settings & WithTimedMetadataPid(const Aws::String &value)
M3u8Settings & WithTimedMetadataBehavior(M3u8TimedMetadataBehavior &&value)
M3u8Settings & WithEcmPid(const char *value)
const Aws::String & GetTimedMetadataPid() const
void SetScte35Behavior(M3u8Scte35Behavior &&value)
M3u8Settings & WithAudioFramesPerPes(int value)
void SetPcrPid(const char *value)
M3u8Settings & WithEcmPid(const Aws::String &value)
M3u8Settings & WithPcrControl(M3u8PcrControl &&value)
void SetTimedMetadataPid(Aws::String &&value)
const Aws::String & GetKlvDataPids() const
void SetEcmPid(const Aws::String &value)
void SetVideoPid(Aws::String &&value)
const Aws::String & GetVideoPid() const
M3u8Settings & WithScte35Pid(const char *value)
M3u8Settings & WithKlvDataPids(Aws::String &&value)
M3u8Settings & WithNielsenId3Behavior(M3u8NielsenId3Behavior &&value)
void SetPcrPid(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue