AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/VideoCodecSettings.h>
11#include <aws/mediaconvert/model/ColorMetadata.h>
12#include <aws/mediaconvert/model/Rectangle.h>
13#include <aws/mediaconvert/model/DropFrameTimecode.h>
14#include <aws/mediaconvert/model/RespondToAfd.h>
15#include <aws/mediaconvert/model/ScalingBehavior.h>
16#include <aws/mediaconvert/model/VideoTimecodeInsertion.h>
17#include <aws/mediaconvert/model/VideoPreprocessor.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace MediaConvert
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_MEDIACONVERT_API VideoDescription();
45 AWS_MEDIACONVERT_API VideoDescription(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API VideoDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
59 inline const AfdSignaling& GetAfdSignaling() const{ return m_afdSignaling; }
60 inline bool AfdSignalingHasBeenSet() const { return m_afdSignalingHasBeenSet; }
61 inline void SetAfdSignaling(const AfdSignaling& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = value; }
62 inline void SetAfdSignaling(AfdSignaling&& value) { m_afdSignalingHasBeenSet = true; m_afdSignaling = std::move(value); }
63 inline VideoDescription& WithAfdSignaling(const AfdSignaling& value) { SetAfdSignaling(value); return *this;}
64 inline VideoDescription& WithAfdSignaling(AfdSignaling&& value) { SetAfdSignaling(std::move(value)); return *this;}
66
68
73 inline const AntiAlias& GetAntiAlias() const{ return m_antiAlias; }
74 inline bool AntiAliasHasBeenSet() const { return m_antiAliasHasBeenSet; }
75 inline void SetAntiAlias(const AntiAlias& value) { m_antiAliasHasBeenSet = true; m_antiAlias = value; }
76 inline void SetAntiAlias(AntiAlias&& value) { m_antiAliasHasBeenSet = true; m_antiAlias = std::move(value); }
77 inline VideoDescription& WithAntiAlias(const AntiAlias& value) { SetAntiAlias(value); return *this;}
78 inline VideoDescription& WithAntiAlias(AntiAlias&& value) { SetAntiAlias(std::move(value)); return *this;}
80
82
92 inline const VideoCodecSettings& GetCodecSettings() const{ return m_codecSettings; }
93 inline bool CodecSettingsHasBeenSet() const { return m_codecSettingsHasBeenSet; }
94 inline void SetCodecSettings(const VideoCodecSettings& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = value; }
95 inline void SetCodecSettings(VideoCodecSettings&& value) { m_codecSettingsHasBeenSet = true; m_codecSettings = std::move(value); }
96 inline VideoDescription& WithCodecSettings(const VideoCodecSettings& value) { SetCodecSettings(value); return *this;}
97 inline VideoDescription& WithCodecSettings(VideoCodecSettings&& value) { SetCodecSettings(std::move(value)); return *this;}
99
101
106 inline const ColorMetadata& GetColorMetadata() const{ return m_colorMetadata; }
107 inline bool ColorMetadataHasBeenSet() const { return m_colorMetadataHasBeenSet; }
108 inline void SetColorMetadata(const ColorMetadata& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = value; }
109 inline void SetColorMetadata(ColorMetadata&& value) { m_colorMetadataHasBeenSet = true; m_colorMetadata = std::move(value); }
110 inline VideoDescription& WithColorMetadata(const ColorMetadata& value) { SetColorMetadata(value); return *this;}
111 inline VideoDescription& WithColorMetadata(ColorMetadata&& value) { SetColorMetadata(std::move(value)); return *this;}
113
115
119 inline const Rectangle& GetCrop() const{ return m_crop; }
120 inline bool CropHasBeenSet() const { return m_cropHasBeenSet; }
121 inline void SetCrop(const Rectangle& value) { m_cropHasBeenSet = true; m_crop = value; }
122 inline void SetCrop(Rectangle&& value) { m_cropHasBeenSet = true; m_crop = std::move(value); }
123 inline VideoDescription& WithCrop(const Rectangle& value) { SetCrop(value); return *this;}
124 inline VideoDescription& WithCrop(Rectangle&& value) { SetCrop(std::move(value)); return *this;}
126
128
134 inline const DropFrameTimecode& GetDropFrameTimecode() const{ return m_dropFrameTimecode; }
135 inline bool DropFrameTimecodeHasBeenSet() const { return m_dropFrameTimecodeHasBeenSet; }
136 inline void SetDropFrameTimecode(const DropFrameTimecode& value) { m_dropFrameTimecodeHasBeenSet = true; m_dropFrameTimecode = value; }
137 inline void SetDropFrameTimecode(DropFrameTimecode&& value) { m_dropFrameTimecodeHasBeenSet = true; m_dropFrameTimecode = std::move(value); }
139 inline VideoDescription& WithDropFrameTimecode(DropFrameTimecode&& value) { SetDropFrameTimecode(std::move(value)); return *this;}
141
143
147 inline int GetFixedAfd() const{ return m_fixedAfd; }
148 inline bool FixedAfdHasBeenSet() const { return m_fixedAfdHasBeenSet; }
149 inline void SetFixedAfd(int value) { m_fixedAfdHasBeenSet = true; m_fixedAfd = value; }
150 inline VideoDescription& WithFixedAfd(int value) { SetFixedAfd(value); return *this;}
152
154
161 inline int GetHeight() const{ return m_height; }
162 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
163 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
164 inline VideoDescription& WithHeight(int value) { SetHeight(value); return *this;}
166
168
172 inline const Rectangle& GetPosition() const{ return m_position; }
173 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
174 inline void SetPosition(const Rectangle& value) { m_positionHasBeenSet = true; m_position = value; }
175 inline void SetPosition(Rectangle&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
176 inline VideoDescription& WithPosition(const Rectangle& value) { SetPosition(value); return *this;}
177 inline VideoDescription& WithPosition(Rectangle&& value) { SetPosition(std::move(value)); return *this;}
179
181
190 inline const RespondToAfd& GetRespondToAfd() const{ return m_respondToAfd; }
191 inline bool RespondToAfdHasBeenSet() const { return m_respondToAfdHasBeenSet; }
192 inline void SetRespondToAfd(const RespondToAfd& value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = value; }
193 inline void SetRespondToAfd(RespondToAfd&& value) { m_respondToAfdHasBeenSet = true; m_respondToAfd = std::move(value); }
194 inline VideoDescription& WithRespondToAfd(const RespondToAfd& value) { SetRespondToAfd(value); return *this;}
195 inline VideoDescription& WithRespondToAfd(RespondToAfd&& value) { SetRespondToAfd(std::move(value)); return *this;}
197
199
204 inline const ScalingBehavior& GetScalingBehavior() const{ return m_scalingBehavior; }
205 inline bool ScalingBehaviorHasBeenSet() const { return m_scalingBehaviorHasBeenSet; }
206 inline void SetScalingBehavior(const ScalingBehavior& value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = value; }
207 inline void SetScalingBehavior(ScalingBehavior&& value) { m_scalingBehaviorHasBeenSet = true; m_scalingBehavior = std::move(value); }
208 inline VideoDescription& WithScalingBehavior(const ScalingBehavior& value) { SetScalingBehavior(value); return *this;}
209 inline VideoDescription& WithScalingBehavior(ScalingBehavior&& value) { SetScalingBehavior(std::move(value)); return *this;}
211
213
219 inline int GetSharpness() const{ return m_sharpness; }
220 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
221 inline void SetSharpness(int value) { m_sharpnessHasBeenSet = true; m_sharpness = value; }
222 inline VideoDescription& WithSharpness(int value) { SetSharpness(value); return *this;}
224
226
239 inline const VideoTimecodeInsertion& GetTimecodeInsertion() const{ return m_timecodeInsertion; }
240 inline bool TimecodeInsertionHasBeenSet() const { return m_timecodeInsertionHasBeenSet; }
241 inline void SetTimecodeInsertion(const VideoTimecodeInsertion& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = value; }
242 inline void SetTimecodeInsertion(VideoTimecodeInsertion&& value) { m_timecodeInsertionHasBeenSet = true; m_timecodeInsertion = std::move(value); }
244 inline VideoDescription& WithTimecodeInsertion(VideoTimecodeInsertion&& value) { SetTimecodeInsertion(std::move(value)); return *this;}
246
248
252 inline const VideoPreprocessor& GetVideoPreprocessors() const{ return m_videoPreprocessors; }
253 inline bool VideoPreprocessorsHasBeenSet() const { return m_videoPreprocessorsHasBeenSet; }
254 inline void SetVideoPreprocessors(const VideoPreprocessor& value) { m_videoPreprocessorsHasBeenSet = true; m_videoPreprocessors = value; }
255 inline void SetVideoPreprocessors(VideoPreprocessor&& value) { m_videoPreprocessorsHasBeenSet = true; m_videoPreprocessors = std::move(value); }
257 inline VideoDescription& WithVideoPreprocessors(VideoPreprocessor&& value) { SetVideoPreprocessors(std::move(value)); return *this;}
259
261
268 inline int GetWidth() const{ return m_width; }
269 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
270 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
271 inline VideoDescription& WithWidth(int value) { SetWidth(value); return *this;}
273 private:
274
275 AfdSignaling m_afdSignaling;
276 bool m_afdSignalingHasBeenSet = false;
277
278 AntiAlias m_antiAlias;
279 bool m_antiAliasHasBeenSet = false;
280
281 VideoCodecSettings m_codecSettings;
282 bool m_codecSettingsHasBeenSet = false;
283
284 ColorMetadata m_colorMetadata;
285 bool m_colorMetadataHasBeenSet = false;
286
287 Rectangle m_crop;
288 bool m_cropHasBeenSet = false;
289
290 DropFrameTimecode m_dropFrameTimecode;
291 bool m_dropFrameTimecodeHasBeenSet = false;
292
293 int m_fixedAfd;
294 bool m_fixedAfdHasBeenSet = false;
295
296 int m_height;
297 bool m_heightHasBeenSet = false;
298
299 Rectangle m_position;
300 bool m_positionHasBeenSet = false;
301
302 RespondToAfd m_respondToAfd;
303 bool m_respondToAfdHasBeenSet = false;
304
305 ScalingBehavior m_scalingBehavior;
306 bool m_scalingBehaviorHasBeenSet = false;
307
308 int m_sharpness;
309 bool m_sharpnessHasBeenSet = false;
310
311 VideoTimecodeInsertion m_timecodeInsertion;
312 bool m_timecodeInsertionHasBeenSet = false;
313
314 VideoPreprocessor m_videoPreprocessors;
315 bool m_videoPreprocessorsHasBeenSet = false;
316
317 int m_width;
318 bool m_widthHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace MediaConvert
323} // namespace Aws
VideoDescription & WithCrop(const Rectangle &value)
void SetAfdSignaling(const AfdSignaling &value)
VideoDescription & WithAntiAlias(const AntiAlias &value)
const VideoPreprocessor & GetVideoPreprocessors() const
VideoDescription & WithDropFrameTimecode(DropFrameTimecode &&value)
VideoDescription & WithTimecodeInsertion(const VideoTimecodeInsertion &value)
VideoDescription & WithSharpness(int value)
void SetVideoPreprocessors(VideoPreprocessor &&value)
const RespondToAfd & GetRespondToAfd() const
VideoDescription & WithFixedAfd(int value)
VideoDescription & WithTimecodeInsertion(VideoTimecodeInsertion &&value)
void SetColorMetadata(const ColorMetadata &value)
void SetDropFrameTimecode(DropFrameTimecode &&value)
VideoDescription & WithRespondToAfd(const RespondToAfd &value)
const ScalingBehavior & GetScalingBehavior() const
VideoDescription & WithAntiAlias(AntiAlias &&value)
VideoDescription & WithVideoPreprocessors(const VideoPreprocessor &value)
VideoDescription & WithVideoPreprocessors(VideoPreprocessor &&value)
VideoDescription & WithDropFrameTimecode(const DropFrameTimecode &value)
const DropFrameTimecode & GetDropFrameTimecode() const
void SetCodecSettings(VideoCodecSettings &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoDescription & WithRespondToAfd(RespondToAfd &&value)
const VideoTimecodeInsertion & GetTimecodeInsertion() const
void SetScalingBehavior(ScalingBehavior &&value)
VideoDescription & WithAfdSignaling(AfdSignaling &&value)
VideoDescription & WithColorMetadata(ColorMetadata &&value)
VideoDescription & WithCodecSettings(VideoCodecSettings &&value)
const AfdSignaling & GetAfdSignaling() const
VideoDescription & WithHeight(int value)
AWS_MEDIACONVERT_API VideoDescription(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithWidth(int value)
VideoDescription & WithCodecSettings(const VideoCodecSettings &value)
VideoDescription & WithScalingBehavior(const ScalingBehavior &value)
const ColorMetadata & GetColorMetadata() const
void SetTimecodeInsertion(const VideoTimecodeInsertion &value)
VideoDescription & WithColorMetadata(const ColorMetadata &value)
const VideoCodecSettings & GetCodecSettings() const
AWS_MEDIACONVERT_API VideoDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoDescription & WithPosition(const Rectangle &value)
void SetTimecodeInsertion(VideoTimecodeInsertion &&value)
VideoDescription & WithPosition(Rectangle &&value)
void SetVideoPreprocessors(const VideoPreprocessor &value)
void SetRespondToAfd(const RespondToAfd &value)
VideoDescription & WithScalingBehavior(ScalingBehavior &&value)
void SetCodecSettings(const VideoCodecSettings &value)
void SetScalingBehavior(const ScalingBehavior &value)
VideoDescription & WithCrop(Rectangle &&value)
void SetAntiAlias(const AntiAlias &value)
void SetDropFrameTimecode(const DropFrameTimecode &value)
void SetColorMetadata(ColorMetadata &&value)
VideoDescription & WithAfdSignaling(const AfdSignaling &value)
Aws::Utils::Json::JsonValue JsonValue