AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/VideoCodec.h>
11#include <aws/mediaconvert/model/FrameCaptureSettings.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/ProresSettings.h>
16#include <aws/mediaconvert/model/UncompressedSettings.h>
17#include <aws/mediaconvert/model/Vc3Settings.h>
18#include <aws/mediaconvert/model/Vp8Settings.h>
19#include <aws/mediaconvert/model/Vp9Settings.h>
20#include <aws/mediaconvert/model/XavcSettings.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace MediaConvert
34{
35namespace Model
36{
37
51 {
52 public:
53 AWS_MEDIACONVERT_API VideoCodecSettings();
54 AWS_MEDIACONVERT_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue);
56 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
64 inline const Av1Settings& GetAv1Settings() const{ return m_av1Settings; }
65 inline bool Av1SettingsHasBeenSet() const { return m_av1SettingsHasBeenSet; }
66 inline void SetAv1Settings(const Av1Settings& value) { m_av1SettingsHasBeenSet = true; m_av1Settings = value; }
67 inline void SetAv1Settings(Av1Settings&& value) { m_av1SettingsHasBeenSet = true; m_av1Settings = std::move(value); }
68 inline VideoCodecSettings& WithAv1Settings(const Av1Settings& value) { SetAv1Settings(value); return *this;}
69 inline VideoCodecSettings& WithAv1Settings(Av1Settings&& value) { SetAv1Settings(std::move(value)); return *this;}
71
73
80 inline const AvcIntraSettings& GetAvcIntraSettings() const{ return m_avcIntraSettings; }
81 inline bool AvcIntraSettingsHasBeenSet() const { return m_avcIntraSettingsHasBeenSet; }
82 inline void SetAvcIntraSettings(const AvcIntraSettings& value) { m_avcIntraSettingsHasBeenSet = true; m_avcIntraSettings = value; }
83 inline void SetAvcIntraSettings(AvcIntraSettings&& value) { m_avcIntraSettingsHasBeenSet = true; m_avcIntraSettings = std::move(value); }
84 inline VideoCodecSettings& WithAvcIntraSettings(const AvcIntraSettings& value) { SetAvcIntraSettings(value); return *this;}
85 inline VideoCodecSettings& WithAvcIntraSettings(AvcIntraSettings&& value) { SetAvcIntraSettings(std::move(value)); return *this;}
87
89
97 inline const VideoCodec& GetCodec() const{ return m_codec; }
98 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
99 inline void SetCodec(const VideoCodec& value) { m_codecHasBeenSet = true; m_codec = value; }
100 inline void SetCodec(VideoCodec&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
101 inline VideoCodecSettings& WithCodec(const VideoCodec& value) { SetCodec(value); return *this;}
102 inline VideoCodecSettings& WithCodec(VideoCodec&& value) { SetCodec(std::move(value)); return *this;}
104
106
109 inline const FrameCaptureSettings& GetFrameCaptureSettings() const{ return m_frameCaptureSettings; }
110 inline bool FrameCaptureSettingsHasBeenSet() const { return m_frameCaptureSettingsHasBeenSet; }
111 inline void SetFrameCaptureSettings(const FrameCaptureSettings& value) { m_frameCaptureSettingsHasBeenSet = true; m_frameCaptureSettings = value; }
112 inline void SetFrameCaptureSettings(FrameCaptureSettings&& value) { m_frameCaptureSettingsHasBeenSet = true; m_frameCaptureSettings = std::move(value); }
116
118
121 inline const H264Settings& GetH264Settings() const{ return m_h264Settings; }
122 inline bool H264SettingsHasBeenSet() const { return m_h264SettingsHasBeenSet; }
123 inline void SetH264Settings(const H264Settings& value) { m_h264SettingsHasBeenSet = true; m_h264Settings = value; }
124 inline void SetH264Settings(H264Settings&& value) { m_h264SettingsHasBeenSet = true; m_h264Settings = std::move(value); }
125 inline VideoCodecSettings& WithH264Settings(const H264Settings& value) { SetH264Settings(value); return *this;}
126 inline VideoCodecSettings& WithH264Settings(H264Settings&& value) { SetH264Settings(std::move(value)); return *this;}
128
130
133 inline const H265Settings& GetH265Settings() const{ return m_h265Settings; }
134 inline bool H265SettingsHasBeenSet() const { return m_h265SettingsHasBeenSet; }
135 inline void SetH265Settings(const H265Settings& value) { m_h265SettingsHasBeenSet = true; m_h265Settings = value; }
136 inline void SetH265Settings(H265Settings&& value) { m_h265SettingsHasBeenSet = true; m_h265Settings = std::move(value); }
137 inline VideoCodecSettings& WithH265Settings(const H265Settings& value) { SetH265Settings(value); return *this;}
138 inline VideoCodecSettings& WithH265Settings(H265Settings&& value) { SetH265Settings(std::move(value)); return *this;}
140
142
145 inline const Mpeg2Settings& GetMpeg2Settings() const{ return m_mpeg2Settings; }
146 inline bool Mpeg2SettingsHasBeenSet() const { return m_mpeg2SettingsHasBeenSet; }
147 inline void SetMpeg2Settings(const Mpeg2Settings& value) { m_mpeg2SettingsHasBeenSet = true; m_mpeg2Settings = value; }
148 inline void SetMpeg2Settings(Mpeg2Settings&& value) { m_mpeg2SettingsHasBeenSet = true; m_mpeg2Settings = std::move(value); }
149 inline VideoCodecSettings& WithMpeg2Settings(const Mpeg2Settings& value) { SetMpeg2Settings(value); return *this;}
150 inline VideoCodecSettings& WithMpeg2Settings(Mpeg2Settings&& value) { SetMpeg2Settings(std::move(value)); return *this;}
152
154
157 inline const ProresSettings& GetProresSettings() const{ return m_proresSettings; }
158 inline bool ProresSettingsHasBeenSet() const { return m_proresSettingsHasBeenSet; }
159 inline void SetProresSettings(const ProresSettings& value) { m_proresSettingsHasBeenSet = true; m_proresSettings = value; }
160 inline void SetProresSettings(ProresSettings&& value) { m_proresSettingsHasBeenSet = true; m_proresSettings = std::move(value); }
161 inline VideoCodecSettings& WithProresSettings(const ProresSettings& value) { SetProresSettings(value); return *this;}
162 inline VideoCodecSettings& WithProresSettings(ProresSettings&& value) { SetProresSettings(std::move(value)); return *this;}
164
166
170 inline const UncompressedSettings& GetUncompressedSettings() const{ return m_uncompressedSettings; }
171 inline bool UncompressedSettingsHasBeenSet() const { return m_uncompressedSettingsHasBeenSet; }
172 inline void SetUncompressedSettings(const UncompressedSettings& value) { m_uncompressedSettingsHasBeenSet = true; m_uncompressedSettings = value; }
173 inline void SetUncompressedSettings(UncompressedSettings&& value) { m_uncompressedSettingsHasBeenSet = true; m_uncompressedSettings = std::move(value); }
177
179
182 inline const Vc3Settings& GetVc3Settings() const{ return m_vc3Settings; }
183 inline bool Vc3SettingsHasBeenSet() const { return m_vc3SettingsHasBeenSet; }
184 inline void SetVc3Settings(const Vc3Settings& value) { m_vc3SettingsHasBeenSet = true; m_vc3Settings = value; }
185 inline void SetVc3Settings(Vc3Settings&& value) { m_vc3SettingsHasBeenSet = true; m_vc3Settings = std::move(value); }
186 inline VideoCodecSettings& WithVc3Settings(const Vc3Settings& value) { SetVc3Settings(value); return *this;}
187 inline VideoCodecSettings& WithVc3Settings(Vc3Settings&& value) { SetVc3Settings(std::move(value)); return *this;}
189
191
194 inline const Vp8Settings& GetVp8Settings() const{ return m_vp8Settings; }
195 inline bool Vp8SettingsHasBeenSet() const { return m_vp8SettingsHasBeenSet; }
196 inline void SetVp8Settings(const Vp8Settings& value) { m_vp8SettingsHasBeenSet = true; m_vp8Settings = value; }
197 inline void SetVp8Settings(Vp8Settings&& value) { m_vp8SettingsHasBeenSet = true; m_vp8Settings = std::move(value); }
198 inline VideoCodecSettings& WithVp8Settings(const Vp8Settings& value) { SetVp8Settings(value); return *this;}
199 inline VideoCodecSettings& WithVp8Settings(Vp8Settings&& value) { SetVp8Settings(std::move(value)); return *this;}
201
203
206 inline const Vp9Settings& GetVp9Settings() const{ return m_vp9Settings; }
207 inline bool Vp9SettingsHasBeenSet() const { return m_vp9SettingsHasBeenSet; }
208 inline void SetVp9Settings(const Vp9Settings& value) { m_vp9SettingsHasBeenSet = true; m_vp9Settings = value; }
209 inline void SetVp9Settings(Vp9Settings&& value) { m_vp9SettingsHasBeenSet = true; m_vp9Settings = std::move(value); }
210 inline VideoCodecSettings& WithVp9Settings(const Vp9Settings& value) { SetVp9Settings(value); return *this;}
211 inline VideoCodecSettings& WithVp9Settings(Vp9Settings&& value) { SetVp9Settings(std::move(value)); return *this;}
213
215
218 inline const XavcSettings& GetXavcSettings() const{ return m_xavcSettings; }
219 inline bool XavcSettingsHasBeenSet() const { return m_xavcSettingsHasBeenSet; }
220 inline void SetXavcSettings(const XavcSettings& value) { m_xavcSettingsHasBeenSet = true; m_xavcSettings = value; }
221 inline void SetXavcSettings(XavcSettings&& value) { m_xavcSettingsHasBeenSet = true; m_xavcSettings = std::move(value); }
222 inline VideoCodecSettings& WithXavcSettings(const XavcSettings& value) { SetXavcSettings(value); return *this;}
223 inline VideoCodecSettings& WithXavcSettings(XavcSettings&& value) { SetXavcSettings(std::move(value)); return *this;}
225 private:
226
227 Av1Settings m_av1Settings;
228 bool m_av1SettingsHasBeenSet = false;
229
230 AvcIntraSettings m_avcIntraSettings;
231 bool m_avcIntraSettingsHasBeenSet = false;
232
233 VideoCodec m_codec;
234 bool m_codecHasBeenSet = false;
235
236 FrameCaptureSettings m_frameCaptureSettings;
237 bool m_frameCaptureSettingsHasBeenSet = false;
238
239 H264Settings m_h264Settings;
240 bool m_h264SettingsHasBeenSet = false;
241
242 H265Settings m_h265Settings;
243 bool m_h265SettingsHasBeenSet = false;
244
245 Mpeg2Settings m_mpeg2Settings;
246 bool m_mpeg2SettingsHasBeenSet = false;
247
248 ProresSettings m_proresSettings;
249 bool m_proresSettingsHasBeenSet = false;
250
251 UncompressedSettings m_uncompressedSettings;
252 bool m_uncompressedSettingsHasBeenSet = false;
253
254 Vc3Settings m_vc3Settings;
255 bool m_vc3SettingsHasBeenSet = false;
256
257 Vp8Settings m_vp8Settings;
258 bool m_vp8SettingsHasBeenSet = false;
259
260 Vp9Settings m_vp9Settings;
261 bool m_vp9SettingsHasBeenSet = false;
262
263 XavcSettings m_xavcSettings;
264 bool m_xavcSettingsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace MediaConvert
269} // namespace Aws
void SetXavcSettings(const XavcSettings &value)
VideoCodecSettings & WithVp8Settings(Vp8Settings &&value)
VideoCodecSettings & WithAv1Settings(Av1Settings &&value)
void SetVc3Settings(const Vc3Settings &value)
const ProresSettings & GetProresSettings() const
VideoCodecSettings & WithVp9Settings(Vp9Settings &&value)
VideoCodecSettings & WithAv1Settings(const Av1Settings &value)
void SetMpeg2Settings(const Mpeg2Settings &value)
void SetFrameCaptureSettings(FrameCaptureSettings &&value)
VideoCodecSettings & WithAvcIntraSettings(const AvcIntraSettings &value)
void SetAv1Settings(const Av1Settings &value)
VideoCodecSettings & WithMpeg2Settings(const Mpeg2Settings &value)
VideoCodecSettings & WithVc3Settings(Vc3Settings &&value)
void SetH264Settings(const H264Settings &value)
VideoCodecSettings & WithUncompressedSettings(const UncompressedSettings &value)
VideoCodecSettings & WithVp9Settings(const Vp9Settings &value)
VideoCodecSettings & WithCodec(const VideoCodec &value)
void SetFrameCaptureSettings(const FrameCaptureSettings &value)
VideoCodecSettings & WithUncompressedSettings(UncompressedSettings &&value)
AWS_MEDIACONVERT_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue)
const UncompressedSettings & GetUncompressedSettings() const
VideoCodecSettings & WithH264Settings(H264Settings &&value)
VideoCodecSettings & WithXavcSettings(XavcSettings &&value)
VideoCodecSettings & WithFrameCaptureSettings(const FrameCaptureSettings &value)
void SetUncompressedSettings(const UncompressedSettings &value)
void SetAvcIntraSettings(const AvcIntraSettings &value)
void SetVp9Settings(const Vp9Settings &value)
VideoCodecSettings & WithVp8Settings(const Vp8Settings &value)
VideoCodecSettings & WithH265Settings(const H265Settings &value)
VideoCodecSettings & WithH265Settings(H265Settings &&value)
VideoCodecSettings & WithAvcIntraSettings(AvcIntraSettings &&value)
VideoCodecSettings & WithFrameCaptureSettings(FrameCaptureSettings &&value)
VideoCodecSettings & WithMpeg2Settings(Mpeg2Settings &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const AvcIntraSettings & GetAvcIntraSettings() const
void SetProresSettings(const ProresSettings &value)
void SetUncompressedSettings(UncompressedSettings &&value)
VideoCodecSettings & WithProresSettings(const ProresSettings &value)
void SetH265Settings(const H265Settings &value)
const FrameCaptureSettings & GetFrameCaptureSettings() const
VideoCodecSettings & WithCodec(VideoCodec &&value)
VideoCodecSettings & WithH264Settings(const H264Settings &value)
VideoCodecSettings & WithXavcSettings(const XavcSettings &value)
void SetAvcIntraSettings(AvcIntraSettings &&value)
VideoCodecSettings & WithVc3Settings(const Vc3Settings &value)
AWS_MEDIACONVERT_API VideoCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVp8Settings(const Vp8Settings &value)
VideoCodecSettings & WithProresSettings(ProresSettings &&value)
Aws::Utils::Json::JsonValue JsonValue