AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
272 inline ScalingBehavior GetScalingBehavior() const { return m_scalingBehavior; }
273 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
275 m_scalingBehaviorHasBeenSet = true;
276 m_scalingBehavior = value;
277 }
279 SetScalingBehavior(value);
280 return *this;
281 }
283
285
291 inline int GetSharpness() const { return m_sharpness; }
292 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
293 inline void SetSharpness(int value) {
294 m_sharpnessHasBeenSet = true;
295 m_sharpness = value;
296 }
297 inline VideoDescription& WithSharpness(int value) {
298 SetSharpness(value);
299 return *this;
300 }
302
304
317 inline VideoTimecodeInsertion GetTimecodeInsertion() const { return m_timecodeInsertion; }
318 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
320 m_timecodeInsertionHasBeenSet = true;
321 m_timecodeInsertion = value;
322 }
325 return *this;
326 }
328
330
337 inline TimecodeTrack GetTimecodeTrack() const { return m_timecodeTrack; }
338 inline bool TimecodeTrackHasBeenSet() const { return m_timecodeTrackHasBeenSet; }
339 inline void SetTimecodeTrack(TimecodeTrack value) {
340 m_timecodeTrackHasBeenSet = true;
341 m_timecodeTrack = value;
342 }
344 SetTimecodeTrack(value);
345 return *this;
346 }
348
350
354 inline const VideoPreprocessor& GetVideoPreprocessors() const { return m_videoPreprocessors; }
355 inline bool VideoPreprocessorsHasBeenSet() const { return m_videoPreprocessorsHasBeenSet; }
356 template <typename VideoPreprocessorsT = VideoPreprocessor>
357 void SetVideoPreprocessors(VideoPreprocessorsT&& value) {
358 m_videoPreprocessorsHasBeenSet = true;
359 m_videoPreprocessors = std::forward<VideoPreprocessorsT>(value);
360 }
361 template <typename VideoPreprocessorsT = VideoPreprocessor>
362 VideoDescription& WithVideoPreprocessors(VideoPreprocessorsT&& value) {
363 SetVideoPreprocessors(std::forward<VideoPreprocessorsT>(value));
364 return *this;
365 }
367
369
376 inline int GetWidth() const { return m_width; }
377 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
378 inline void SetWidth(int value) {
379 m_widthHasBeenSet = true;
380 m_width = value;
381 }
382 inline VideoDescription& WithWidth(int value) {
383 SetWidth(value);
384 return *this;
385 }
387 private:
388 AfdSignaling m_afdSignaling{AfdSignaling::NOT_SET};
389
390 AntiAlias m_antiAlias{AntiAlias::NOT_SET};
391
393
394 VideoCodecSettings m_codecSettings;
395
396 ColorMetadata m_colorMetadata{ColorMetadata::NOT_SET};
397
398 Rectangle m_crop;
399
401
402 int m_fixedAfd{0};
403
404 int m_height{0};
405
406 Rectangle m_position;
407
408 RespondToAfd m_respondToAfd{RespondToAfd::NOT_SET};
409
410 ScalingBehavior m_scalingBehavior{ScalingBehavior::NOT_SET};
411
412 int m_sharpness{0};
413
415
416 TimecodeTrack m_timecodeTrack{TimecodeTrack::NOT_SET};
417
418 VideoPreprocessor m_videoPreprocessors;
419
420 int m_width{0};
421 bool m_afdSignalingHasBeenSet = false;
422 bool m_antiAliasHasBeenSet = false;
423 bool m_chromaPositionModeHasBeenSet = false;
424 bool m_codecSettingsHasBeenSet = false;
425 bool m_colorMetadataHasBeenSet = false;
426 bool m_cropHasBeenSet = false;
427 bool m_dropFrameTimecodeHasBeenSet = false;
428 bool m_fixedAfdHasBeenSet = false;
429 bool m_heightHasBeenSet = false;
430 bool m_positionHasBeenSet = false;
431 bool m_respondToAfdHasBeenSet = false;
432 bool m_scalingBehaviorHasBeenSet = false;
433 bool m_sharpnessHasBeenSet = false;
434 bool m_timecodeInsertionHasBeenSet = false;
435 bool m_timecodeTrackHasBeenSet = false;
436 bool m_videoPreprocessorsHasBeenSet = false;
437 bool m_widthHasBeenSet = false;
438};
439
440} // namespace Model
441} // namespace MediaConvert
442} // 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