AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/AudioDescription.h>
11#include <aws/mediaconvert/model/CaptionDescription.h>
12#include <aws/mediaconvert/model/ContainerSettings.h>
13#include <aws/mediaconvert/model/OutputSettings.h>
14#include <aws/mediaconvert/model/VideoDescription.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConvert {
26namespace Model {
27
36class Output {
37 public:
38 AWS_MEDIACONVERT_API Output() = default;
39 AWS_MEDIACONVERT_API Output(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
48 inline const Aws::Vector<AudioDescription>& GetAudioDescriptions() const { return m_audioDescriptions; }
49 inline bool AudioDescriptionsHasBeenSet() const { return m_audioDescriptionsHasBeenSet; }
50 template <typename AudioDescriptionsT = Aws::Vector<AudioDescription>>
51 void SetAudioDescriptions(AudioDescriptionsT&& value) {
52 m_audioDescriptionsHasBeenSet = true;
53 m_audioDescriptions = std::forward<AudioDescriptionsT>(value);
54 }
55 template <typename AudioDescriptionsT = Aws::Vector<AudioDescription>>
56 Output& WithAudioDescriptions(AudioDescriptionsT&& value) {
57 SetAudioDescriptions(std::forward<AudioDescriptionsT>(value));
58 return *this;
59 }
60 template <typename AudioDescriptionsT = AudioDescription>
61 Output& AddAudioDescriptions(AudioDescriptionsT&& value) {
62 m_audioDescriptionsHasBeenSet = true;
63 m_audioDescriptions.emplace_back(std::forward<AudioDescriptionsT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::Vector<CaptionDescription>& GetCaptionDescriptions() const { return m_captionDescriptions; }
75 inline bool CaptionDescriptionsHasBeenSet() const { return m_captionDescriptionsHasBeenSet; }
76 template <typename CaptionDescriptionsT = Aws::Vector<CaptionDescription>>
77 void SetCaptionDescriptions(CaptionDescriptionsT&& value) {
78 m_captionDescriptionsHasBeenSet = true;
79 m_captionDescriptions = std::forward<CaptionDescriptionsT>(value);
80 }
81 template <typename CaptionDescriptionsT = Aws::Vector<CaptionDescription>>
82 Output& WithCaptionDescriptions(CaptionDescriptionsT&& value) {
83 SetCaptionDescriptions(std::forward<CaptionDescriptionsT>(value));
84 return *this;
85 }
86 template <typename CaptionDescriptionsT = CaptionDescription>
87 Output& AddCaptionDescriptions(CaptionDescriptionsT&& value) {
88 m_captionDescriptionsHasBeenSet = true;
89 m_captionDescriptions.emplace_back(std::forward<CaptionDescriptionsT>(value));
90 return *this;
91 }
93
95
98 inline const ContainerSettings& GetContainerSettings() const { return m_containerSettings; }
99 inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
100 template <typename ContainerSettingsT = ContainerSettings>
101 void SetContainerSettings(ContainerSettingsT&& value) {
102 m_containerSettingsHasBeenSet = true;
103 m_containerSettings = std::forward<ContainerSettingsT>(value);
104 }
105 template <typename ContainerSettingsT = ContainerSettings>
106 Output& WithContainerSettings(ContainerSettingsT&& value) {
107 SetContainerSettings(std::forward<ContainerSettingsT>(value));
108 return *this;
109 }
111
113
121 inline const Aws::String& GetExtension() const { return m_extension; }
122 inline bool ExtensionHasBeenSet() const { return m_extensionHasBeenSet; }
123 template <typename ExtensionT = Aws::String>
124 void SetExtension(ExtensionT&& value) {
125 m_extensionHasBeenSet = true;
126 m_extension = std::forward<ExtensionT>(value);
127 }
128 template <typename ExtensionT = Aws::String>
129 Output& WithExtension(ExtensionT&& value) {
130 SetExtension(std::forward<ExtensionT>(value));
131 return *this;
132 }
134
136
144 inline const Aws::String& GetNameModifier() const { return m_nameModifier; }
145 inline bool NameModifierHasBeenSet() const { return m_nameModifierHasBeenSet; }
146 template <typename NameModifierT = Aws::String>
147 void SetNameModifier(NameModifierT&& value) {
148 m_nameModifierHasBeenSet = true;
149 m_nameModifier = std::forward<NameModifierT>(value);
150 }
151 template <typename NameModifierT = Aws::String>
152 Output& WithNameModifier(NameModifierT&& value) {
153 SetNameModifier(std::forward<NameModifierT>(value));
154 return *this;
155 }
157
159
162 inline const OutputSettings& GetOutputSettings() const { return m_outputSettings; }
163 inline bool OutputSettingsHasBeenSet() const { return m_outputSettingsHasBeenSet; }
164 template <typename OutputSettingsT = OutputSettings>
165 void SetOutputSettings(OutputSettingsT&& value) {
166 m_outputSettingsHasBeenSet = true;
167 m_outputSettings = std::forward<OutputSettingsT>(value);
168 }
169 template <typename OutputSettingsT = OutputSettings>
170 Output& WithOutputSettings(OutputSettingsT&& value) {
171 SetOutputSettings(std::forward<OutputSettingsT>(value));
172 return *this;
173 }
175
177
182 inline const Aws::String& GetPreset() const { return m_preset; }
183 inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; }
184 template <typename PresetT = Aws::String>
185 void SetPreset(PresetT&& value) {
186 m_presetHasBeenSet = true;
187 m_preset = std::forward<PresetT>(value);
188 }
189 template <typename PresetT = Aws::String>
190 Output& WithPreset(PresetT&& value) {
191 SetPreset(std::forward<PresetT>(value));
192 return *this;
193 }
195
197
202 inline const VideoDescription& GetVideoDescription() const { return m_videoDescription; }
203 inline bool VideoDescriptionHasBeenSet() const { return m_videoDescriptionHasBeenSet; }
204 template <typename VideoDescriptionT = VideoDescription>
205 void SetVideoDescription(VideoDescriptionT&& value) {
206 m_videoDescriptionHasBeenSet = true;
207 m_videoDescription = std::forward<VideoDescriptionT>(value);
208 }
209 template <typename VideoDescriptionT = VideoDescription>
210 Output& WithVideoDescription(VideoDescriptionT&& value) {
211 SetVideoDescription(std::forward<VideoDescriptionT>(value));
212 return *this;
213 }
215 private:
216 Aws::Vector<AudioDescription> m_audioDescriptions;
217
218 Aws::Vector<CaptionDescription> m_captionDescriptions;
219
220 ContainerSettings m_containerSettings;
221
222 Aws::String m_extension;
223
224 Aws::String m_nameModifier;
225
226 OutputSettings m_outputSettings;
227
228 Aws::String m_preset;
229
230 VideoDescription m_videoDescription;
231 bool m_audioDescriptionsHasBeenSet = false;
232 bool m_captionDescriptionsHasBeenSet = false;
233 bool m_containerSettingsHasBeenSet = false;
234 bool m_extensionHasBeenSet = false;
235 bool m_nameModifierHasBeenSet = false;
236 bool m_outputSettingsHasBeenSet = false;
237 bool m_presetHasBeenSet = false;
238 bool m_videoDescriptionHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace MediaConvert
243} // namespace Aws
void SetAudioDescriptions(AudioDescriptionsT &&value)
Definition Output.h:51
bool AudioDescriptionsHasBeenSet() const
Definition Output.h:49
void SetOutputSettings(OutputSettingsT &&value)
Definition Output.h:165
void SetCaptionDescriptions(CaptionDescriptionsT &&value)
Definition Output.h:77
Output & WithExtension(ExtensionT &&value)
Definition Output.h:129
void SetVideoDescription(VideoDescriptionT &&value)
Definition Output.h:205
Output & WithVideoDescription(VideoDescriptionT &&value)
Definition Output.h:210
bool NameModifierHasBeenSet() const
Definition Output.h:145
void SetPreset(PresetT &&value)
Definition Output.h:185
const Aws::String & GetNameModifier() const
Definition Output.h:144
Output & WithCaptionDescriptions(CaptionDescriptionsT &&value)
Definition Output.h:82
Output & WithOutputSettings(OutputSettingsT &&value)
Definition Output.h:170
Output & WithPreset(PresetT &&value)
Definition Output.h:190
AWS_MEDIACONVERT_API Output()=default
Output & AddAudioDescriptions(AudioDescriptionsT &&value)
Definition Output.h:61
const ContainerSettings & GetContainerSettings() const
Definition Output.h:98
const OutputSettings & GetOutputSettings() const
Definition Output.h:162
Output & AddCaptionDescriptions(CaptionDescriptionsT &&value)
Definition Output.h:87
const Aws::String & GetPreset() const
Definition Output.h:182
Output & WithContainerSettings(ContainerSettingsT &&value)
Definition Output.h:106
AWS_MEDIACONVERT_API Output(Aws::Utils::Json::JsonView jsonValue)
bool VideoDescriptionHasBeenSet() const
Definition Output.h:203
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContainerSettingsHasBeenSet() const
Definition Output.h:99
AWS_MEDIACONVERT_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainerSettings(ContainerSettingsT &&value)
Definition Output.h:101
const VideoDescription & GetVideoDescription() const
Definition Output.h:202
bool CaptionDescriptionsHasBeenSet() const
Definition Output.h:75
Output & WithAudioDescriptions(AudioDescriptionsT &&value)
Definition Output.h:56
bool OutputSettingsHasBeenSet() const
Definition Output.h:163
const Aws::Vector< AudioDescription > & GetAudioDescriptions() const
Definition Output.h:48
Output & WithNameModifier(NameModifierT &&value)
Definition Output.h:152
void SetNameModifier(NameModifierT &&value)
Definition Output.h:147
const Aws::Vector< CaptionDescription > & GetCaptionDescriptions() const
Definition Output.h:74
const Aws::String & GetExtension() const
Definition Output.h:121
void SetExtension(ExtensionT &&value)
Definition Output.h:124
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue