AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VideoDescription.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AfdSignaling.h>
9#include <aws/mediaconvert/model/AntiAlias.h>
10#include <aws/mediaconvert/model/ChromaPositionMode.h>
11#include <aws/mediaconvert/model/ColorMetadata.h>
12#include <aws/mediaconvert/model/DropFrameTimecode.h>
13#include <aws/mediaconvert/model/Rectangle.h>
14#include <aws/mediaconvert/model/RespondToAfd.h>
15#include <aws/mediaconvert/model/ScalingBehavior.h>
16#include <aws/mediaconvert/model/TimecodeTrack.h>
17#include <aws/mediaconvert/model/VideoCodecSettings.h>
18#include <aws/mediaconvert/model/VideoPreprocessor.h>
19#include <aws/mediaconvert/model/VideoTimecodeInsertion.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace MediaConvert {
31namespace Model {
32
40 public:
41 AWS_MEDIACONVERT_API VideoDescription() = default;
42 AWS_MEDIACONVERT_API VideoDescription(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONVERT_API VideoDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
55 inline AfdSignaling GetAfdSignaling() const { return m_afdSignaling; }
56 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
57 inline void SetAfdSignaling(AfdSignaling value) {
58 m_afdSignalingHasBeenSet = true;
59 m_afdSignaling = value;
60 }
62 SetAfdSignaling(value);
63 return *this;
64 }
66
68
73 inline AntiAlias GetAntiAlias() const { return m_antiAlias; }
74 inline bool AntiAliasHasBeenSet() const { return m_antiAliasHasBeenSet; }
75 inline void SetAntiAlias(AntiAlias value) {
76 m_antiAliasHasBeenSet = true;
77 m_antiAlias = value;
78 }
80 SetAntiAlias(value);
81 return *this;
82 }
84
86
92 inline ChromaPositionMode GetChromaPositionMode() const { return m_chromaPositionMode; }
93 inline bool ChromaPositionModeHasBeenSet() const { return m_chromaPositionModeHasBeenSet; }
95 m_chromaPositionModeHasBeenSet = true;
96 m_chromaPositionMode = value;
97 }
100 return *this;
101 }
103
105
115 inline const VideoCodecSettings& GetCodecSettings() const { return m_codecSettings; }
116 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
117 template <typename CodecSettingsT = VideoCodecSettings>
118 void SetCodecSettings(CodecSettingsT&& value) {
119 m_codecSettingsHasBeenSet = true;
120 m_codecSettings = std::forward<CodecSettingsT>(value);
121 }
122 template <typename CodecSettingsT = VideoCodecSettings>
123 VideoDescription& WithCodecSettings(CodecSettingsT&& value) {
124 SetCodecSettings(std::forward<CodecSettingsT>(value));
125 return *this;
126 }
128
130
135 inline ColorMetadata GetColorMetadata() const { return m_colorMetadata; }
136 inline bool ColorMetadataHasBeenSet() const { return m_colorMetadataHasBeenSet; }
137 inline void SetColorMetadata(ColorMetadata value) {
138 m_colorMetadataHasBeenSet = true;
139 m_colorMetadata = value;
140 }
142 SetColorMetadata(value);
143 return *this;
144 }
146
148
152 inline const Rectangle& GetCrop() const { return m_crop; }
153 inline bool CropHasBeenSet() const { return m_cropHasBeenSet; }
154 template <typename CropT = Rectangle>
155 void SetCrop(CropT&& value) {
156 m_cropHasBeenSet = true;
157 m_crop = std::forward<CropT>(value);
158 }
159 template <typename CropT = Rectangle>
160 VideoDescription& WithCrop(CropT&& value) {
161 SetCrop(std::forward<CropT>(value));
162 return *this;
163 }
165
167
173 inline DropFrameTimecode GetDropFrameTimecode() const { return m_dropFrameTimecode; }
174 inline bool DropFrameTimecodeHasBeenSet() const { return m_dropFrameTimecodeHasBeenSet; }
176 m_dropFrameTimecodeHasBeenSet = true;
177 m_dropFrameTimecode = value;
178 }
181 return *this;
182 }
184
186
190 inline int GetFixedAfd() const { return m_fixedAfd; }
191 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
192 inline void SetFixedAfd(int value) {
193 m_fixedAfdHasBeenSet = true;
194 m_fixedAfd = value;
195 }
196 inline VideoDescription& WithFixedAfd(int value) {
197 SetFixedAfd(value);
198 return *this;
199 }
201
203
210 inline int GetHeight() const { return m_height; }
211 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
212 inline void SetHeight(int value) {
213 m_heightHasBeenSet = true;
214 m_height = value;
215 }
216 inline VideoDescription& WithHeight(int value) {
217 SetHeight(value);
218 return *this;
219 }
221
223
227 inline const Rectangle& GetPosition() const { return m_position; }
228 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
229 template <typename PositionT = Rectangle>
230 void SetPosition(PositionT&& value) {
231 m_positionHasBeenSet = true;
232 m_position = std::forward<PositionT>(value);
233 }
234 template <typename PositionT = Rectangle>
235 VideoDescription& WithPosition(PositionT&& value) {
236 SetPosition(std::forward<PositionT>(value));
237 return *this;
238 }
240
242
251 inline RespondToAfd GetRespondToAfd() const { return m_respondToAfd; }
252 inline bool RespondToAfdHasBeenSet() const { return m_respondToAfdHasBeenSet; }
253 inline void SetRespondToAfd(RespondToAfd value) {
254 m_respondToAfdHasBeenSet = true;
255 m_respondToAfd = value;
256 }
258 SetRespondToAfd(value);
259 return *this;
260 }
262
264
269 inline ScalingBehavior GetScalingBehavior() const { return m_scalingBehavior; }
270 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
272 m_scalingBehaviorHasBeenSet = true;
273 m_scalingBehavior = value;
274 }
276 SetScalingBehavior(value);
277 return *this;
278 }
280
282
288 inline int GetSharpness() const { return m_sharpness; }
289 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
290 inline void SetSharpness(int value) {
291 m_sharpnessHasBeenSet = true;
292 m_sharpness = value;
293 }
294 inline VideoDescription& WithSharpness(int value) {
295 SetSharpness(value);
296 return *this;
297 }
299
301
314 inline VideoTimecodeInsertion GetTimecodeInsertion() const { return m_timecodeInsertion; }
315 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
317 m_timecodeInsertionHasBeenSet = true;
318 m_timecodeInsertion = value;
319 }
322 return *this;
323 }
325
327
334 inline TimecodeTrack GetTimecodeTrack() const { return m_timecodeTrack; }
335 inline bool TimecodeTrackHasBeenSet() const { return m_timecodeTrackHasBeenSet; }
336 inline void SetTimecodeTrack(TimecodeTrack value) {
337 m_timecodeTrackHasBeenSet = true;
338 m_timecodeTrack = value;
339 }
341 SetTimecodeTrack(value);
342 return *this;
343 }
345
347
351 inline const VideoPreprocessor& GetVideoPreprocessors() const { return m_videoPreprocessors; }
352 inline bool VideoPreprocessorsHasBeenSet() const { return m_videoPreprocessorsHasBeenSet; }
353 template <typename VideoPreprocessorsT = VideoPreprocessor>
354 void SetVideoPreprocessors(VideoPreprocessorsT&& value) {
355 m_videoPreprocessorsHasBeenSet = true;
356 m_videoPreprocessors = std::forward<VideoPreprocessorsT>(value);
357 }
358 template <typename VideoPreprocessorsT = VideoPreprocessor>
359 VideoDescription& WithVideoPreprocessors(VideoPreprocessorsT&& value) {
360 SetVideoPreprocessors(std::forward<VideoPreprocessorsT>(value));
361 return *this;
362 }
364
366
373 inline int GetWidth() const { return m_width; }
374 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
375 inline void SetWidth(int value) {
376 m_widthHasBeenSet = true;
377 m_width = value;
378 }
379 inline VideoDescription& WithWidth(int value) {
380 SetWidth(value);
381 return *this;
382 }
384 private:
385 AfdSignaling m_afdSignaling{AfdSignaling::NOT_SET};
386
387 AntiAlias m_antiAlias{AntiAlias::NOT_SET};
388
390
391 VideoCodecSettings m_codecSettings;
392
393 ColorMetadata m_colorMetadata{ColorMetadata::NOT_SET};
394
395 Rectangle m_crop;
396
398
399 int m_fixedAfd{0};
400
401 int m_height{0};
402
403 Rectangle m_position;
404
405 RespondToAfd m_respondToAfd{RespondToAfd::NOT_SET};
406
407 ScalingBehavior m_scalingBehavior{ScalingBehavior::NOT_SET};
408
409 int m_sharpness{0};
410
412
413 TimecodeTrack m_timecodeTrack{TimecodeTrack::NOT_SET};
414
415 VideoPreprocessor m_videoPreprocessors;
416
417 int m_width{0};
418 bool m_afdSignalingHasBeenSet = false;
419 bool m_antiAliasHasBeenSet = false;
420 bool m_chromaPositionModeHasBeenSet = false;
421 bool m_codecSettingsHasBeenSet = false;
422 bool m_colorMetadataHasBeenSet = false;
423 bool m_cropHasBeenSet = false;
424 bool m_dropFrameTimecodeHasBeenSet = false;
425 bool m_fixedAfdHasBeenSet = false;
426 bool m_heightHasBeenSet = false;
427 bool m_positionHasBeenSet = false;
428 bool m_respondToAfdHasBeenSet = false;
429 bool m_scalingBehaviorHasBeenSet = false;
430 bool m_sharpnessHasBeenSet = false;
431 bool m_timecodeInsertionHasBeenSet = false;
432 bool m_timecodeTrackHasBeenSet = false;
433 bool m_videoPreprocessorsHasBeenSet = false;
434 bool m_widthHasBeenSet = false;
435};
436
437} // namespace Model
438} // namespace MediaConvert
439} // namespace Aws
VideoDescription & WithRespondToAfd(RespondToAfd value)
void SetTimecodeInsertion(VideoTimecodeInsertion value)
VideoDescription & WithChromaPositionMode(ChromaPositionMode value)
void SetCodecSettings(CodecSettingsT &&value)
void SetChromaPositionMode(ChromaPositionMode value)
void SetDropFrameTimecode(DropFrameTimecode value)
VideoDescription & WithTimecodeInsertion(VideoTimecodeInsertion value)
const VideoPreprocessor & GetVideoPreprocessors() const
VideoDescription & WithAntiAlias(AntiAlias value)
VideoDescription & WithDropFrameTimecode(DropFrameTimecode value)
VideoDescription & WithSharpness(int value)
VideoDescription & WithFixedAfd(int value)
VideoDescription & WithTimecodeTrack(TimecodeTrack value)
VideoDescription & WithColorMetadata(ColorMetadata value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoDescription & WithScalingBehavior(ScalingBehavior value)
void SetScalingBehavior(ScalingBehavior value)
VideoDescription & WithAfdSignaling(AfdSignaling value)
VideoDescription & WithHeight(int value)
AWS_MEDIACONVERT_API VideoDescription(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithCodecSettings(CodecSettingsT &&value)
VideoDescription & WithWidth(int value)
const VideoCodecSettings & GetCodecSettings() const
AWS_MEDIACONVERT_API VideoDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithPosition(PositionT &&value)
VideoTimecodeInsertion GetTimecodeInsertion() const
VideoDescription & WithVideoPreprocessors(VideoPreprocessorsT &&value)
VideoDescription & WithCrop(CropT &&value)
AWS_MEDIACONVERT_API VideoDescription()=default
void SetVideoPreprocessors(VideoPreprocessorsT &&value)
ChromaPositionMode GetChromaPositionMode() const
Aws::Utils::Json::JsonValue JsonValue