AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/InputDeblockFilter.h>
10#include <aws/medialive/model/InputDenoiseFilter.h>
11#include <aws/medialive/model/InputFilter.h>
12#include <aws/medialive/model/NetworkInputSettings.h>
13#include <aws/medialive/model/Smpte2038DataPreference.h>
14#include <aws/medialive/model/InputSourceEndBehavior.h>
15#include <aws/medialive/model/VideoSelector.h>
16#include <aws/medialive/model/AudioSelector.h>
17#include <aws/medialive/model/CaptionSelector.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 MediaLive
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_MEDIALIVE_API InputSettings();
45 AWS_MEDIALIVE_API InputSettings(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIALIVE_API InputSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::Vector<AudioSelector>& GetAudioSelectors() const{ return m_audioSelectors; }
56 inline bool AudioSelectorsHasBeenSet() const { return m_audioSelectorsHasBeenSet; }
57 inline void SetAudioSelectors(const Aws::Vector<AudioSelector>& value) { m_audioSelectorsHasBeenSet = true; m_audioSelectors = value; }
58 inline void SetAudioSelectors(Aws::Vector<AudioSelector>&& value) { m_audioSelectorsHasBeenSet = true; m_audioSelectors = std::move(value); }
60 inline InputSettings& WithAudioSelectors(Aws::Vector<AudioSelector>&& value) { SetAudioSelectors(std::move(value)); return *this;}
61 inline InputSettings& AddAudioSelectors(const AudioSelector& value) { m_audioSelectorsHasBeenSet = true; m_audioSelectors.push_back(value); return *this; }
62 inline InputSettings& AddAudioSelectors(AudioSelector&& value) { m_audioSelectorsHasBeenSet = true; m_audioSelectors.push_back(std::move(value)); return *this; }
64
66
69 inline const Aws::Vector<CaptionSelector>& GetCaptionSelectors() const{ return m_captionSelectors; }
70 inline bool CaptionSelectorsHasBeenSet() const { return m_captionSelectorsHasBeenSet; }
71 inline void SetCaptionSelectors(const Aws::Vector<CaptionSelector>& value) { m_captionSelectorsHasBeenSet = true; m_captionSelectors = value; }
72 inline void SetCaptionSelectors(Aws::Vector<CaptionSelector>&& value) { m_captionSelectorsHasBeenSet = true; m_captionSelectors = std::move(value); }
74 inline InputSettings& WithCaptionSelectors(Aws::Vector<CaptionSelector>&& value) { SetCaptionSelectors(std::move(value)); return *this;}
75 inline InputSettings& AddCaptionSelectors(const CaptionSelector& value) { m_captionSelectorsHasBeenSet = true; m_captionSelectors.push_back(value); return *this; }
76 inline InputSettings& AddCaptionSelectors(CaptionSelector&& value) { m_captionSelectorsHasBeenSet = true; m_captionSelectors.push_back(std::move(value)); return *this; }
78
80
83 inline const InputDeblockFilter& GetDeblockFilter() const{ return m_deblockFilter; }
84 inline bool DeblockFilterHasBeenSet() const { return m_deblockFilterHasBeenSet; }
85 inline void SetDeblockFilter(const InputDeblockFilter& value) { m_deblockFilterHasBeenSet = true; m_deblockFilter = value; }
86 inline void SetDeblockFilter(InputDeblockFilter&& value) { m_deblockFilterHasBeenSet = true; m_deblockFilter = std::move(value); }
87 inline InputSettings& WithDeblockFilter(const InputDeblockFilter& value) { SetDeblockFilter(value); return *this;}
88 inline InputSettings& WithDeblockFilter(InputDeblockFilter&& value) { SetDeblockFilter(std::move(value)); return *this;}
90
92
95 inline const InputDenoiseFilter& GetDenoiseFilter() const{ return m_denoiseFilter; }
96 inline bool DenoiseFilterHasBeenSet() const { return m_denoiseFilterHasBeenSet; }
97 inline void SetDenoiseFilter(const InputDenoiseFilter& value) { m_denoiseFilterHasBeenSet = true; m_denoiseFilter = value; }
98 inline void SetDenoiseFilter(InputDenoiseFilter&& value) { m_denoiseFilterHasBeenSet = true; m_denoiseFilter = std::move(value); }
99 inline InputSettings& WithDenoiseFilter(const InputDenoiseFilter& value) { SetDenoiseFilter(value); return *this;}
100 inline InputSettings& WithDenoiseFilter(InputDenoiseFilter&& value) { SetDenoiseFilter(std::move(value)); return *this;}
102
104
107 inline int GetFilterStrength() const{ return m_filterStrength; }
108 inline bool FilterStrengthHasBeenSet() const { return m_filterStrengthHasBeenSet; }
109 inline void SetFilterStrength(int value) { m_filterStrengthHasBeenSet = true; m_filterStrength = value; }
110 inline InputSettings& WithFilterStrength(int value) { SetFilterStrength(value); return *this;}
112
114
123 inline const InputFilter& GetInputFilter() const{ return m_inputFilter; }
124 inline bool InputFilterHasBeenSet() const { return m_inputFilterHasBeenSet; }
125 inline void SetInputFilter(const InputFilter& value) { m_inputFilterHasBeenSet = true; m_inputFilter = value; }
126 inline void SetInputFilter(InputFilter&& value) { m_inputFilterHasBeenSet = true; m_inputFilter = std::move(value); }
127 inline InputSettings& WithInputFilter(const InputFilter& value) { SetInputFilter(value); return *this;}
128 inline InputSettings& WithInputFilter(InputFilter&& value) { SetInputFilter(std::move(value)); return *this;}
130
132
135 inline const NetworkInputSettings& GetNetworkInputSettings() const{ return m_networkInputSettings; }
136 inline bool NetworkInputSettingsHasBeenSet() const { return m_networkInputSettingsHasBeenSet; }
137 inline void SetNetworkInputSettings(const NetworkInputSettings& value) { m_networkInputSettingsHasBeenSet = true; m_networkInputSettings = value; }
138 inline void SetNetworkInputSettings(NetworkInputSettings&& value) { m_networkInputSettingsHasBeenSet = true; m_networkInputSettings = std::move(value); }
140 inline InputSettings& WithNetworkInputSettings(NetworkInputSettings&& value) { SetNetworkInputSettings(std::move(value)); return *this;}
142
144
148 inline int GetScte35Pid() const{ return m_scte35Pid; }
149 inline bool Scte35PidHasBeenSet() const { return m_scte35PidHasBeenSet; }
150 inline void SetScte35Pid(int value) { m_scte35PidHasBeenSet = true; m_scte35Pid = value; }
151 inline InputSettings& WithScte35Pid(int value) { SetScte35Pid(value); return *this;}
153
155
164 inline const Smpte2038DataPreference& GetSmpte2038DataPreference() const{ return m_smpte2038DataPreference; }
165 inline bool Smpte2038DataPreferenceHasBeenSet() const { return m_smpte2038DataPreferenceHasBeenSet; }
166 inline void SetSmpte2038DataPreference(const Smpte2038DataPreference& value) { m_smpte2038DataPreferenceHasBeenSet = true; m_smpte2038DataPreference = value; }
167 inline void SetSmpte2038DataPreference(Smpte2038DataPreference&& value) { m_smpte2038DataPreferenceHasBeenSet = true; m_smpte2038DataPreference = std::move(value); }
171
173
177 inline const InputSourceEndBehavior& GetSourceEndBehavior() const{ return m_sourceEndBehavior; }
178 inline bool SourceEndBehaviorHasBeenSet() const { return m_sourceEndBehaviorHasBeenSet; }
179 inline void SetSourceEndBehavior(const InputSourceEndBehavior& value) { m_sourceEndBehaviorHasBeenSet = true; m_sourceEndBehavior = value; }
180 inline void SetSourceEndBehavior(InputSourceEndBehavior&& value) { m_sourceEndBehaviorHasBeenSet = true; m_sourceEndBehavior = std::move(value); }
182 inline InputSettings& WithSourceEndBehavior(InputSourceEndBehavior&& value) { SetSourceEndBehavior(std::move(value)); return *this;}
184
186
190 inline const VideoSelector& GetVideoSelector() const{ return m_videoSelector; }
191 inline bool VideoSelectorHasBeenSet() const { return m_videoSelectorHasBeenSet; }
192 inline void SetVideoSelector(const VideoSelector& value) { m_videoSelectorHasBeenSet = true; m_videoSelector = value; }
193 inline void SetVideoSelector(VideoSelector&& value) { m_videoSelectorHasBeenSet = true; m_videoSelector = std::move(value); }
194 inline InputSettings& WithVideoSelector(const VideoSelector& value) { SetVideoSelector(value); return *this;}
195 inline InputSettings& WithVideoSelector(VideoSelector&& value) { SetVideoSelector(std::move(value)); return *this;}
197 private:
198
199 Aws::Vector<AudioSelector> m_audioSelectors;
200 bool m_audioSelectorsHasBeenSet = false;
201
202 Aws::Vector<CaptionSelector> m_captionSelectors;
203 bool m_captionSelectorsHasBeenSet = false;
204
205 InputDeblockFilter m_deblockFilter;
206 bool m_deblockFilterHasBeenSet = false;
207
208 InputDenoiseFilter m_denoiseFilter;
209 bool m_denoiseFilterHasBeenSet = false;
210
211 int m_filterStrength;
212 bool m_filterStrengthHasBeenSet = false;
213
214 InputFilter m_inputFilter;
215 bool m_inputFilterHasBeenSet = false;
216
217 NetworkInputSettings m_networkInputSettings;
218 bool m_networkInputSettingsHasBeenSet = false;
219
220 int m_scte35Pid;
221 bool m_scte35PidHasBeenSet = false;
222
223 Smpte2038DataPreference m_smpte2038DataPreference;
224 bool m_smpte2038DataPreferenceHasBeenSet = false;
225
226 InputSourceEndBehavior m_sourceEndBehavior;
227 bool m_sourceEndBehaviorHasBeenSet = false;
228
229 VideoSelector m_videoSelector;
230 bool m_videoSelectorHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace MediaLive
235} // namespace Aws
InputSettings & WithNetworkInputSettings(const NetworkInputSettings &value)
AWS_MEDIALIVE_API InputSettings(Aws::Utils::Json::JsonView jsonValue)
InputSettings & WithSmpte2038DataPreference(Smpte2038DataPreference &&value)
InputSettings & AddCaptionSelectors(const CaptionSelector &value)
const InputSourceEndBehavior & GetSourceEndBehavior() const
void SetNetworkInputSettings(NetworkInputSettings &&value)
InputSettings & WithVideoSelector(const VideoSelector &value)
InputSettings & WithCaptionSelectors(Aws::Vector< CaptionSelector > &&value)
const Aws::Vector< CaptionSelector > & GetCaptionSelectors() const
InputSettings & WithSmpte2038DataPreference(const Smpte2038DataPreference &value)
void SetVideoSelector(VideoSelector &&value)
void SetVideoSelector(const VideoSelector &value)
void SetSourceEndBehavior(InputSourceEndBehavior &&value)
void SetSourceEndBehavior(const InputSourceEndBehavior &value)
const Smpte2038DataPreference & GetSmpte2038DataPreference() const
InputSettings & WithInputFilter(const InputFilter &value)
void SetCaptionSelectors(Aws::Vector< CaptionSelector > &&value)
InputSettings & WithInputFilter(InputFilter &&value)
InputSettings & AddCaptionSelectors(CaptionSelector &&value)
AWS_MEDIALIVE_API InputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const NetworkInputSettings & GetNetworkInputSettings() const
InputSettings & WithDeblockFilter(const InputDeblockFilter &value)
void SetCaptionSelectors(const Aws::Vector< CaptionSelector > &value)
InputSettings & WithAudioSelectors(Aws::Vector< AudioSelector > &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const InputFilter & GetInputFilter() const
void SetAudioSelectors(const Aws::Vector< AudioSelector > &value)
void SetDenoiseFilter(InputDenoiseFilter &&value)
InputSettings & AddAudioSelectors(AudioSelector &&value)
InputSettings & WithDeblockFilter(InputDeblockFilter &&value)
void SetDeblockFilter(const InputDeblockFilter &value)
void SetDeblockFilter(InputDeblockFilter &&value)
InputSettings & WithAudioSelectors(const Aws::Vector< AudioSelector > &value)
void SetNetworkInputSettings(const NetworkInputSettings &value)
const Aws::Vector< AudioSelector > & GetAudioSelectors() const
InputSettings & AddAudioSelectors(const AudioSelector &value)
InputSettings & WithSourceEndBehavior(const InputSourceEndBehavior &value)
InputSettings & WithCaptionSelectors(const Aws::Vector< CaptionSelector > &value)
InputSettings & WithVideoSelector(VideoSelector &&value)
InputSettings & WithNetworkInputSettings(NetworkInputSettings &&value)
const InputDeblockFilter & GetDeblockFilter() const
const VideoSelector & GetVideoSelector() const
void SetSmpte2038DataPreference(Smpte2038DataPreference &&value)
void SetInputFilter(const InputFilter &value)
const InputDenoiseFilter & GetDenoiseFilter() const
void SetSmpte2038DataPreference(const Smpte2038DataPreference &value)
void SetDenoiseFilter(const InputDenoiseFilter &value)
InputSettings & WithFilterStrength(int value)
InputSettings & WithScte35Pid(int value)
void SetInputFilter(InputFilter &&value)
void SetAudioSelectors(Aws::Vector< AudioSelector > &&value)
InputSettings & WithDenoiseFilter(const InputDenoiseFilter &value)
InputSettings & WithDenoiseFilter(InputDenoiseFilter &&value)
InputSettings & WithSourceEndBehavior(InputSourceEndBehavior &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue