AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/VideoCodecSettings.h>
12#include <aws/mediaconvert/model/ColorMetadata.h>
13#include <aws/mediaconvert/model/Rectangle.h>
14#include <aws/mediaconvert/model/DropFrameTimecode.h>
15#include <aws/mediaconvert/model/RespondToAfd.h>
16#include <aws/mediaconvert/model/ScalingBehavior.h>
17#include <aws/mediaconvert/model/VideoTimecodeInsertion.h>
18#include <aws/mediaconvert/model/TimecodeTrack.h>
19#include <aws/mediaconvert/model/VideoPreprocessor.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 MediaConvert
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_MEDIACONVERT_API VideoDescription() = default;
47 AWS_MEDIACONVERT_API VideoDescription(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIACONVERT_API VideoDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
61 inline AfdSignaling GetAfdSignaling() const { return m_afdSignaling; }
62 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
63 inline void SetAfdSignaling(AfdSignaling value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = value; }
64 inline VideoDescription& WithAfdSignaling(AfdSignaling value) { SetAfdSignaling(value); return *this;}
66
68
73 inline AntiAlias GetAntiAlias() const { return m_antiAlias; }
74 inline bool AntiAliasHasBeenSet() const { return m_antiAliasHasBeenSet; }
75 inline void SetAntiAlias(AntiAlias value) { m_antiAliasHasBeenSet = true; m_antiAlias = value; }
76 inline VideoDescription& WithAntiAlias(AntiAlias value) { SetAntiAlias(value); return *this;}
78
80
86 inline ChromaPositionMode GetChromaPositionMode() const { return m_chromaPositionMode; }
87 inline bool ChromaPositionModeHasBeenSet() const { return m_chromaPositionModeHasBeenSet; }
88 inline void SetChromaPositionMode(ChromaPositionMode value) { m_chromaPositionModeHasBeenSet = true; m_chromaPositionMode = value; }
91
93
103 inline const VideoCodecSettings& GetCodecSettings() const { return m_codecSettings; }
104 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
105 template<typename CodecSettingsT = VideoCodecSettings>
106 void SetCodecSettings(CodecSettingsT&& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = std::forward<CodecSettingsT>(value); }
107 template<typename CodecSettingsT = VideoCodecSettings>
108 VideoDescription& WithCodecSettings(CodecSettingsT&& value) { SetCodecSettings(std::forward<CodecSettingsT>(value)); return *this;}
110
112
117 inline ColorMetadata GetColorMetadata() const { return m_colorMetadata; }
118 inline bool ColorMetadataHasBeenSet() const { return m_colorMetadataHasBeenSet; }
119 inline void SetColorMetadata(ColorMetadata value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = value; }
120 inline VideoDescription& WithColorMetadata(ColorMetadata value) { SetColorMetadata(value); return *this;}
122
124
128 inline const Rectangle& GetCrop() const { return m_crop; }
129 inline bool CropHasBeenSet() const { return m_cropHasBeenSet; }
130 template<typename CropT = Rectangle>
131 void SetCrop(CropT&& value) { m_cropHasBeenSet = true; m_crop = std::forward<CropT>(value); }
132 template<typename CropT = Rectangle>
133 VideoDescription& WithCrop(CropT&& value) { SetCrop(std::forward<CropT>(value)); return *this;}
135
137
143 inline DropFrameTimecode GetDropFrameTimecode() const { return m_dropFrameTimecode; }
144 inline bool DropFrameTimecodeHasBeenSet() const { return m_dropFrameTimecodeHasBeenSet; }
145 inline void SetDropFrameTimecode(DropFrameTimecode value) { m_dropFrameTimecodeHasBeenSet = true; m_dropFrameTimecode = value; }
148
150
154 inline int GetFixedAfd() const { return m_fixedAfd; }
155 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
156 inline void SetFixedAfd(int value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = value; }
157 inline VideoDescription& WithFixedAfd(int value) { SetFixedAfd(value); return *this;}
159
161
168 inline int GetHeight() const { return m_height; }
169 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
170 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
171 inline VideoDescription& WithHeight(int value) { SetHeight(value); return *this;}
173
175
179 inline const Rectangle& GetPosition() const { return m_position; }
180 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
181 template<typename PositionT = Rectangle>
182 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
183 template<typename PositionT = Rectangle>
184 VideoDescription& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
186
188
197 inline RespondToAfd GetRespondToAfd() const { return m_respondToAfd; }
198 inline bool RespondToAfdHasBeenSet() const { return m_respondToAfdHasBeenSet; }
199 inline void SetRespondToAfd(RespondToAfd value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = value; }
200 inline VideoDescription& WithRespondToAfd(RespondToAfd value) { SetRespondToAfd(value); return *this;}
202
204
209 inline ScalingBehavior GetScalingBehavior() const { return m_scalingBehavior; }
210 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
211 inline void SetScalingBehavior(ScalingBehavior value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = value; }
214
216
222 inline int GetSharpness() const { return m_sharpness; }
223 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
224 inline void SetSharpness(int value) { m_sharpnessHasBeenSet = true; m_sharpness = value; }
225 inline VideoDescription& WithSharpness(int value) { SetSharpness(value); return *this;}
227
229
242 inline VideoTimecodeInsertion GetTimecodeInsertion() const { return m_timecodeInsertion; }
243 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
244 inline void SetTimecodeInsertion(VideoTimecodeInsertion value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = value; }
247
249
256 inline TimecodeTrack GetTimecodeTrack() const { return m_timecodeTrack; }
257 inline bool TimecodeTrackHasBeenSet() const { return m_timecodeTrackHasBeenSet; }
258 inline void SetTimecodeTrack(TimecodeTrack value) { m_timecodeTrackHasBeenSet = true; m_timecodeTrack = value; }
259 inline VideoDescription& WithTimecodeTrack(TimecodeTrack value) { SetTimecodeTrack(value); return *this;}
261
263
267 inline const VideoPreprocessor& GetVideoPreprocessors() const { return m_videoPreprocessors; }
268 inline bool VideoPreprocessorsHasBeenSet() const { return m_videoPreprocessorsHasBeenSet; }
269 template<typename VideoPreprocessorsT = VideoPreprocessor>
270 void SetVideoPreprocessors(VideoPreprocessorsT&& value) { m_videoPreprocessorsHasBeenSet = true; m_videoPreprocessors = std::forward<VideoPreprocessorsT>(value); }
271 template<typename VideoPreprocessorsT = VideoPreprocessor>
272 VideoDescription& WithVideoPreprocessors(VideoPreprocessorsT&& value) { SetVideoPreprocessors(std::forward<VideoPreprocessorsT>(value)); return *this;}
274
276
283 inline int GetWidth() const { return m_width; }
284 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
285 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
286 inline VideoDescription& WithWidth(int value) { SetWidth(value); return *this;}
288 private:
289
290 AfdSignaling m_afdSignaling{AfdSignaling::NOT_SET};
291 bool m_afdSignalingHasBeenSet = false;
292
293 AntiAlias m_antiAlias{AntiAlias::NOT_SET};
294 bool m_antiAliasHasBeenSet = false;
295
297 bool m_chromaPositionModeHasBeenSet = false;
298
299 VideoCodecSettings m_codecSettings;
300 bool m_codecSettingsHasBeenSet = false;
301
302 ColorMetadata m_colorMetadata{ColorMetadata::NOT_SET};
303 bool m_colorMetadataHasBeenSet = false;
304
305 Rectangle m_crop;
306 bool m_cropHasBeenSet = false;
307
309 bool m_dropFrameTimecodeHasBeenSet = false;
310
311 int m_fixedAfd{0};
312 bool m_fixedAfdHasBeenSet = false;
313
314 int m_height{0};
315 bool m_heightHasBeenSet = false;
316
317 Rectangle m_position;
318 bool m_positionHasBeenSet = false;
319
320 RespondToAfd m_respondToAfd{RespondToAfd::NOT_SET};
321 bool m_respondToAfdHasBeenSet = false;
322
323 ScalingBehavior m_scalingBehavior{ScalingBehavior::NOT_SET};
324 bool m_scalingBehaviorHasBeenSet = false;
325
326 int m_sharpness{0};
327 bool m_sharpnessHasBeenSet = false;
328
330 bool m_timecodeInsertionHasBeenSet = false;
331
332 TimecodeTrack m_timecodeTrack{TimecodeTrack::NOT_SET};
333 bool m_timecodeTrackHasBeenSet = false;
334
335 VideoPreprocessor m_videoPreprocessors;
336 bool m_videoPreprocessorsHasBeenSet = false;
337
338 int m_width{0};
339 bool m_widthHasBeenSet = false;
340 };
341
342} // namespace Model
343} // namespace MediaConvert
344} // 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