AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Mpeg2Settings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Mpeg2AdaptiveQuantization.h>
9#include <aws/medialive/model/AfdSignaling.h>
10#include <aws/medialive/model/Mpeg2ColorMetadata.h>
11#include <aws/medialive/model/Mpeg2ColorSpace.h>
12#include <aws/medialive/model/Mpeg2DisplayRatio.h>
13#include <aws/medialive/model/Mpeg2FilterSettings.h>
14#include <aws/medialive/model/FixedAfd.h>
15#include <aws/medialive/model/Mpeg2GopSizeUnits.h>
16#include <aws/medialive/model/Mpeg2ScanType.h>
17#include <aws/medialive/model/Mpeg2SubGopLength.h>
18#include <aws/medialive/model/Mpeg2TimecodeInsertionBehavior.h>
19#include <aws/medialive/model/TimecodeBurninSettings.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace MediaLive
33{
34namespace Model
35{
36
43 {
44 public:
45 AWS_MEDIALIVE_API Mpeg2Settings();
46 AWS_MEDIALIVE_API Mpeg2Settings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIALIVE_API Mpeg2Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
58 inline const Mpeg2AdaptiveQuantization& GetAdaptiveQuantization() const{ return m_adaptiveQuantization; }
59 inline bool AdaptiveQuantizationHasBeenSet() const { return m_adaptiveQuantizationHasBeenSet; }
60 inline void SetAdaptiveQuantization(const Mpeg2AdaptiveQuantization& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = value; }
61 inline void SetAdaptiveQuantization(Mpeg2AdaptiveQuantization&& value) { m_adaptiveQuantizationHasBeenSet = true; m_adaptiveQuantization = std::move(value); }
65
67
76 inline const AfdSignaling& GetAfdSignaling() const{ return m_afdSignaling; }
77 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
78 inline void SetAfdSignaling(const AfdSignaling& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = value; }
79 inline void SetAfdSignaling(AfdSignaling&& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = std::move(value); }
80 inline Mpeg2Settings& WithAfdSignaling(const AfdSignaling& value) { SetAfdSignaling(value); return *this;}
81 inline Mpeg2Settings& WithAfdSignaling(AfdSignaling&& value) { SetAfdSignaling(std::move(value)); return *this;}
83
85
90 inline const Mpeg2ColorMetadata& GetColorMetadata() const{ return m_colorMetadata; }
91 inline bool ColorMetadataHasBeenSet() const { return m_colorMetadataHasBeenSet; }
92 inline void SetColorMetadata(const Mpeg2ColorMetadata& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = value; }
93 inline void SetColorMetadata(Mpeg2ColorMetadata&& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = std::move(value); }
94 inline Mpeg2Settings& WithColorMetadata(const Mpeg2ColorMetadata& value) { SetColorMetadata(value); return *this;}
95 inline Mpeg2Settings& WithColorMetadata(Mpeg2ColorMetadata&& value) { SetColorMetadata(std::move(value)); return *this;}
97
99
109 inline const Mpeg2ColorSpace& GetColorSpace() const{ return m_colorSpace; }
110 inline bool ColorSpaceHasBeenSet() const { return m_colorSpaceHasBeenSet; }
111 inline void SetColorSpace(const Mpeg2ColorSpace& value) { m_colorSpaceHasBeenSet = true; m_colorSpace = value; }
112 inline void SetColorSpace(Mpeg2ColorSpace&& value) { m_colorSpaceHasBeenSet = true; m_colorSpace = std::move(value); }
113 inline Mpeg2Settings& WithColorSpace(const Mpeg2ColorSpace& value) { SetColorSpace(value); return *this;}
114 inline Mpeg2Settings& WithColorSpace(Mpeg2ColorSpace&& value) { SetColorSpace(std::move(value)); return *this;}
116
118
121 inline const Mpeg2DisplayRatio& GetDisplayAspectRatio() const{ return m_displayAspectRatio; }
122 inline bool DisplayAspectRatioHasBeenSet() const { return m_displayAspectRatioHasBeenSet; }
123 inline void SetDisplayAspectRatio(const Mpeg2DisplayRatio& value) { m_displayAspectRatioHasBeenSet = true; m_displayAspectRatio = value; }
124 inline void SetDisplayAspectRatio(Mpeg2DisplayRatio&& value) { m_displayAspectRatioHasBeenSet = true; m_displayAspectRatio = std::move(value); }
126 inline Mpeg2Settings& WithDisplayAspectRatio(Mpeg2DisplayRatio&& value) { SetDisplayAspectRatio(std::move(value)); return *this;}
128
130
144 inline const Mpeg2FilterSettings& GetFilterSettings() const{ return m_filterSettings; }
145 inline bool FilterSettingsHasBeenSet() const { return m_filterSettingsHasBeenSet; }
146 inline void SetFilterSettings(const Mpeg2FilterSettings& value) { m_filterSettingsHasBeenSet = true; m_filterSettings = value; }
147 inline void SetFilterSettings(Mpeg2FilterSettings&& value) { m_filterSettingsHasBeenSet = true; m_filterSettings = std::move(value); }
148 inline Mpeg2Settings& WithFilterSettings(const Mpeg2FilterSettings& value) { SetFilterSettings(value); return *this;}
149 inline Mpeg2Settings& WithFilterSettings(Mpeg2FilterSettings&& value) { SetFilterSettings(std::move(value)); return *this;}
151
153
157 inline const FixedAfd& GetFixedAfd() const{ return m_fixedAfd; }
158 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
159 inline void SetFixedAfd(const FixedAfd& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = value; }
160 inline void SetFixedAfd(FixedAfd&& value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = std::move(value); }
161 inline Mpeg2Settings& WithFixedAfd(const FixedAfd& value) { SetFixedAfd(value); return *this;}
162 inline Mpeg2Settings& WithFixedAfd(FixedAfd&& value) { SetFixedAfd(std::move(value)); return *this;}
164
166
171 inline int GetFramerateDenominator() const{ return m_framerateDenominator; }
172 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
173 inline void SetFramerateDenominator(int value) { m_framerateDenominatorHasBeenSet = true; m_framerateDenominator = value; }
174 inline Mpeg2Settings& WithFramerateDenominator(int value) { SetFramerateDenominator(value); return *this;}
176
178
182 inline int GetFramerateNumerator() const{ return m_framerateNumerator; }
183 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
184 inline void SetFramerateNumerator(int value) { m_framerateNumeratorHasBeenSet = true; m_framerateNumerator = value; }
185 inline Mpeg2Settings& WithFramerateNumerator(int value) { SetFramerateNumerator(value); return *this;}
187
189
192 inline int GetGopClosedCadence() const{ return m_gopClosedCadence; }
193 inline bool GopClosedCadenceHasBeenSet() const { return m_gopClosedCadenceHasBeenSet; }
194 inline void SetGopClosedCadence(int value) { m_gopClosedCadenceHasBeenSet = true; m_gopClosedCadence = value; }
195 inline Mpeg2Settings& WithGopClosedCadence(int value) { SetGopClosedCadence(value); return *this;}
197
199
203 inline int GetGopNumBFrames() const{ return m_gopNumBFrames; }
204 inline bool GopNumBFramesHasBeenSet() const { return m_gopNumBFramesHasBeenSet; }
205 inline void SetGopNumBFrames(int value) { m_gopNumBFramesHasBeenSet = true; m_gopNumBFrames = value; }
206 inline Mpeg2Settings& WithGopNumBFrames(int value) { SetGopNumBFrames(value); return *this;}
208
210
219 inline double GetGopSize() const{ return m_gopSize; }
220 inline bool GopSizeHasBeenSet() const { return m_gopSizeHasBeenSet; }
221 inline void SetGopSize(double value) { m_gopSizeHasBeenSet = true; m_gopSize = value; }
222 inline Mpeg2Settings& WithGopSize(double value) { SetGopSize(value); return *this;}
224
226
232 inline const Mpeg2GopSizeUnits& GetGopSizeUnits() const{ return m_gopSizeUnits; }
233 inline bool GopSizeUnitsHasBeenSet() const { return m_gopSizeUnitsHasBeenSet; }
234 inline void SetGopSizeUnits(const Mpeg2GopSizeUnits& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = value; }
235 inline void SetGopSizeUnits(Mpeg2GopSizeUnits&& value) { m_gopSizeUnitsHasBeenSet = true; m_gopSizeUnits = std::move(value); }
236 inline Mpeg2Settings& WithGopSizeUnits(const Mpeg2GopSizeUnits& value) { SetGopSizeUnits(value); return *this;}
237 inline Mpeg2Settings& WithGopSizeUnits(Mpeg2GopSizeUnits&& value) { SetGopSizeUnits(std::move(value)); return *this;}
239
241
244 inline const Mpeg2ScanType& GetScanType() const{ return m_scanType; }
245 inline bool ScanTypeHasBeenSet() const { return m_scanTypeHasBeenSet; }
246 inline void SetScanType(const Mpeg2ScanType& value) { m_scanTypeHasBeenSet = true; m_scanType = value; }
247 inline void SetScanType(Mpeg2ScanType&& value) { m_scanTypeHasBeenSet = true; m_scanType = std::move(value); }
248 inline Mpeg2Settings& WithScanType(const Mpeg2ScanType& value) { SetScanType(value); return *this;}
249 inline Mpeg2Settings& WithScanType(Mpeg2ScanType&& value) { SetScanType(std::move(value)); return *this;}
251
253
261 inline const Mpeg2SubGopLength& GetSubgopLength() const{ return m_subgopLength; }
262 inline bool SubgopLengthHasBeenSet() const { return m_subgopLengthHasBeenSet; }
263 inline void SetSubgopLength(const Mpeg2SubGopLength& value) { m_subgopLengthHasBeenSet = true; m_subgopLength = value; }
264 inline void SetSubgopLength(Mpeg2SubGopLength&& value) { m_subgopLengthHasBeenSet = true; m_subgopLength = std::move(value); }
265 inline Mpeg2Settings& WithSubgopLength(const Mpeg2SubGopLength& value) { SetSubgopLength(value); return *this;}
266 inline Mpeg2Settings& WithSubgopLength(Mpeg2SubGopLength&& value) { SetSubgopLength(std::move(value)); return *this;}
268
270
279 inline const Mpeg2TimecodeInsertionBehavior& GetTimecodeInsertion() const{ return m_timecodeInsertion; }
280 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
281 inline void SetTimecodeInsertion(const Mpeg2TimecodeInsertionBehavior& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = value; }
282 inline void SetTimecodeInsertion(Mpeg2TimecodeInsertionBehavior&& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = std::move(value); }
286
288
291 inline const TimecodeBurninSettings& GetTimecodeBurninSettings() const{ return m_timecodeBurninSettings; }
292 inline bool TimecodeBurninSettingsHasBeenSet() const { return m_timecodeBurninSettingsHasBeenSet; }
293 inline void SetTimecodeBurninSettings(const TimecodeBurninSettings& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = value; }
294 inline void SetTimecodeBurninSettings(TimecodeBurninSettings&& value) { m_timecodeBurninSettingsHasBeenSet = true; m_timecodeBurninSettings = std::move(value); }
298 private:
299
300 Mpeg2AdaptiveQuantization m_adaptiveQuantization;
301 bool m_adaptiveQuantizationHasBeenSet = false;
302
303 AfdSignaling m_afdSignaling;
304 bool m_afdSignalingHasBeenSet = false;
305
306 Mpeg2ColorMetadata m_colorMetadata;
307 bool m_colorMetadataHasBeenSet = false;
308
309 Mpeg2ColorSpace m_colorSpace;
310 bool m_colorSpaceHasBeenSet = false;
311
312 Mpeg2DisplayRatio m_displayAspectRatio;
313 bool m_displayAspectRatioHasBeenSet = false;
314
315 Mpeg2FilterSettings m_filterSettings;
316 bool m_filterSettingsHasBeenSet = false;
317
318 FixedAfd m_fixedAfd;
319 bool m_fixedAfdHasBeenSet = false;
320
321 int m_framerateDenominator;
322 bool m_framerateDenominatorHasBeenSet = false;
323
324 int m_framerateNumerator;
325 bool m_framerateNumeratorHasBeenSet = false;
326
327 int m_gopClosedCadence;
328 bool m_gopClosedCadenceHasBeenSet = false;
329
330 int m_gopNumBFrames;
331 bool m_gopNumBFramesHasBeenSet = false;
332
333 double m_gopSize;
334 bool m_gopSizeHasBeenSet = false;
335
336 Mpeg2GopSizeUnits m_gopSizeUnits;
337 bool m_gopSizeUnitsHasBeenSet = false;
338
339 Mpeg2ScanType m_scanType;
340 bool m_scanTypeHasBeenSet = false;
341
342 Mpeg2SubGopLength m_subgopLength;
343 bool m_subgopLengthHasBeenSet = false;
344
345 Mpeg2TimecodeInsertionBehavior m_timecodeInsertion;
346 bool m_timecodeInsertionHasBeenSet = false;
347
348 TimecodeBurninSettings m_timecodeBurninSettings;
349 bool m_timecodeBurninSettingsHasBeenSet = false;
350 };
351
352} // namespace Model
353} // namespace MediaLive
354} // namespace Aws
const Mpeg2ColorMetadata & GetColorMetadata() const
Mpeg2Settings & WithFramerateDenominator(int value)
void SetDisplayAspectRatio(const Mpeg2DisplayRatio &value)
Mpeg2Settings & WithColorMetadata(const Mpeg2ColorMetadata &value)
void SetAfdSignaling(AfdSignaling &&value)
Mpeg2Settings & WithTimecodeInsertion(const Mpeg2TimecodeInsertionBehavior &value)
Mpeg2Settings & WithGopSizeUnits(const Mpeg2GopSizeUnits &value)
Mpeg2Settings & WithGopSize(double value)
void SetSubgopLength(const Mpeg2SubGopLength &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGopSizeUnits(Mpeg2GopSizeUnits &&value)
AWS_MEDIALIVE_API Mpeg2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
const FixedAfd & GetFixedAfd() const
const Mpeg2AdaptiveQuantization & GetAdaptiveQuantization() const
Mpeg2Settings & WithScanType(Mpeg2ScanType &&value)
Mpeg2Settings & WithGopSizeUnits(Mpeg2GopSizeUnits &&value)
Mpeg2Settings & WithGopNumBFrames(int value)
void SetFilterSettings(Mpeg2FilterSettings &&value)
Mpeg2Settings & WithFramerateNumerator(int value)
void SetTimecodeBurninSettings(const TimecodeBurninSettings &value)
Mpeg2Settings & WithTimecodeInsertion(Mpeg2TimecodeInsertionBehavior &&value)
const AfdSignaling & GetAfdSignaling() const
Mpeg2Settings & WithSubgopLength(Mpeg2SubGopLength &&value)
Mpeg2Settings & WithColorSpace(Mpeg2ColorSpace &&value)
Mpeg2Settings & WithColorMetadata(Mpeg2ColorMetadata &&value)
Mpeg2Settings & WithAfdSignaling(const AfdSignaling &value)
Mpeg2Settings & WithGopClosedCadence(int value)
Mpeg2Settings & WithFixedAfd(const FixedAfd &value)
Mpeg2Settings & WithDisplayAspectRatio(const Mpeg2DisplayRatio &value)
void SetAfdSignaling(const AfdSignaling &value)
Mpeg2Settings & WithFixedAfd(FixedAfd &&value)
Mpeg2Settings & WithSubgopLength(const Mpeg2SubGopLength &value)
Mpeg2Settings & WithFilterSettings(Mpeg2FilterSettings &&value)
AWS_MEDIALIVE_API Mpeg2Settings(Aws::Utils::Json::JsonView jsonValue)
void SetTimecodeInsertion(Mpeg2TimecodeInsertionBehavior &&value)
void SetScanType(Mpeg2ScanType &&value)
Mpeg2Settings & WithAfdSignaling(AfdSignaling &&value)
void SetDisplayAspectRatio(Mpeg2DisplayRatio &&value)
void SetTimecodeInsertion(const Mpeg2TimecodeInsertionBehavior &value)
const Mpeg2ScanType & GetScanType() const
const TimecodeBurninSettings & GetTimecodeBurninSettings() const
Mpeg2Settings & WithTimecodeBurninSettings(const TimecodeBurninSettings &value)
void SetFixedAfd(const FixedAfd &value)
const Mpeg2FilterSettings & GetFilterSettings() const
void SetTimecodeBurninSettings(TimecodeBurninSettings &&value)
Mpeg2Settings & WithFilterSettings(const Mpeg2FilterSettings &value)
Mpeg2Settings & WithAdaptiveQuantization(const Mpeg2AdaptiveQuantization &value)
Mpeg2Settings & WithAdaptiveQuantization(Mpeg2AdaptiveQuantization &&value)
void SetAdaptiveQuantization(Mpeg2AdaptiveQuantization &&value)
Mpeg2Settings & WithTimecodeBurninSettings(TimecodeBurninSettings &&value)
const Mpeg2ColorSpace & GetColorSpace() const
const Mpeg2TimecodeInsertionBehavior & GetTimecodeInsertion() const
const Mpeg2GopSizeUnits & GetGopSizeUnits() const
void SetGopSizeUnits(const Mpeg2GopSizeUnits &value)
void SetColorSpace(Mpeg2ColorSpace &&value)
void SetSubgopLength(Mpeg2SubGopLength &&value)
void SetColorMetadata(Mpeg2ColorMetadata &&value)
Mpeg2Settings & WithScanType(const Mpeg2ScanType &value)
const Mpeg2SubGopLength & GetSubgopLength() const
void SetColorSpace(const Mpeg2ColorSpace &value)
void SetColorMetadata(const Mpeg2ColorMetadata &value)
void SetAdaptiveQuantization(const Mpeg2AdaptiveQuantization &value)
void SetFilterSettings(const Mpeg2FilterSettings &value)
Mpeg2Settings & WithColorSpace(const Mpeg2ColorSpace &value)
Mpeg2Settings & WithDisplayAspectRatio(Mpeg2DisplayRatio &&value)
void SetScanType(const Mpeg2ScanType &value)
const Mpeg2DisplayRatio & GetDisplayAspectRatio() const
Aws::Utils::Json::JsonValue JsonValue