AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VideoCodecSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Av1Settings.h>
9#include <aws/mediaconvert/model/AvcIntraSettings.h>
10#include <aws/mediaconvert/model/FrameCaptureSettings.h>
11#include <aws/mediaconvert/model/GifSettings.h>
12#include <aws/mediaconvert/model/H264Settings.h>
13#include <aws/mediaconvert/model/H265Settings.h>
14#include <aws/mediaconvert/model/Mpeg2Settings.h>
15#include <aws/mediaconvert/model/PassthroughSettings.h>
16#include <aws/mediaconvert/model/ProresSettings.h>
17#include <aws/mediaconvert/model/UncompressedSettings.h>
18#include <aws/mediaconvert/model/Vc3Settings.h>
19#include <aws/mediaconvert/model/VideoCodec.h>
20#include <aws/mediaconvert/model/Vp8Settings.h>
21#include <aws/mediaconvert/model/Vp9Settings.h>
22#include <aws/mediaconvert/model/XavcSettings.h>
23
24#include <utility>
25
26namespace Aws {
27namespace Utils {
28namespace Json {
29class JsonValue;
30class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace MediaConvert {
34namespace Model {
35
50 public:
51 AWS_MEDIACONVERT_API VideoCodecSettings() = default;
52 AWS_MEDIACONVERT_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue);
54 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
55
57
61 inline const Av1Settings& GetAv1Settings() const { return m_av1Settings; }
62 inline bool Av1SettingsHasBeenSet() const { return m_av1SettingsHasBeenSet; }
63 template <typename Av1SettingsT = Av1Settings>
64 void SetAv1Settings(Av1SettingsT&& value) {
65 m_av1SettingsHasBeenSet = true;
66 m_av1Settings = std::forward<Av1SettingsT>(value);
67 }
68 template <typename Av1SettingsT = Av1Settings>
69 VideoCodecSettings& WithAv1Settings(Av1SettingsT&& value) {
70 SetAv1Settings(std::forward<Av1SettingsT>(value));
71 return *this;
72 }
74
76
83 inline const AvcIntraSettings& GetAvcIntraSettings() const { return m_avcIntraSettings; }
84 inline bool AvcIntraSettingsHasBeenSet() const { return m_avcIntraSettingsHasBeenSet; }
85 template <typename AvcIntraSettingsT = AvcIntraSettings>
86 void SetAvcIntraSettings(AvcIntraSettingsT&& value) {
87 m_avcIntraSettingsHasBeenSet = true;
88 m_avcIntraSettings = std::forward<AvcIntraSettingsT>(value);
89 }
90 template <typename AvcIntraSettingsT = AvcIntraSettings>
91 VideoCodecSettings& WithAvcIntraSettings(AvcIntraSettingsT&& value) {
92 SetAvcIntraSettings(std::forward<AvcIntraSettingsT>(value));
93 return *this;
94 }
96
98
105 inline VideoCodec GetCodec() const { return m_codec; }
106 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
107 inline void SetCodec(VideoCodec value) {
108 m_codecHasBeenSet = true;
109 m_codec = value;
110 }
112 SetCodec(value);
113 return *this;
114 }
116
118
121 inline const FrameCaptureSettings& GetFrameCaptureSettings() const { return m_frameCaptureSettings; }
122 inline bool FrameCaptureSettingsHasBeenSet() const { return m_frameCaptureSettingsHasBeenSet; }
123 template <typename FrameCaptureSettingsT = FrameCaptureSettings>
124 void SetFrameCaptureSettings(FrameCaptureSettingsT&& value) {
125 m_frameCaptureSettingsHasBeenSet = true;
126 m_frameCaptureSettings = std::forward<FrameCaptureSettingsT>(value);
127 }
128 template <typename FrameCaptureSettingsT = FrameCaptureSettings>
129 VideoCodecSettings& WithFrameCaptureSettings(FrameCaptureSettingsT&& value) {
130 SetFrameCaptureSettings(std::forward<FrameCaptureSettingsT>(value));
131 return *this;
132 }
134
136
140 inline const GifSettings& GetGifSettings() const { return m_gifSettings; }
141 inline bool GifSettingsHasBeenSet() const { return m_gifSettingsHasBeenSet; }
142 template <typename GifSettingsT = GifSettings>
143 void SetGifSettings(GifSettingsT&& value) {
144 m_gifSettingsHasBeenSet = true;
145 m_gifSettings = std::forward<GifSettingsT>(value);
146 }
147 template <typename GifSettingsT = GifSettings>
148 VideoCodecSettings& WithGifSettings(GifSettingsT&& value) {
149 SetGifSettings(std::forward<GifSettingsT>(value));
150 return *this;
151 }
153
155
158 inline const H264Settings& GetH264Settings() const { return m_h264Settings; }
159 inline bool H264SettingsHasBeenSet() const { return m_h264SettingsHasBeenSet; }
160 template <typename H264SettingsT = H264Settings>
161 void SetH264Settings(H264SettingsT&& value) {
162 m_h264SettingsHasBeenSet = true;
163 m_h264Settings = std::forward<H264SettingsT>(value);
164 }
165 template <typename H264SettingsT = H264Settings>
166 VideoCodecSettings& WithH264Settings(H264SettingsT&& value) {
167 SetH264Settings(std::forward<H264SettingsT>(value));
168 return *this;
169 }
171
173
176 inline const H265Settings& GetH265Settings() const { return m_h265Settings; }
177 inline bool H265SettingsHasBeenSet() const { return m_h265SettingsHasBeenSet; }
178 template <typename H265SettingsT = H265Settings>
179 void SetH265Settings(H265SettingsT&& value) {
180 m_h265SettingsHasBeenSet = true;
181 m_h265Settings = std::forward<H265SettingsT>(value);
182 }
183 template <typename H265SettingsT = H265Settings>
184 VideoCodecSettings& WithH265Settings(H265SettingsT&& value) {
185 SetH265Settings(std::forward<H265SettingsT>(value));
186 return *this;
187 }
189
191
194 inline const Mpeg2Settings& GetMpeg2Settings() const { return m_mpeg2Settings; }
195 inline bool Mpeg2SettingsHasBeenSet() const { return m_mpeg2SettingsHasBeenSet; }
196 template <typename Mpeg2SettingsT = Mpeg2Settings>
197 void SetMpeg2Settings(Mpeg2SettingsT&& value) {
198 m_mpeg2SettingsHasBeenSet = true;
199 m_mpeg2Settings = std::forward<Mpeg2SettingsT>(value);
200 }
201 template <typename Mpeg2SettingsT = Mpeg2Settings>
202 VideoCodecSettings& WithMpeg2Settings(Mpeg2SettingsT&& value) {
203 SetMpeg2Settings(std::forward<Mpeg2SettingsT>(value));
204 return *this;
205 }
207
209
212 inline const PassthroughSettings& GetPassthroughSettings() const { return m_passthroughSettings; }
213 inline bool PassthroughSettingsHasBeenSet() const { return m_passthroughSettingsHasBeenSet; }
214 template <typename PassthroughSettingsT = PassthroughSettings>
215 void SetPassthroughSettings(PassthroughSettingsT&& value) {
216 m_passthroughSettingsHasBeenSet = true;
217 m_passthroughSettings = std::forward<PassthroughSettingsT>(value);
218 }
219 template <typename PassthroughSettingsT = PassthroughSettings>
220 VideoCodecSettings& WithPassthroughSettings(PassthroughSettingsT&& value) {
221 SetPassthroughSettings(std::forward<PassthroughSettingsT>(value));
222 return *this;
223 }
225
227
230 inline const ProresSettings& GetProresSettings() const { return m_proresSettings; }
231 inline bool ProresSettingsHasBeenSet() const { return m_proresSettingsHasBeenSet; }
232 template <typename ProresSettingsT = ProresSettings>
233 void SetProresSettings(ProresSettingsT&& value) {
234 m_proresSettingsHasBeenSet = true;
235 m_proresSettings = std::forward<ProresSettingsT>(value);
236 }
237 template <typename ProresSettingsT = ProresSettings>
238 VideoCodecSettings& WithProresSettings(ProresSettingsT&& value) {
239 SetProresSettings(std::forward<ProresSettingsT>(value));
240 return *this;
241 }
243
245
249 inline const UncompressedSettings& GetUncompressedSettings() const { return m_uncompressedSettings; }
250 inline bool UncompressedSettingsHasBeenSet() const { return m_uncompressedSettingsHasBeenSet; }
251 template <typename UncompressedSettingsT = UncompressedSettings>
252 void SetUncompressedSettings(UncompressedSettingsT&& value) {
253 m_uncompressedSettingsHasBeenSet = true;
254 m_uncompressedSettings = std::forward<UncompressedSettingsT>(value);
255 }
256 template <typename UncompressedSettingsT = UncompressedSettings>
257 VideoCodecSettings& WithUncompressedSettings(UncompressedSettingsT&& value) {
258 SetUncompressedSettings(std::forward<UncompressedSettingsT>(value));
259 return *this;
260 }
262
264
267 inline const Vc3Settings& GetVc3Settings() const { return m_vc3Settings; }
268 inline bool Vc3SettingsHasBeenSet() const { return m_vc3SettingsHasBeenSet; }
269 template <typename Vc3SettingsT = Vc3Settings>
270 void SetVc3Settings(Vc3SettingsT&& value) {
271 m_vc3SettingsHasBeenSet = true;
272 m_vc3Settings = std::forward<Vc3SettingsT>(value);
273 }
274 template <typename Vc3SettingsT = Vc3Settings>
275 VideoCodecSettings& WithVc3Settings(Vc3SettingsT&& value) {
276 SetVc3Settings(std::forward<Vc3SettingsT>(value));
277 return *this;
278 }
280
282
285 inline const Vp8Settings& GetVp8Settings() const { return m_vp8Settings; }
286 inline bool Vp8SettingsHasBeenSet() const { return m_vp8SettingsHasBeenSet; }
287 template <typename Vp8SettingsT = Vp8Settings>
288 void SetVp8Settings(Vp8SettingsT&& value) {
289 m_vp8SettingsHasBeenSet = true;
290 m_vp8Settings = std::forward<Vp8SettingsT>(value);
291 }
292 template <typename Vp8SettingsT = Vp8Settings>
293 VideoCodecSettings& WithVp8Settings(Vp8SettingsT&& value) {
294 SetVp8Settings(std::forward<Vp8SettingsT>(value));
295 return *this;
296 }
298
300
303 inline const Vp9Settings& GetVp9Settings() const { return m_vp9Settings; }
304 inline bool Vp9SettingsHasBeenSet() const { return m_vp9SettingsHasBeenSet; }
305 template <typename Vp9SettingsT = Vp9Settings>
306 void SetVp9Settings(Vp9SettingsT&& value) {
307 m_vp9SettingsHasBeenSet = true;
308 m_vp9Settings = std::forward<Vp9SettingsT>(value);
309 }
310 template <typename Vp9SettingsT = Vp9Settings>
311 VideoCodecSettings& WithVp9Settings(Vp9SettingsT&& value) {
312 SetVp9Settings(std::forward<Vp9SettingsT>(value));
313 return *this;
314 }
316
318
321 inline const XavcSettings& GetXavcSettings() const { return m_xavcSettings; }
322 inline bool XavcSettingsHasBeenSet() const { return m_xavcSettingsHasBeenSet; }
323 template <typename XavcSettingsT = XavcSettings>
324 void SetXavcSettings(XavcSettingsT&& value) {
325 m_xavcSettingsHasBeenSet = true;
326 m_xavcSettings = std::forward<XavcSettingsT>(value);
327 }
328 template <typename XavcSettingsT = XavcSettings>
329 VideoCodecSettings& WithXavcSettings(XavcSettingsT&& value) {
330 SetXavcSettings(std::forward<XavcSettingsT>(value));
331 return *this;
332 }
334 private:
335 Av1Settings m_av1Settings;
336
337 AvcIntraSettings m_avcIntraSettings;
338
340
341 FrameCaptureSettings m_frameCaptureSettings;
342
343 GifSettings m_gifSettings;
344
345 H264Settings m_h264Settings;
346
347 H265Settings m_h265Settings;
348
349 Mpeg2Settings m_mpeg2Settings;
350
351 PassthroughSettings m_passthroughSettings;
352
353 ProresSettings m_proresSettings;
354
355 UncompressedSettings m_uncompressedSettings;
356
357 Vc3Settings m_vc3Settings;
358
359 Vp8Settings m_vp8Settings;
360
361 Vp9Settings m_vp9Settings;
362
363 XavcSettings m_xavcSettings;
364 bool m_av1SettingsHasBeenSet = false;
365 bool m_avcIntraSettingsHasBeenSet = false;
366 bool m_codecHasBeenSet = false;
367 bool m_frameCaptureSettingsHasBeenSet = false;
368 bool m_gifSettingsHasBeenSet = false;
369 bool m_h264SettingsHasBeenSet = false;
370 bool m_h265SettingsHasBeenSet = false;
371 bool m_mpeg2SettingsHasBeenSet = false;
372 bool m_passthroughSettingsHasBeenSet = false;
373 bool m_proresSettingsHasBeenSet = false;
374 bool m_uncompressedSettingsHasBeenSet = false;
375 bool m_vc3SettingsHasBeenSet = false;
376 bool m_vp8SettingsHasBeenSet = false;
377 bool m_vp9SettingsHasBeenSet = false;
378 bool m_xavcSettingsHasBeenSet = false;
379};
380
381} // namespace Model
382} // namespace MediaConvert
383} // namespace Aws
VideoCodecSettings & WithGifSettings(GifSettingsT &&value)
VideoCodecSettings & WithAvcIntraSettings(AvcIntraSettingsT &&value)
VideoCodecSettings & WithFrameCaptureSettings(FrameCaptureSettingsT &&value)
const ProresSettings & GetProresSettings() const
void SetAvcIntraSettings(AvcIntraSettingsT &&value)
AWS_MEDIACONVERT_API VideoCodecSettings()=default
AWS_MEDIACONVERT_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue)
const UncompressedSettings & GetUncompressedSettings() const
void SetFrameCaptureSettings(FrameCaptureSettingsT &&value)
VideoCodecSettings & WithUncompressedSettings(UncompressedSettingsT &&value)
VideoCodecSettings & WithProresSettings(ProresSettingsT &&value)
void SetProresSettings(ProresSettingsT &&value)
VideoCodecSettings & WithVp9Settings(Vp9SettingsT &&value)
void SetUncompressedSettings(UncompressedSettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VideoCodecSettings & WithH264Settings(H264SettingsT &&value)
const AvcIntraSettings & GetAvcIntraSettings() const
const FrameCaptureSettings & GetFrameCaptureSettings() const
VideoCodecSettings & WithXavcSettings(XavcSettingsT &&value)
VideoCodecSettings & WithAv1Settings(Av1SettingsT &&value)
VideoCodecSettings & WithCodec(VideoCodec value)
const PassthroughSettings & GetPassthroughSettings() const
VideoCodecSettings & WithH265Settings(H265SettingsT &&value)
VideoCodecSettings & WithVp8Settings(Vp8SettingsT &&value)
VideoCodecSettings & WithVc3Settings(Vc3SettingsT &&value)
VideoCodecSettings & WithMpeg2Settings(Mpeg2SettingsT &&value)
AWS_MEDIACONVERT_API VideoCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPassthroughSettings(PassthroughSettingsT &&value)
VideoCodecSettings & WithPassthroughSettings(PassthroughSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue