AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ContainerSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/CmfcSettings.h>
9#include <aws/mediaconvert/model/ContainerType.h>
10#include <aws/mediaconvert/model/F4vSettings.h>
11#include <aws/mediaconvert/model/M2tsSettings.h>
12#include <aws/mediaconvert/model/M3u8Settings.h>
13#include <aws/mediaconvert/model/MovSettings.h>
14#include <aws/mediaconvert/model/Mp4Settings.h>
15#include <aws/mediaconvert/model/MpdSettings.h>
16#include <aws/mediaconvert/model/MxfSettings.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert {
28namespace Model {
29
36 public:
37 AWS_MEDIACONVERT_API ContainerSettings() = default;
38 AWS_MEDIACONVERT_API ContainerSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API ContainerSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const CmfcSettings& GetCmfcSettings() const { return m_cmfcSettings; }
48 inline bool CmfcSettingsHasBeenSet() const { return m_cmfcSettingsHasBeenSet; }
49 template <typename CmfcSettingsT = CmfcSettings>
50 void SetCmfcSettings(CmfcSettingsT&& value) {
51 m_cmfcSettingsHasBeenSet = true;
52 m_cmfcSettings = std::forward<CmfcSettingsT>(value);
53 }
54 template <typename CmfcSettingsT = CmfcSettings>
55 ContainerSettings& WithCmfcSettings(CmfcSettingsT&& value) {
56 SetCmfcSettings(std::forward<CmfcSettingsT>(value));
57 return *this;
58 }
60
62
66 inline ContainerType GetContainer() const { return m_container; }
67 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
68 inline void SetContainer(ContainerType value) {
69 m_containerHasBeenSet = true;
70 m_container = value;
71 }
73 SetContainer(value);
74 return *this;
75 }
77
79
82 inline const F4vSettings& GetF4vSettings() const { return m_f4vSettings; }
83 inline bool F4vSettingsHasBeenSet() const { return m_f4vSettingsHasBeenSet; }
84 template <typename F4vSettingsT = F4vSettings>
85 void SetF4vSettings(F4vSettingsT&& value) {
86 m_f4vSettingsHasBeenSet = true;
87 m_f4vSettings = std::forward<F4vSettingsT>(value);
88 }
89 template <typename F4vSettingsT = F4vSettings>
90 ContainerSettings& WithF4vSettings(F4vSettingsT&& value) {
91 SetF4vSettings(std::forward<F4vSettingsT>(value));
92 return *this;
93 }
95
97
108 inline const M2tsSettings& GetM2tsSettings() const { return m_m2tsSettings; }
109 inline bool M2tsSettingsHasBeenSet() const { return m_m2tsSettingsHasBeenSet; }
110 template <typename M2tsSettingsT = M2tsSettings>
111 void SetM2tsSettings(M2tsSettingsT&& value) {
112 m_m2tsSettingsHasBeenSet = true;
113 m_m2tsSettings = std::forward<M2tsSettingsT>(value);
114 }
115 template <typename M2tsSettingsT = M2tsSettings>
116 ContainerSettings& WithM2tsSettings(M2tsSettingsT&& value) {
117 SetM2tsSettings(std::forward<M2tsSettingsT>(value));
118 return *this;
119 }
121
123
127 inline const M3u8Settings& GetM3u8Settings() const { return m_m3u8Settings; }
128 inline bool M3u8SettingsHasBeenSet() const { return m_m3u8SettingsHasBeenSet; }
129 template <typename M3u8SettingsT = M3u8Settings>
130 void SetM3u8Settings(M3u8SettingsT&& value) {
131 m_m3u8SettingsHasBeenSet = true;
132 m_m3u8Settings = std::forward<M3u8SettingsT>(value);
133 }
134 template <typename M3u8SettingsT = M3u8Settings>
135 ContainerSettings& WithM3u8Settings(M3u8SettingsT&& value) {
136 SetM3u8Settings(std::forward<M3u8SettingsT>(value));
137 return *this;
138 }
140
142
145 inline const MovSettings& GetMovSettings() const { return m_movSettings; }
146 inline bool MovSettingsHasBeenSet() const { return m_movSettingsHasBeenSet; }
147 template <typename MovSettingsT = MovSettings>
148 void SetMovSettings(MovSettingsT&& value) {
149 m_movSettingsHasBeenSet = true;
150 m_movSettings = std::forward<MovSettingsT>(value);
151 }
152 template <typename MovSettingsT = MovSettings>
153 ContainerSettings& WithMovSettings(MovSettingsT&& value) {
154 SetMovSettings(std::forward<MovSettingsT>(value));
155 return *this;
156 }
158
160
165 inline const Mp4Settings& GetMp4Settings() const { return m_mp4Settings; }
166 inline bool Mp4SettingsHasBeenSet() const { return m_mp4SettingsHasBeenSet; }
167 template <typename Mp4SettingsT = Mp4Settings>
168 void SetMp4Settings(Mp4SettingsT&& value) {
169 m_mp4SettingsHasBeenSet = true;
170 m_mp4Settings = std::forward<Mp4SettingsT>(value);
171 }
172 template <typename Mp4SettingsT = Mp4Settings>
173 ContainerSettings& WithMp4Settings(Mp4SettingsT&& value) {
174 SetMp4Settings(std::forward<Mp4SettingsT>(value));
175 return *this;
176 }
178
180
184 inline const MpdSettings& GetMpdSettings() const { return m_mpdSettings; }
185 inline bool MpdSettingsHasBeenSet() const { return m_mpdSettingsHasBeenSet; }
186 template <typename MpdSettingsT = MpdSettings>
187 void SetMpdSettings(MpdSettingsT&& value) {
188 m_mpdSettingsHasBeenSet = true;
189 m_mpdSettings = std::forward<MpdSettingsT>(value);
190 }
191 template <typename MpdSettingsT = MpdSettings>
192 ContainerSettings& WithMpdSettings(MpdSettingsT&& value) {
193 SetMpdSettings(std::forward<MpdSettingsT>(value));
194 return *this;
195 }
197
199
202 inline const MxfSettings& GetMxfSettings() const { return m_mxfSettings; }
203 inline bool MxfSettingsHasBeenSet() const { return m_mxfSettingsHasBeenSet; }
204 template <typename MxfSettingsT = MxfSettings>
205 void SetMxfSettings(MxfSettingsT&& value) {
206 m_mxfSettingsHasBeenSet = true;
207 m_mxfSettings = std::forward<MxfSettingsT>(value);
208 }
209 template <typename MxfSettingsT = MxfSettings>
210 ContainerSettings& WithMxfSettings(MxfSettingsT&& value) {
211 SetMxfSettings(std::forward<MxfSettingsT>(value));
212 return *this;
213 }
215 private:
216 CmfcSettings m_cmfcSettings;
217
219
220 F4vSettings m_f4vSettings;
221
222 M2tsSettings m_m2tsSettings;
223
224 M3u8Settings m_m3u8Settings;
225
226 MovSettings m_movSettings;
227
228 Mp4Settings m_mp4Settings;
229
230 MpdSettings m_mpdSettings;
231
232 MxfSettings m_mxfSettings;
233 bool m_cmfcSettingsHasBeenSet = false;
234 bool m_containerHasBeenSet = false;
235 bool m_f4vSettingsHasBeenSet = false;
236 bool m_m2tsSettingsHasBeenSet = false;
237 bool m_m3u8SettingsHasBeenSet = false;
238 bool m_movSettingsHasBeenSet = false;
239 bool m_mp4SettingsHasBeenSet = false;
240 bool m_mpdSettingsHasBeenSet = false;
241 bool m_mxfSettingsHasBeenSet = false;
242};
243
244} // namespace Model
245} // namespace MediaConvert
246} // namespace Aws
const CmfcSettings & GetCmfcSettings() const
ContainerSettings & WithF4vSettings(F4vSettingsT &&value)
ContainerSettings & WithMpdSettings(MpdSettingsT &&value)
ContainerSettings & WithMovSettings(MovSettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerSettings & WithM2tsSettings(M2tsSettingsT &&value)
AWS_MEDIACONVERT_API ContainerSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API ContainerSettings()=default
ContainerSettings & WithCmfcSettings(CmfcSettingsT &&value)
ContainerSettings & WithMxfSettings(MxfSettingsT &&value)
ContainerSettings & WithM3u8Settings(M3u8SettingsT &&value)
ContainerSettings & WithContainer(ContainerType value)
ContainerSettings & WithMp4Settings(Mp4SettingsT &&value)
AWS_MEDIACONVERT_API ContainerSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue