AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncoderSettings.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/AvailBlanking.h>
10#include <aws/medialive/model/AvailConfiguration.h>
11#include <aws/medialive/model/BlackoutSlate.h>
12#include <aws/medialive/model/FeatureActivations.h>
13#include <aws/medialive/model/GlobalConfiguration.h>
14#include <aws/medialive/model/MotionGraphicsConfiguration.h>
15#include <aws/medialive/model/NielsenConfiguration.h>
16#include <aws/medialive/model/TimecodeConfig.h>
17#include <aws/medialive/model/ThumbnailConfiguration.h>
18#include <aws/medialive/model/ColorCorrectionSettings.h>
19#include <aws/medialive/model/AudioDescription.h>
20#include <aws/medialive/model/CaptionDescription.h>
21#include <aws/medialive/model/OutputGroup.h>
22#include <aws/medialive/model/VideoDescription.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace MediaLive
36{
37namespace Model
38{
39
46 {
47 public:
48 AWS_MEDIALIVE_API EncoderSettings();
49 AWS_MEDIALIVE_API EncoderSettings(Aws::Utils::Json::JsonView jsonValue);
51 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
56 inline const Aws::Vector<AudioDescription>& GetAudioDescriptions() const{ return m_audioDescriptions; }
57 inline bool AudioDescriptionsHasBeenSet() const { return m_audioDescriptionsHasBeenSet; }
58 inline void SetAudioDescriptions(const Aws::Vector<AudioDescription>& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = value; }
59 inline void SetAudioDescriptions(Aws::Vector<AudioDescription>&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = std::move(value); }
62 inline EncoderSettings& AddAudioDescriptions(const AudioDescription& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(value); return *this; }
63 inline EncoderSettings& AddAudioDescriptions(AudioDescription&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(std::move(value)); return *this; }
65
67
70 inline const AvailBlanking& GetAvailBlanking() const{ return m_availBlanking; }
71 inline bool AvailBlankingHasBeenSet() const { return m_availBlankingHasBeenSet; }
72 inline void SetAvailBlanking(const AvailBlanking& value) { m_availBlankingHasBeenSet = true; m_availBlanking = value; }
73 inline void SetAvailBlanking(AvailBlanking&& value) { m_availBlankingHasBeenSet = true; m_availBlanking = std::move(value); }
74 inline EncoderSettings& WithAvailBlanking(const AvailBlanking& value) { SetAvailBlanking(value); return *this;}
75 inline EncoderSettings& WithAvailBlanking(AvailBlanking&& value) { SetAvailBlanking(std::move(value)); return *this;}
77
79
82 inline const AvailConfiguration& GetAvailConfiguration() const{ return m_availConfiguration; }
83 inline bool AvailConfigurationHasBeenSet() const { return m_availConfigurationHasBeenSet; }
84 inline void SetAvailConfiguration(const AvailConfiguration& value) { m_availConfigurationHasBeenSet = true; m_availConfiguration = value; }
85 inline void SetAvailConfiguration(AvailConfiguration&& value) { m_availConfigurationHasBeenSet = true; m_availConfiguration = std::move(value); }
87 inline EncoderSettings& WithAvailConfiguration(AvailConfiguration&& value) { SetAvailConfiguration(std::move(value)); return *this;}
89
91
94 inline const BlackoutSlate& GetBlackoutSlate() const{ return m_blackoutSlate; }
95 inline bool BlackoutSlateHasBeenSet() const { return m_blackoutSlateHasBeenSet; }
96 inline void SetBlackoutSlate(const BlackoutSlate& value) { m_blackoutSlateHasBeenSet = true; m_blackoutSlate = value; }
97 inline void SetBlackoutSlate(BlackoutSlate&& value) { m_blackoutSlateHasBeenSet = true; m_blackoutSlate = std::move(value); }
98 inline EncoderSettings& WithBlackoutSlate(const BlackoutSlate& value) { SetBlackoutSlate(value); return *this;}
99 inline EncoderSettings& WithBlackoutSlate(BlackoutSlate&& value) { SetBlackoutSlate(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<CaptionDescription>& GetCaptionDescriptions() const{ return m_captionDescriptions; }
107 inline bool CaptionDescriptionsHasBeenSet() const { return m_captionDescriptionsHasBeenSet; }
108 inline void SetCaptionDescriptions(const Aws::Vector<CaptionDescription>& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = value; }
109 inline void SetCaptionDescriptions(Aws::Vector<CaptionDescription>&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = std::move(value); }
112 inline EncoderSettings& AddCaptionDescriptions(const CaptionDescription& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(value); return *this; }
113 inline EncoderSettings& AddCaptionDescriptions(CaptionDescription&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(std::move(value)); return *this; }
115
117
120 inline const FeatureActivations& GetFeatureActivations() const{ return m_featureActivations; }
121 inline bool FeatureActivationsHasBeenSet() const { return m_featureActivationsHasBeenSet; }
122 inline void SetFeatureActivations(const FeatureActivations& value) { m_featureActivationsHasBeenSet = true; m_featureActivations = value; }
123 inline void SetFeatureActivations(FeatureActivations&& value) { m_featureActivationsHasBeenSet = true; m_featureActivations = std::move(value); }
125 inline EncoderSettings& WithFeatureActivations(FeatureActivations&& value) { SetFeatureActivations(std::move(value)); return *this;}
127
129
132 inline const GlobalConfiguration& GetGlobalConfiguration() const{ return m_globalConfiguration; }
133 inline bool GlobalConfigurationHasBeenSet() const { return m_globalConfigurationHasBeenSet; }
134 inline void SetGlobalConfiguration(const GlobalConfiguration& value) { m_globalConfigurationHasBeenSet = true; m_globalConfiguration = value; }
135 inline void SetGlobalConfiguration(GlobalConfiguration&& value) { m_globalConfigurationHasBeenSet = true; m_globalConfiguration = std::move(value); }
137 inline EncoderSettings& WithGlobalConfiguration(GlobalConfiguration&& value) { SetGlobalConfiguration(std::move(value)); return *this;}
139
141
144 inline const MotionGraphicsConfiguration& GetMotionGraphicsConfiguration() const{ return m_motionGraphicsConfiguration; }
145 inline bool MotionGraphicsConfigurationHasBeenSet() const { return m_motionGraphicsConfigurationHasBeenSet; }
146 inline void SetMotionGraphicsConfiguration(const MotionGraphicsConfiguration& value) { m_motionGraphicsConfigurationHasBeenSet = true; m_motionGraphicsConfiguration = value; }
147 inline void SetMotionGraphicsConfiguration(MotionGraphicsConfiguration&& value) { m_motionGraphicsConfigurationHasBeenSet = true; m_motionGraphicsConfiguration = std::move(value); }
151
153
156 inline const NielsenConfiguration& GetNielsenConfiguration() const{ return m_nielsenConfiguration; }
157 inline bool NielsenConfigurationHasBeenSet() const { return m_nielsenConfigurationHasBeenSet; }
158 inline void SetNielsenConfiguration(const NielsenConfiguration& value) { m_nielsenConfigurationHasBeenSet = true; m_nielsenConfiguration = value; }
159 inline void SetNielsenConfiguration(NielsenConfiguration&& value) { m_nielsenConfigurationHasBeenSet = true; m_nielsenConfiguration = std::move(value); }
163
165
166 inline const Aws::Vector<OutputGroup>& GetOutputGroups() const{ return m_outputGroups; }
167 inline bool OutputGroupsHasBeenSet() const { return m_outputGroupsHasBeenSet; }
168 inline void SetOutputGroups(const Aws::Vector<OutputGroup>& value) { m_outputGroupsHasBeenSet = true; m_outputGroups = value; }
169 inline void SetOutputGroups(Aws::Vector<OutputGroup>&& value) { m_outputGroupsHasBeenSet = true; m_outputGroups = std::move(value); }
170 inline EncoderSettings& WithOutputGroups(const Aws::Vector<OutputGroup>& value) { SetOutputGroups(value); return *this;}
171 inline EncoderSettings& WithOutputGroups(Aws::Vector<OutputGroup>&& value) { SetOutputGroups(std::move(value)); return *this;}
172 inline EncoderSettings& AddOutputGroups(const OutputGroup& value) { m_outputGroupsHasBeenSet = true; m_outputGroups.push_back(value); return *this; }
173 inline EncoderSettings& AddOutputGroups(OutputGroup&& value) { m_outputGroupsHasBeenSet = true; m_outputGroups.push_back(std::move(value)); return *this; }
175
177
180 inline const TimecodeConfig& GetTimecodeConfig() const{ return m_timecodeConfig; }
181 inline bool TimecodeConfigHasBeenSet() const { return m_timecodeConfigHasBeenSet; }
182 inline void SetTimecodeConfig(const TimecodeConfig& value) { m_timecodeConfigHasBeenSet = true; m_timecodeConfig = value; }
183 inline void SetTimecodeConfig(TimecodeConfig&& value) { m_timecodeConfigHasBeenSet = true; m_timecodeConfig = std::move(value); }
184 inline EncoderSettings& WithTimecodeConfig(const TimecodeConfig& value) { SetTimecodeConfig(value); return *this;}
185 inline EncoderSettings& WithTimecodeConfig(TimecodeConfig&& value) { SetTimecodeConfig(std::move(value)); return *this;}
187
189
190 inline const Aws::Vector<VideoDescription>& GetVideoDescriptions() const{ return m_videoDescriptions; }
191 inline bool VideoDescriptionsHasBeenSet() const { return m_videoDescriptionsHasBeenSet; }
192 inline void SetVideoDescriptions(const Aws::Vector<VideoDescription>& value) { m_videoDescriptionsHasBeenSet = true; m_videoDescriptions = value; }
193 inline void SetVideoDescriptions(Aws::Vector<VideoDescription>&& value) { m_videoDescriptionsHasBeenSet = true; m_videoDescriptions = std::move(value); }
196 inline EncoderSettings& AddVideoDescriptions(const VideoDescription& value) { m_videoDescriptionsHasBeenSet = true; m_videoDescriptions.push_back(value); return *this; }
197 inline EncoderSettings& AddVideoDescriptions(VideoDescription&& value) { m_videoDescriptionsHasBeenSet = true; m_videoDescriptions.push_back(std::move(value)); return *this; }
199
201
204 inline const ThumbnailConfiguration& GetThumbnailConfiguration() const{ return m_thumbnailConfiguration; }
205 inline bool ThumbnailConfigurationHasBeenSet() const { return m_thumbnailConfigurationHasBeenSet; }
206 inline void SetThumbnailConfiguration(const ThumbnailConfiguration& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = value; }
207 inline void SetThumbnailConfiguration(ThumbnailConfiguration&& value) { m_thumbnailConfigurationHasBeenSet = true; m_thumbnailConfiguration = std::move(value); }
211
213
216 inline const ColorCorrectionSettings& GetColorCorrectionSettings() const{ return m_colorCorrectionSettings; }
217 inline bool ColorCorrectionSettingsHasBeenSet() const { return m_colorCorrectionSettingsHasBeenSet; }
218 inline void SetColorCorrectionSettings(const ColorCorrectionSettings& value) { m_colorCorrectionSettingsHasBeenSet = true; m_colorCorrectionSettings = value; }
219 inline void SetColorCorrectionSettings(ColorCorrectionSettings&& value) { m_colorCorrectionSettingsHasBeenSet = true; m_colorCorrectionSettings = std::move(value); }
223 private:
224
225 Aws::Vector<AudioDescription> m_audioDescriptions;
226 bool m_audioDescriptionsHasBeenSet = false;
227
228 AvailBlanking m_availBlanking;
229 bool m_availBlankingHasBeenSet = false;
230
231 AvailConfiguration m_availConfiguration;
232 bool m_availConfigurationHasBeenSet = false;
233
234 BlackoutSlate m_blackoutSlate;
235 bool m_blackoutSlateHasBeenSet = false;
236
237 Aws::Vector<CaptionDescription> m_captionDescriptions;
238 bool m_captionDescriptionsHasBeenSet = false;
239
240 FeatureActivations m_featureActivations;
241 bool m_featureActivationsHasBeenSet = false;
242
243 GlobalConfiguration m_globalConfiguration;
244 bool m_globalConfigurationHasBeenSet = false;
245
246 MotionGraphicsConfiguration m_motionGraphicsConfiguration;
247 bool m_motionGraphicsConfigurationHasBeenSet = false;
248
249 NielsenConfiguration m_nielsenConfiguration;
250 bool m_nielsenConfigurationHasBeenSet = false;
251
252 Aws::Vector<OutputGroup> m_outputGroups;
253 bool m_outputGroupsHasBeenSet = false;
254
255 TimecodeConfig m_timecodeConfig;
256 bool m_timecodeConfigHasBeenSet = false;
257
258 Aws::Vector<VideoDescription> m_videoDescriptions;
259 bool m_videoDescriptionsHasBeenSet = false;
260
261 ThumbnailConfiguration m_thumbnailConfiguration;
262 bool m_thumbnailConfigurationHasBeenSet = false;
263
264 ColorCorrectionSettings m_colorCorrectionSettings;
265 bool m_colorCorrectionSettingsHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace MediaLive
270} // namespace Aws
void SetAudioDescriptions(const Aws::Vector< AudioDescription > &value)
EncoderSettings & WithNielsenConfiguration(const NielsenConfiguration &value)
const Aws::Vector< AudioDescription > & GetAudioDescriptions() const
EncoderSettings & WithAvailBlanking(AvailBlanking &&value)
EncoderSettings & WithOutputGroups(const Aws::Vector< OutputGroup > &value)
void SetGlobalConfiguration(const GlobalConfiguration &value)
EncoderSettings & WithBlackoutSlate(const BlackoutSlate &value)
void SetColorCorrectionSettings(ColorCorrectionSettings &&value)
EncoderSettings & WithNielsenConfiguration(NielsenConfiguration &&value)
void SetCaptionDescriptions(const Aws::Vector< CaptionDescription > &value)
void SetFeatureActivations(FeatureActivations &&value)
const FeatureActivations & GetFeatureActivations() const
void SetVideoDescriptions(Aws::Vector< VideoDescription > &&value)
EncoderSettings & AddOutputGroups(OutputGroup &&value)
EncoderSettings & WithMotionGraphicsConfiguration(const MotionGraphicsConfiguration &value)
void SetFeatureActivations(const FeatureActivations &value)
EncoderSettings & WithAvailConfiguration(AvailConfiguration &&value)
void SetMotionGraphicsConfiguration(MotionGraphicsConfiguration &&value)
void SetCaptionDescriptions(Aws::Vector< CaptionDescription > &&value)
const Aws::Vector< VideoDescription > & GetVideoDescriptions() const
void SetNielsenConfiguration(NielsenConfiguration &&value)
EncoderSettings & WithVideoDescriptions(const Aws::Vector< VideoDescription > &value)
EncoderSettings & AddOutputGroups(const OutputGroup &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API EncoderSettings(Aws::Utils::Json::JsonView jsonValue)
EncoderSettings & WithTimecodeConfig(TimecodeConfig &&value)
EncoderSettings & WithAvailConfiguration(const AvailConfiguration &value)
EncoderSettings & WithAvailBlanking(const AvailBlanking &value)
void SetAudioDescriptions(Aws::Vector< AudioDescription > &&value)
void SetOutputGroups(Aws::Vector< OutputGroup > &&value)
void SetNielsenConfiguration(const NielsenConfiguration &value)
EncoderSettings & WithGlobalConfiguration(const GlobalConfiguration &value)
void SetOutputGroups(const Aws::Vector< OutputGroup > &value)
EncoderSettings & WithGlobalConfiguration(GlobalConfiguration &&value)
const NielsenConfiguration & GetNielsenConfiguration() const
EncoderSettings & WithBlackoutSlate(BlackoutSlate &&value)
AWS_MEDIALIVE_API EncoderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
EncoderSettings & WithCaptionDescriptions(Aws::Vector< CaptionDescription > &&value)
const AvailConfiguration & GetAvailConfiguration() const
const TimecodeConfig & GetTimecodeConfig() const
const BlackoutSlate & GetBlackoutSlate() const
EncoderSettings & WithMotionGraphicsConfiguration(MotionGraphicsConfiguration &&value)
void SetColorCorrectionSettings(const ColorCorrectionSettings &value)
void SetAvailBlanking(const AvailBlanking &value)
const Aws::Vector< OutputGroup > & GetOutputGroups() const
EncoderSettings & WithColorCorrectionSettings(const ColorCorrectionSettings &value)
void SetGlobalConfiguration(GlobalConfiguration &&value)
void SetBlackoutSlate(BlackoutSlate &&value)
const ColorCorrectionSettings & GetColorCorrectionSettings() const
void SetTimecodeConfig(const TimecodeConfig &value)
EncoderSettings & WithOutputGroups(Aws::Vector< OutputGroup > &&value)
const AvailBlanking & GetAvailBlanking() const
EncoderSettings & WithAudioDescriptions(const Aws::Vector< AudioDescription > &value)
EncoderSettings & WithTimecodeConfig(const TimecodeConfig &value)
EncoderSettings & WithVideoDescriptions(Aws::Vector< VideoDescription > &&value)
EncoderSettings & WithFeatureActivations(FeatureActivations &&value)
const Aws::Vector< CaptionDescription > & GetCaptionDescriptions() const
EncoderSettings & AddCaptionDescriptions(const CaptionDescription &value)
void SetTimecodeConfig(TimecodeConfig &&value)
void SetThumbnailConfiguration(ThumbnailConfiguration &&value)
void SetAvailBlanking(AvailBlanking &&value)
void SetBlackoutSlate(const BlackoutSlate &value)
EncoderSettings & WithCaptionDescriptions(const Aws::Vector< CaptionDescription > &value)
void SetAvailConfiguration(const AvailConfiguration &value)
void SetMotionGraphicsConfiguration(const MotionGraphicsConfiguration &value)
EncoderSettings & AddCaptionDescriptions(CaptionDescription &&value)
EncoderSettings & WithThumbnailConfiguration(const ThumbnailConfiguration &value)
const ThumbnailConfiguration & GetThumbnailConfiguration() const
EncoderSettings & AddAudioDescriptions(const AudioDescription &value)
EncoderSettings & WithFeatureActivations(const FeatureActivations &value)
const GlobalConfiguration & GetGlobalConfiguration() const
EncoderSettings & WithColorCorrectionSettings(ColorCorrectionSettings &&value)
const MotionGraphicsConfiguration & GetMotionGraphicsConfiguration() const
EncoderSettings & AddVideoDescriptions(const VideoDescription &value)
void SetThumbnailConfiguration(const ThumbnailConfiguration &value)
void SetVideoDescriptions(const Aws::Vector< VideoDescription > &value)
void SetAvailConfiguration(AvailConfiguration &&value)
EncoderSettings & AddVideoDescriptions(VideoDescription &&value)
EncoderSettings & WithAudioDescriptions(Aws::Vector< AudioDescription > &&value)
EncoderSettings & WithThumbnailConfiguration(ThumbnailConfiguration &&value)
EncoderSettings & AddAudioDescriptions(AudioDescription &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue