AWS SDK for C++  1.9.158
AWS SDK for C++
PresetSettings.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaConvert
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
49  inline const Aws::Vector<AudioDescription>& GetAudioDescriptions() const{ return m_audioDescriptions; }
50 
56  inline bool AudioDescriptionsHasBeenSet() const { return m_audioDescriptionsHasBeenSet; }
57 
63  inline void SetAudioDescriptions(const Aws::Vector<AudioDescription>& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = value; }
64 
70  inline void SetAudioDescriptions(Aws::Vector<AudioDescription>&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = std::move(value); }
71 
77  inline PresetSettings& WithAudioDescriptions(const Aws::Vector<AudioDescription>& value) { SetAudioDescriptions(value); return *this;}
78 
84  inline PresetSettings& WithAudioDescriptions(Aws::Vector<AudioDescription>&& value) { SetAudioDescriptions(std::move(value)); return *this;}
85 
91  inline PresetSettings& AddAudioDescriptions(const AudioDescription& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(value); return *this; }
92 
98  inline PresetSettings& AddAudioDescriptions(AudioDescription&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(std::move(value)); return *this; }
99 
100 
105  inline const Aws::Vector<CaptionDescriptionPreset>& GetCaptionDescriptions() const{ return m_captionDescriptions; }
106 
111  inline bool CaptionDescriptionsHasBeenSet() const { return m_captionDescriptionsHasBeenSet; }
112 
117  inline void SetCaptionDescriptions(const Aws::Vector<CaptionDescriptionPreset>& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = value; }
118 
123  inline void SetCaptionDescriptions(Aws::Vector<CaptionDescriptionPreset>&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = std::move(value); }
124 
129  inline PresetSettings& WithCaptionDescriptions(const Aws::Vector<CaptionDescriptionPreset>& value) { SetCaptionDescriptions(value); return *this;}
130 
135  inline PresetSettings& WithCaptionDescriptions(Aws::Vector<CaptionDescriptionPreset>&& value) { SetCaptionDescriptions(std::move(value)); return *this;}
136 
141  inline PresetSettings& AddCaptionDescriptions(const CaptionDescriptionPreset& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(value); return *this; }
142 
147  inline PresetSettings& AddCaptionDescriptions(CaptionDescriptionPreset&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(std::move(value)); return *this; }
148 
149 
153  inline const ContainerSettings& GetContainerSettings() const{ return m_containerSettings; }
154 
158  inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
159 
163  inline void SetContainerSettings(const ContainerSettings& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = value; }
164 
168  inline void SetContainerSettings(ContainerSettings&& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = std::move(value); }
169 
173  inline PresetSettings& WithContainerSettings(const ContainerSettings& value) { SetContainerSettings(value); return *this;}
174 
178  inline PresetSettings& WithContainerSettings(ContainerSettings&& value) { SetContainerSettings(std::move(value)); return *this;}
179 
180 
186  inline const VideoDescription& GetVideoDescription() const{ return m_videoDescription; }
187 
193  inline bool VideoDescriptionHasBeenSet() const { return m_videoDescriptionHasBeenSet; }
194 
200  inline void SetVideoDescription(const VideoDescription& value) { m_videoDescriptionHasBeenSet = true; m_videoDescription = value; }
201 
207  inline void SetVideoDescription(VideoDescription&& value) { m_videoDescriptionHasBeenSet = true; m_videoDescription = std::move(value); }
208 
214  inline PresetSettings& WithVideoDescription(const VideoDescription& value) { SetVideoDescription(value); return *this;}
215 
221  inline PresetSettings& WithVideoDescription(VideoDescription&& value) { SetVideoDescription(std::move(value)); return *this;}
222 
223  private:
224 
225  Aws::Vector<AudioDescription> m_audioDescriptions;
226  bool m_audioDescriptionsHasBeenSet;
227 
228  Aws::Vector<CaptionDescriptionPreset> m_captionDescriptions;
229  bool m_captionDescriptionsHasBeenSet;
230 
231  ContainerSettings m_containerSettings;
232  bool m_containerSettingsHasBeenSet;
233 
234  VideoDescription m_videoDescription;
235  bool m_videoDescriptionHasBeenSet;
236  };
237 
238 } // namespace Model
239 } // namespace MediaConvert
240 } // namespace Aws
Aws::MediaConvert::Model::PresetSettings::GetContainerSettings
const ContainerSettings & GetContainerSettings() const
Definition: PresetSettings.h:153
Aws::MediaConvert::Model::PresetSettings::AddCaptionDescriptions
PresetSettings & AddCaptionDescriptions(const CaptionDescriptionPreset &value)
Definition: PresetSettings.h:141
Aws::MediaConvert::Model::ContainerSettings
Definition: ContainerSettings.h:40
Aws::MediaConvert::Model::PresetSettings::AudioDescriptionsHasBeenSet
bool AudioDescriptionsHasBeenSet() const
Definition: PresetSettings.h:56
CaptionDescriptionPreset.h
Aws::MediaConvert::Model::PresetSettings::WithContainerSettings
PresetSettings & WithContainerSettings(ContainerSettings &&value)
Definition: PresetSettings.h:178
Aws::MediaConvert::Model::PresetSettings::SetAudioDescriptions
void SetAudioDescriptions(const Aws::Vector< AudioDescription > &value)
Definition: PresetSettings.h:63
Aws::MediaConvert::Model::PresetSettings::WithVideoDescription
PresetSettings & WithVideoDescription(const VideoDescription &value)
Definition: PresetSettings.h:214
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::PresetSettings::SetContainerSettings
void SetContainerSettings(ContainerSettings &&value)
Definition: PresetSettings.h:168
Aws::MediaConvert::Model::CaptionDescriptionPreset
Definition: CaptionDescriptionPreset.h:34
Aws::MediaConvert::Model::PresetSettings::AddAudioDescriptions
PresetSettings & AddAudioDescriptions(const AudioDescription &value)
Definition: PresetSettings.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AudioDescription.h
VideoDescription.h
AWSVector.h
Aws::MediaConvert::Model::PresetSettings::PresetSettings
PresetSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::PresetSettings::VideoDescriptionHasBeenSet
bool VideoDescriptionHasBeenSet() const
Definition: PresetSettings.h:193
Aws::MediaConvert::Model::PresetSettings::ContainerSettingsHasBeenSet
bool ContainerSettingsHasBeenSet() const
Definition: PresetSettings.h:158
Aws::MediaConvert::Model::PresetSettings::operator=
PresetSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::PresetSettings::AddCaptionDescriptions
PresetSettings & AddCaptionDescriptions(CaptionDescriptionPreset &&value)
Definition: PresetSettings.h:147
Aws::MediaConvert::Model::PresetSettings::GetCaptionDescriptions
const Aws::Vector< CaptionDescriptionPreset > & GetCaptionDescriptions() const
Definition: PresetSettings.h:105
Aws::MediaConvert::Model::PresetSettings::SetVideoDescription
void SetVideoDescription(VideoDescription &&value)
Definition: PresetSettings.h:207
Aws::MediaConvert::Model::PresetSettings::WithContainerSettings
PresetSettings & WithContainerSettings(const ContainerSettings &value)
Definition: PresetSettings.h:173
Aws::MediaConvert::Model::PresetSettings::SetVideoDescription
void SetVideoDescription(const VideoDescription &value)
Definition: PresetSettings.h:200
Aws::MediaConvert::Model::PresetSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::PresetSettings::GetAudioDescriptions
const Aws::Vector< AudioDescription > & GetAudioDescriptions() const
Definition: PresetSettings.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::PresetSettings
Definition: PresetSettings.h:36
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
ContainerSettings.h
Aws::MediaConvert::Model::PresetSettings::WithCaptionDescriptions
PresetSettings & WithCaptionDescriptions(Aws::Vector< CaptionDescriptionPreset > &&value)
Definition: PresetSettings.h:135
Aws::MediaConvert::Model::PresetSettings::SetContainerSettings
void SetContainerSettings(const ContainerSettings &value)
Definition: PresetSettings.h:163
Aws::MediaConvert::Model::PresetSettings::AddAudioDescriptions
PresetSettings & AddAudioDescriptions(AudioDescription &&value)
Definition: PresetSettings.h:98
Aws::MediaConvert::Model::PresetSettings::WithCaptionDescriptions
PresetSettings & WithCaptionDescriptions(const Aws::Vector< CaptionDescriptionPreset > &value)
Definition: PresetSettings.h:129
Aws::MediaConvert::Model::PresetSettings::SetCaptionDescriptions
void SetCaptionDescriptions(Aws::Vector< CaptionDescriptionPreset > &&value)
Definition: PresetSettings.h:123
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::AudioDescription
Definition: AudioDescription.h:44
Aws::MediaConvert::Model::PresetSettings::WithAudioDescriptions
PresetSettings & WithAudioDescriptions(Aws::Vector< AudioDescription > &&value)
Definition: PresetSettings.h:84
Aws::MediaConvert::Model::PresetSettings::WithAudioDescriptions
PresetSettings & WithAudioDescriptions(const Aws::Vector< AudioDescription > &value)
Definition: PresetSettings.h:77
Aws::MediaConvert::Model::PresetSettings::GetVideoDescription
const VideoDescription & GetVideoDescription() const
Definition: PresetSettings.h:186
Aws::MediaConvert::Model::PresetSettings::SetCaptionDescriptions
void SetCaptionDescriptions(const Aws::Vector< CaptionDescriptionPreset > &value)
Definition: PresetSettings.h:117
Aws::MediaConvert::Model::PresetSettings::CaptionDescriptionsHasBeenSet
bool CaptionDescriptionsHasBeenSet() const
Definition: PresetSettings.h:111
Aws::MediaConvert::Model::VideoDescription
Definition: VideoDescription.h:44
Aws::MediaConvert::Model::PresetSettings::PresetSettings
PresetSettings()
Aws::MediaConvert::Model::PresetSettings::SetAudioDescriptions
void SetAudioDescriptions(Aws::Vector< AudioDescription > &&value)
Definition: PresetSettings.h:70
Aws::MediaConvert::Model::PresetSettings::WithVideoDescription
PresetSettings & WithVideoDescription(VideoDescription &&value)
Definition: PresetSettings.h:221