AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/GifSettings.h>
13#include <aws/mediaconvert/model/H264Settings.h>
14#include <aws/mediaconvert/model/H265Settings.h>
15#include <aws/mediaconvert/model/Mpeg2Settings.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/Vp8Settings.h>
20#include <aws/mediaconvert/model/Vp9Settings.h>
21#include <aws/mediaconvert/model/XavcSettings.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace MediaConvert
35{
36namespace Model
37{
38
53 {
54 public:
55 AWS_MEDIACONVERT_API VideoCodecSettings() = default;
56 AWS_MEDIACONVERT_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue);
58 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
59
60
62
66 inline const Av1Settings& GetAv1Settings() const { return m_av1Settings; }
67 inline bool Av1SettingsHasBeenSet() const { return m_av1SettingsHasBeenSet; }
68 template<typename Av1SettingsT = Av1Settings>
69 void SetAv1Settings(Av1SettingsT&& value) { m_av1SettingsHasBeenSet = true; m_av1Settings = std::forward<Av1SettingsT>(value); }
70 template<typename Av1SettingsT = Av1Settings>
71 VideoCodecSettings& WithAv1Settings(Av1SettingsT&& value) { SetAv1Settings(std::forward<Av1SettingsT>(value)); return *this;}
73
75
82 inline const AvcIntraSettings& GetAvcIntraSettings() const { return m_avcIntraSettings; }
83 inline bool AvcIntraSettingsHasBeenSet() const { return m_avcIntraSettingsHasBeenSet; }
84 template<typename AvcIntraSettingsT = AvcIntraSettings>
85 void SetAvcIntraSettings(AvcIntraSettingsT&& value) { m_avcIntraSettingsHasBeenSet = true; m_avcIntraSettings = std::forward<AvcIntraSettingsT>(value); }
86 template<typename AvcIntraSettingsT = AvcIntraSettings>
87 VideoCodecSettings& WithAvcIntraSettings(AvcIntraSettingsT&& value) { SetAvcIntraSettings(std::forward<AvcIntraSettingsT>(value)); return *this;}
89
91
98 inline VideoCodec GetCodec() const { return m_codec; }
99 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
100 inline void SetCodec(VideoCodec value) { m_codecHasBeenSet = true; m_codec = value; }
101 inline VideoCodecSettings& WithCodec(VideoCodec value) { SetCodec(value); return *this;}
103
105
108 inline const FrameCaptureSettings& GetFrameCaptureSettings() const { return m_frameCaptureSettings; }
109 inline bool FrameCaptureSettingsHasBeenSet() const { return m_frameCaptureSettingsHasBeenSet; }
110 template<typename FrameCaptureSettingsT = FrameCaptureSettings>
111 void SetFrameCaptureSettings(FrameCaptureSettingsT&& value) { m_frameCaptureSettingsHasBeenSet = true; m_frameCaptureSettings = std::forward<FrameCaptureSettingsT>(value); }
112 template<typename FrameCaptureSettingsT = FrameCaptureSettings>
113 VideoCodecSettings& WithFrameCaptureSettings(FrameCaptureSettingsT&& value) { SetFrameCaptureSettings(std::forward<FrameCaptureSettingsT>(value)); return *this;}
115
117
121 inline const GifSettings& GetGifSettings() const { return m_gifSettings; }
122 inline bool GifSettingsHasBeenSet() const { return m_gifSettingsHasBeenSet; }
123 template<typename GifSettingsT = GifSettings>
124 void SetGifSettings(GifSettingsT&& value) { m_gifSettingsHasBeenSet = true; m_gifSettings = std::forward<GifSettingsT>(value); }
125 template<typename GifSettingsT = GifSettings>
126 VideoCodecSettings& WithGifSettings(GifSettingsT&& value) { SetGifSettings(std::forward<GifSettingsT>(value)); return *this;}
128
130
133 inline const H264Settings& GetH264Settings() const { return m_h264Settings; }
134 inline bool H264SettingsHasBeenSet() const { return m_h264SettingsHasBeenSet; }
135 template<typename H264SettingsT = H264Settings>
136 void SetH264Settings(H264SettingsT&& value) { m_h264SettingsHasBeenSet = true; m_h264Settings = std::forward<H264SettingsT>(value); }
137 template<typename H264SettingsT = H264Settings>
138 VideoCodecSettings& WithH264Settings(H264SettingsT&& value) { SetH264Settings(std::forward<H264SettingsT>(value)); return *this;}
140
142
145 inline const H265Settings& GetH265Settings() const { return m_h265Settings; }
146 inline bool H265SettingsHasBeenSet() const { return m_h265SettingsHasBeenSet; }
147 template<typename H265SettingsT = H265Settings>
148 void SetH265Settings(H265SettingsT&& value) { m_h265SettingsHasBeenSet = true; m_h265Settings = std::forward<H265SettingsT>(value); }
149 template<typename H265SettingsT = H265Settings>
150 VideoCodecSettings& WithH265Settings(H265SettingsT&& value) { SetH265Settings(std::forward<H265SettingsT>(value)); return *this;}
152
154
157 inline const Mpeg2Settings& GetMpeg2Settings() const { return m_mpeg2Settings; }
158 inline bool Mpeg2SettingsHasBeenSet() const { return m_mpeg2SettingsHasBeenSet; }
159 template<typename Mpeg2SettingsT = Mpeg2Settings>
160 void SetMpeg2Settings(Mpeg2SettingsT&& value) { m_mpeg2SettingsHasBeenSet = true; m_mpeg2Settings = std::forward<Mpeg2SettingsT>(value); }
161 template<typename Mpeg2SettingsT = Mpeg2Settings>
162 VideoCodecSettings& WithMpeg2Settings(Mpeg2SettingsT&& value) { SetMpeg2Settings(std::forward<Mpeg2SettingsT>(value)); return *this;}
164
166
169 inline const ProresSettings& GetProresSettings() const { return m_proresSettings; }
170 inline bool ProresSettingsHasBeenSet() const { return m_proresSettingsHasBeenSet; }
171 template<typename ProresSettingsT = ProresSettings>
172 void SetProresSettings(ProresSettingsT&& value) { m_proresSettingsHasBeenSet = true; m_proresSettings = std::forward<ProresSettingsT>(value); }
173 template<typename ProresSettingsT = ProresSettings>
174 VideoCodecSettings& WithProresSettings(ProresSettingsT&& value) { SetProresSettings(std::forward<ProresSettingsT>(value)); return *this;}
176
178
182 inline const UncompressedSettings& GetUncompressedSettings() const { return m_uncompressedSettings; }
183 inline bool UncompressedSettingsHasBeenSet() const { return m_uncompressedSettingsHasBeenSet; }
184 template<typename UncompressedSettingsT = UncompressedSettings>
185 void SetUncompressedSettings(UncompressedSettingsT&& value) { m_uncompressedSettingsHasBeenSet = true; m_uncompressedSettings = std::forward<UncompressedSettingsT>(value); }
186 template<typename UncompressedSettingsT = UncompressedSettings>
187 VideoCodecSettings& WithUncompressedSettings(UncompressedSettingsT&& value) { SetUncompressedSettings(std::forward<UncompressedSettingsT>(value)); return *this;}
189
191
194 inline const Vc3Settings& GetVc3Settings() const { return m_vc3Settings; }
195 inline bool Vc3SettingsHasBeenSet() const { return m_vc3SettingsHasBeenSet; }
196 template<typename Vc3SettingsT = Vc3Settings>
197 void SetVc3Settings(Vc3SettingsT&& value) { m_vc3SettingsHasBeenSet = true; m_vc3Settings = std::forward<Vc3SettingsT>(value); }
198 template<typename Vc3SettingsT = Vc3Settings>
199 VideoCodecSettings& WithVc3Settings(Vc3SettingsT&& value) { SetVc3Settings(std::forward<Vc3SettingsT>(value)); return *this;}
201
203
206 inline const Vp8Settings& GetVp8Settings() const { return m_vp8Settings; }
207 inline bool Vp8SettingsHasBeenSet() const { return m_vp8SettingsHasBeenSet; }
208 template<typename Vp8SettingsT = Vp8Settings>
209 void SetVp8Settings(Vp8SettingsT&& value) { m_vp8SettingsHasBeenSet = true; m_vp8Settings = std::forward<Vp8SettingsT>(value); }
210 template<typename Vp8SettingsT = Vp8Settings>
211 VideoCodecSettings& WithVp8Settings(Vp8SettingsT&& value) { SetVp8Settings(std::forward<Vp8SettingsT>(value)); return *this;}
213
215
218 inline const Vp9Settings& GetVp9Settings() const { return m_vp9Settings; }
219 inline bool Vp9SettingsHasBeenSet() const { return m_vp9SettingsHasBeenSet; }
220 template<typename Vp9SettingsT = Vp9Settings>
221 void SetVp9Settings(Vp9SettingsT&& value) { m_vp9SettingsHasBeenSet = true; m_vp9Settings = std::forward<Vp9SettingsT>(value); }
222 template<typename Vp9SettingsT = Vp9Settings>
223 VideoCodecSettings& WithVp9Settings(Vp9SettingsT&& value) { SetVp9Settings(std::forward<Vp9SettingsT>(value)); return *this;}
225
227
230 inline const XavcSettings& GetXavcSettings() const { return m_xavcSettings; }
231 inline bool XavcSettingsHasBeenSet() const { return m_xavcSettingsHasBeenSet; }
232 template<typename XavcSettingsT = XavcSettings>
233 void SetXavcSettings(XavcSettingsT&& value) { m_xavcSettingsHasBeenSet = true; m_xavcSettings = std::forward<XavcSettingsT>(value); }
234 template<typename XavcSettingsT = XavcSettings>
235 VideoCodecSettings& WithXavcSettings(XavcSettingsT&& value) { SetXavcSettings(std::forward<XavcSettingsT>(value)); return *this;}
237 private:
238
239 Av1Settings m_av1Settings;
240 bool m_av1SettingsHasBeenSet = false;
241
242 AvcIntraSettings m_avcIntraSettings;
243 bool m_avcIntraSettingsHasBeenSet = false;
244
246 bool m_codecHasBeenSet = false;
247
248 FrameCaptureSettings m_frameCaptureSettings;
249 bool m_frameCaptureSettingsHasBeenSet = false;
250
251 GifSettings m_gifSettings;
252 bool m_gifSettingsHasBeenSet = false;
253
254 H264Settings m_h264Settings;
255 bool m_h264SettingsHasBeenSet = false;
256
257 H265Settings m_h265Settings;
258 bool m_h265SettingsHasBeenSet = false;
259
260 Mpeg2Settings m_mpeg2Settings;
261 bool m_mpeg2SettingsHasBeenSet = false;
262
263 ProresSettings m_proresSettings;
264 bool m_proresSettingsHasBeenSet = false;
265
266 UncompressedSettings m_uncompressedSettings;
267 bool m_uncompressedSettingsHasBeenSet = false;
268
269 Vc3Settings m_vc3Settings;
270 bool m_vc3SettingsHasBeenSet = false;
271
272 Vp8Settings m_vp8Settings;
273 bool m_vp8SettingsHasBeenSet = false;
274
275 Vp9Settings m_vp9Settings;
276 bool m_vp9SettingsHasBeenSet = false;
277
278 XavcSettings m_xavcSettings;
279 bool m_xavcSettingsHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace MediaConvert
284} // 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)
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)
Aws::Utils::Json::JsonValue JsonValue