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/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/FrameCaptureSettings.h>
9#include <aws/medialive/model/H264Settings.h>
10#include <aws/medialive/model/H265Settings.h>
11#include <aws/medialive/model/Mpeg2Settings.h>
12#include <aws/medialive/model/Av1Settings.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIALIVE_API VideoCodecSettings();
39 AWS_MEDIALIVE_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const FrameCaptureSettings& GetFrameCaptureSettings() const{ return m_frameCaptureSettings; }
47 inline bool FrameCaptureSettingsHasBeenSet() const { return m_frameCaptureSettingsHasBeenSet; }
48 inline void SetFrameCaptureSettings(const FrameCaptureSettings& value) { m_frameCaptureSettingsHasBeenSet = true; m_frameCaptureSettings = value; }
49 inline void SetFrameCaptureSettings(FrameCaptureSettings&& value) { m_frameCaptureSettingsHasBeenSet = true; m_frameCaptureSettings = std::move(value); }
53
55
56 inline const H264Settings& GetH264Settings() const{ return m_h264Settings; }
57 inline bool H264SettingsHasBeenSet() const { return m_h264SettingsHasBeenSet; }
58 inline void SetH264Settings(const H264Settings& value) { m_h264SettingsHasBeenSet = true; m_h264Settings = value; }
59 inline void SetH264Settings(H264Settings&& value) { m_h264SettingsHasBeenSet = true; m_h264Settings = std::move(value); }
60 inline VideoCodecSettings& WithH264Settings(const H264Settings& value) { SetH264Settings(value); return *this;}
61 inline VideoCodecSettings& WithH264Settings(H264Settings&& value) { SetH264Settings(std::move(value)); return *this;}
63
65
66 inline const H265Settings& GetH265Settings() const{ return m_h265Settings; }
67 inline bool H265SettingsHasBeenSet() const { return m_h265SettingsHasBeenSet; }
68 inline void SetH265Settings(const H265Settings& value) { m_h265SettingsHasBeenSet = true; m_h265Settings = value; }
69 inline void SetH265Settings(H265Settings&& value) { m_h265SettingsHasBeenSet = true; m_h265Settings = std::move(value); }
70 inline VideoCodecSettings& WithH265Settings(const H265Settings& value) { SetH265Settings(value); return *this;}
71 inline VideoCodecSettings& WithH265Settings(H265Settings&& value) { SetH265Settings(std::move(value)); return *this;}
73
75
76 inline const Mpeg2Settings& GetMpeg2Settings() const{ return m_mpeg2Settings; }
77 inline bool Mpeg2SettingsHasBeenSet() const { return m_mpeg2SettingsHasBeenSet; }
78 inline void SetMpeg2Settings(const Mpeg2Settings& value) { m_mpeg2SettingsHasBeenSet = true; m_mpeg2Settings = value; }
79 inline void SetMpeg2Settings(Mpeg2Settings&& value) { m_mpeg2SettingsHasBeenSet = true; m_mpeg2Settings = std::move(value); }
80 inline VideoCodecSettings& WithMpeg2Settings(const Mpeg2Settings& value) { SetMpeg2Settings(value); return *this;}
81 inline VideoCodecSettings& WithMpeg2Settings(Mpeg2Settings&& value) { SetMpeg2Settings(std::move(value)); return *this;}
83
85
86 inline const Av1Settings& GetAv1Settings() const{ return m_av1Settings; }
87 inline bool Av1SettingsHasBeenSet() const { return m_av1SettingsHasBeenSet; }
88 inline void SetAv1Settings(const Av1Settings& value) { m_av1SettingsHasBeenSet = true; m_av1Settings = value; }
89 inline void SetAv1Settings(Av1Settings&& value) { m_av1SettingsHasBeenSet = true; m_av1Settings = std::move(value); }
90 inline VideoCodecSettings& WithAv1Settings(const Av1Settings& value) { SetAv1Settings(value); return *this;}
91 inline VideoCodecSettings& WithAv1Settings(Av1Settings&& value) { SetAv1Settings(std::move(value)); return *this;}
93 private:
94
95 FrameCaptureSettings m_frameCaptureSettings;
96 bool m_frameCaptureSettingsHasBeenSet = false;
97
98 H264Settings m_h264Settings;
99 bool m_h264SettingsHasBeenSet = false;
100
101 H265Settings m_h265Settings;
102 bool m_h265SettingsHasBeenSet = false;
103
104 Mpeg2Settings m_mpeg2Settings;
105 bool m_mpeg2SettingsHasBeenSet = false;
106
107 Av1Settings m_av1Settings;
108 bool m_av1SettingsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MediaLive
113} // namespace Aws
VideoCodecSettings & WithH264Settings(H264Settings &&value)
VideoCodecSettings & WithH265Settings(H265Settings &&value)
VideoCodecSettings & WithH264Settings(const H264Settings &value)
void SetH264Settings(const H264Settings &value)
VideoCodecSettings & WithFrameCaptureSettings(const FrameCaptureSettings &value)
AWS_MEDIALIVE_API VideoCodecSettings(Aws::Utils::Json::JsonView jsonValue)
VideoCodecSettings & WithH265Settings(const H265Settings &value)
const H265Settings & GetH265Settings() const
VideoCodecSettings & WithAv1Settings(Av1Settings &&value)
const H264Settings & GetH264Settings() const
void SetAv1Settings(const Av1Settings &value)
void SetH265Settings(const H265Settings &value)
void SetMpeg2Settings(Mpeg2Settings &&value)
VideoCodecSettings & WithMpeg2Settings(Mpeg2Settings &&value)
VideoCodecSettings & WithFrameCaptureSettings(FrameCaptureSettings &&value)
void SetMpeg2Settings(const Mpeg2Settings &value)
AWS_MEDIALIVE_API VideoCodecSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFrameCaptureSettings(FrameCaptureSettings &&value)
const Mpeg2Settings & GetMpeg2Settings() const
VideoCodecSettings & WithAv1Settings(const Av1Settings &value)
VideoCodecSettings & WithMpeg2Settings(const Mpeg2Settings &value)
const FrameCaptureSettings & GetFrameCaptureSettings() const
void SetFrameCaptureSettings(const FrameCaptureSettings &value)
Aws::Utils::Json::JsonValue JsonValue