AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/model/ContainerSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconvert/model/OutputSettings.h>
12#include <aws/mediaconvert/model/VideoDescription.h>
13#include <aws/mediaconvert/model/AudioDescription.h>
14#include <aws/mediaconvert/model/CaptionDescription.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert
28{
29namespace Model
30{
31
40 class Output
41 {
42 public:
43 AWS_MEDIACONVERT_API Output();
44 AWS_MEDIACONVERT_API Output(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::Vector<AudioDescription>& GetAudioDescriptions() const{ return m_audioDescriptions; }
55 inline bool AudioDescriptionsHasBeenSet() const { return m_audioDescriptionsHasBeenSet; }
56 inline void SetAudioDescriptions(const Aws::Vector<AudioDescription>& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = value; }
57 inline void SetAudioDescriptions(Aws::Vector<AudioDescription>&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions = std::move(value); }
59 inline Output& WithAudioDescriptions(Aws::Vector<AudioDescription>&& value) { SetAudioDescriptions(std::move(value)); return *this;}
60 inline Output& AddAudioDescriptions(const AudioDescription& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(value); return *this; }
61 inline Output& AddAudioDescriptions(AudioDescription&& value) { m_audioDescriptionsHasBeenSet = true; m_audioDescriptions.push_back(std::move(value)); return *this; }
63
65
70 inline const Aws::Vector<CaptionDescription>& GetCaptionDescriptions() const{ return m_captionDescriptions; }
71 inline bool CaptionDescriptionsHasBeenSet() const { return m_captionDescriptionsHasBeenSet; }
72 inline void SetCaptionDescriptions(const Aws::Vector<CaptionDescription>& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = value; }
73 inline void SetCaptionDescriptions(Aws::Vector<CaptionDescription>&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions = std::move(value); }
75 inline Output& WithCaptionDescriptions(Aws::Vector<CaptionDescription>&& value) { SetCaptionDescriptions(std::move(value)); return *this;}
76 inline Output& AddCaptionDescriptions(const CaptionDescription& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(value); return *this; }
77 inline Output& AddCaptionDescriptions(CaptionDescription&& value) { m_captionDescriptionsHasBeenSet = true; m_captionDescriptions.push_back(std::move(value)); return *this; }
79
81
84 inline const ContainerSettings& GetContainerSettings() const{ return m_containerSettings; }
85 inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
86 inline void SetContainerSettings(const ContainerSettings& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = value; }
87 inline void SetContainerSettings(ContainerSettings&& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = std::move(value); }
88 inline Output& WithContainerSettings(const ContainerSettings& value) { SetContainerSettings(value); return *this;}
89 inline Output& WithContainerSettings(ContainerSettings&& value) { SetContainerSettings(std::move(value)); return *this;}
91
93
100 inline const Aws::String& GetExtension() const{ return m_extension; }
101 inline bool ExtensionHasBeenSet() const { return m_extensionHasBeenSet; }
102 inline void SetExtension(const Aws::String& value) { m_extensionHasBeenSet = true; m_extension = value; }
103 inline void SetExtension(Aws::String&& value) { m_extensionHasBeenSet = true; m_extension = std::move(value); }
104 inline void SetExtension(const char* value) { m_extensionHasBeenSet = true; m_extension.assign(value); }
105 inline Output& WithExtension(const Aws::String& value) { SetExtension(value); return *this;}
106 inline Output& WithExtension(Aws::String&& value) { SetExtension(std::move(value)); return *this;}
107 inline Output& WithExtension(const char* value) { SetExtension(value); return *this;}
109
111
119 inline const Aws::String& GetNameModifier() const{ return m_nameModifier; }
120 inline bool NameModifierHasBeenSet() const { return m_nameModifierHasBeenSet; }
121 inline void SetNameModifier(const Aws::String& value) { m_nameModifierHasBeenSet = true; m_nameModifier = value; }
122 inline void SetNameModifier(Aws::String&& value) { m_nameModifierHasBeenSet = true; m_nameModifier = std::move(value); }
123 inline void SetNameModifier(const char* value) { m_nameModifierHasBeenSet = true; m_nameModifier.assign(value); }
124 inline Output& WithNameModifier(const Aws::String& value) { SetNameModifier(value); return *this;}
125 inline Output& WithNameModifier(Aws::String&& value) { SetNameModifier(std::move(value)); return *this;}
126 inline Output& WithNameModifier(const char* value) { SetNameModifier(value); return *this;}
128
130
133 inline const OutputSettings& GetOutputSettings() const{ return m_outputSettings; }
134 inline bool OutputSettingsHasBeenSet() const { return m_outputSettingsHasBeenSet; }
135 inline void SetOutputSettings(const OutputSettings& value) { m_outputSettingsHasBeenSet = true; m_outputSettings = value; }
136 inline void SetOutputSettings(OutputSettings&& value) { m_outputSettingsHasBeenSet = true; m_outputSettings = std::move(value); }
137 inline Output& WithOutputSettings(const OutputSettings& value) { SetOutputSettings(value); return *this;}
138 inline Output& WithOutputSettings(OutputSettings&& value) { SetOutputSettings(std::move(value)); return *this;}
140
142
147 inline const Aws::String& GetPreset() const{ return m_preset; }
148 inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; }
149 inline void SetPreset(const Aws::String& value) { m_presetHasBeenSet = true; m_preset = value; }
150 inline void SetPreset(Aws::String&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); }
151 inline void SetPreset(const char* value) { m_presetHasBeenSet = true; m_preset.assign(value); }
152 inline Output& WithPreset(const Aws::String& value) { SetPreset(value); return *this;}
153 inline Output& WithPreset(Aws::String&& value) { SetPreset(std::move(value)); return *this;}
154 inline Output& WithPreset(const char* value) { SetPreset(value); return *this;}
156
158
163 inline const VideoDescription& GetVideoDescription() const{ return m_videoDescription; }
164 inline bool VideoDescriptionHasBeenSet() const { return m_videoDescriptionHasBeenSet; }
165 inline void SetVideoDescription(const VideoDescription& value) { m_videoDescriptionHasBeenSet = true; m_videoDescription = value; }
166 inline void SetVideoDescription(VideoDescription&& value) { m_videoDescriptionHasBeenSet = true; m_videoDescription = std::move(value); }
167 inline Output& WithVideoDescription(const VideoDescription& value) { SetVideoDescription(value); return *this;}
168 inline Output& WithVideoDescription(VideoDescription&& value) { SetVideoDescription(std::move(value)); return *this;}
170 private:
171
172 Aws::Vector<AudioDescription> m_audioDescriptions;
173 bool m_audioDescriptionsHasBeenSet = false;
174
175 Aws::Vector<CaptionDescription> m_captionDescriptions;
176 bool m_captionDescriptionsHasBeenSet = false;
177
178 ContainerSettings m_containerSettings;
179 bool m_containerSettingsHasBeenSet = false;
180
181 Aws::String m_extension;
182 bool m_extensionHasBeenSet = false;
183
184 Aws::String m_nameModifier;
185 bool m_nameModifierHasBeenSet = false;
186
187 OutputSettings m_outputSettings;
188 bool m_outputSettingsHasBeenSet = false;
189
190 Aws::String m_preset;
191 bool m_presetHasBeenSet = false;
192
193 VideoDescription m_videoDescription;
194 bool m_videoDescriptionHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace MediaConvert
199} // namespace Aws
Output & WithOutputSettings(OutputSettings &&value)
Definition Output.h:138
void SetNameModifier(const Aws::String &value)
Definition Output.h:121
void SetOutputSettings(OutputSettings &&value)
Definition Output.h:136
Output & WithNameModifier(const Aws::String &value)
Definition Output.h:124
void SetCaptionDescriptions(const Aws::Vector< CaptionDescription > &value)
Definition Output.h:72
void SetPreset(const char *value)
Definition Output.h:151
void SetContainerSettings(const ContainerSettings &value)
Definition Output.h:86
void SetCaptionDescriptions(Aws::Vector< CaptionDescription > &&value)
Definition Output.h:73
void SetPreset(Aws::String &&value)
Definition Output.h:150
bool AudioDescriptionsHasBeenSet() const
Definition Output.h:55
Output & WithVideoDescription(const VideoDescription &value)
Definition Output.h:167
Output & WithOutputSettings(const OutputSettings &value)
Definition Output.h:137
Output & WithPreset(const char *value)
Definition Output.h:154
bool NameModifierHasBeenSet() const
Definition Output.h:120
Output & WithPreset(const Aws::String &value)
Definition Output.h:152
void SetExtension(const Aws::String &value)
Definition Output.h:102
Output & WithContainerSettings(ContainerSettings &&value)
Definition Output.h:89
void SetNameModifier(const char *value)
Definition Output.h:123
Output & WithExtension(const Aws::String &value)
Definition Output.h:105
const Aws::String & GetNameModifier() const
Definition Output.h:119
void SetAudioDescriptions(Aws::Vector< AudioDescription > &&value)
Definition Output.h:57
Output & WithExtension(const char *value)
Definition Output.h:107
void SetNameModifier(Aws::String &&value)
Definition Output.h:122
void SetExtension(const char *value)
Definition Output.h:104
Output & WithAudioDescriptions(Aws::Vector< AudioDescription > &&value)
Definition Output.h:59
void SetPreset(const Aws::String &value)
Definition Output.h:149
Output & WithCaptionDescriptions(Aws::Vector< CaptionDescription > &&value)
Definition Output.h:75
const ContainerSettings & GetContainerSettings() const
Definition Output.h:84
const OutputSettings & GetOutputSettings() const
Definition Output.h:133
Output & WithExtension(Aws::String &&value)
Definition Output.h:106
void SetContainerSettings(ContainerSettings &&value)
Definition Output.h:87
const Aws::String & GetPreset() const
Definition Output.h:147
Output & WithPreset(Aws::String &&value)
Definition Output.h:153
AWS_MEDIACONVERT_API Output(Aws::Utils::Json::JsonView jsonValue)
Output & AddCaptionDescriptions(const CaptionDescription &value)
Definition Output.h:76
bool VideoDescriptionHasBeenSet() const
Definition Output.h:164
void SetOutputSettings(const OutputSettings &value)
Definition Output.h:135
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContainerSettingsHasBeenSet() const
Definition Output.h:85
AWS_MEDIACONVERT_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
Output & WithCaptionDescriptions(const Aws::Vector< CaptionDescription > &value)
Definition Output.h:74
const VideoDescription & GetVideoDescription() const
Definition Output.h:163
bool CaptionDescriptionsHasBeenSet() const
Definition Output.h:71
void SetVideoDescription(VideoDescription &&value)
Definition Output.h:166
Output & WithAudioDescriptions(const Aws::Vector< AudioDescription > &value)
Definition Output.h:58
Output & WithContainerSettings(const ContainerSettings &value)
Definition Output.h:88
Output & WithNameModifier(const char *value)
Definition Output.h:126
Output & WithNameModifier(Aws::String &&value)
Definition Output.h:125
void SetVideoDescription(const VideoDescription &value)
Definition Output.h:165
bool OutputSettingsHasBeenSet() const
Definition Output.h:134
const Aws::Vector< AudioDescription > & GetAudioDescriptions() const
Definition Output.h:54
Output & WithVideoDescription(VideoDescription &&value)
Definition Output.h:168
Output & AddAudioDescriptions(const AudioDescription &value)
Definition Output.h:60
Output & AddCaptionDescriptions(CaptionDescription &&value)
Definition Output.h:77
const Aws::Vector< CaptionDescription > & GetCaptionDescriptions() const
Definition Output.h:70
const Aws::String & GetExtension() const
Definition Output.h:100
AWS_MEDIACONVERT_API Output()
Output & AddAudioDescriptions(AudioDescription &&value)
Definition Output.h:61
void SetAudioDescriptions(const Aws::Vector< AudioDescription > &value)
Definition Output.h:56
void SetExtension(Aws::String &&value)
Definition Output.h:103
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue