AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaConvert
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_MEDIACONVERT_API ContainerSettings() = default;
43 AWS_MEDIACONVERT_API ContainerSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API ContainerSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const CmfcSettings& GetCmfcSettings() const { return m_cmfcSettings; }
54 inline bool CmfcSettingsHasBeenSet() const { return m_cmfcSettingsHasBeenSet; }
55 template<typename CmfcSettingsT = CmfcSettings>
56 void SetCmfcSettings(CmfcSettingsT&& value) { m_cmfcSettingsHasBeenSet = true; m_cmfcSettings = std::forward<CmfcSettingsT>(value); }
57 template<typename CmfcSettingsT = CmfcSettings>
58 ContainerSettings& WithCmfcSettings(CmfcSettingsT&& value) { SetCmfcSettings(std::forward<CmfcSettingsT>(value)); return *this;}
60
62
66 inline ContainerType GetContainer() const { return m_container; }
67 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
68 inline void SetContainer(ContainerType value) { m_containerHasBeenSet = true; m_container = value; }
69 inline ContainerSettings& WithContainer(ContainerType value) { SetContainer(value); return *this;}
71
73
76 inline const F4vSettings& GetF4vSettings() const { return m_f4vSettings; }
77 inline bool F4vSettingsHasBeenSet() const { return m_f4vSettingsHasBeenSet; }
78 template<typename F4vSettingsT = F4vSettings>
79 void SetF4vSettings(F4vSettingsT&& value) { m_f4vSettingsHasBeenSet = true; m_f4vSettings = std::forward<F4vSettingsT>(value); }
80 template<typename F4vSettingsT = F4vSettings>
81 ContainerSettings& WithF4vSettings(F4vSettingsT&& value) { SetF4vSettings(std::forward<F4vSettingsT>(value)); return *this;}
83
85
96 inline const M2tsSettings& GetM2tsSettings() const { return m_m2tsSettings; }
97 inline bool M2tsSettingsHasBeenSet() const { return m_m2tsSettingsHasBeenSet; }
98 template<typename M2tsSettingsT = M2tsSettings>
99 void SetM2tsSettings(M2tsSettingsT&& value) { m_m2tsSettingsHasBeenSet = true; m_m2tsSettings = std::forward<M2tsSettingsT>(value); }
100 template<typename M2tsSettingsT = M2tsSettings>
101 ContainerSettings& WithM2tsSettings(M2tsSettingsT&& value) { SetM2tsSettings(std::forward<M2tsSettingsT>(value)); return *this;}
103
105
109 inline const M3u8Settings& GetM3u8Settings() const { return m_m3u8Settings; }
110 inline bool M3u8SettingsHasBeenSet() const { return m_m3u8SettingsHasBeenSet; }
111 template<typename M3u8SettingsT = M3u8Settings>
112 void SetM3u8Settings(M3u8SettingsT&& value) { m_m3u8SettingsHasBeenSet = true; m_m3u8Settings = std::forward<M3u8SettingsT>(value); }
113 template<typename M3u8SettingsT = M3u8Settings>
114 ContainerSettings& WithM3u8Settings(M3u8SettingsT&& value) { SetM3u8Settings(std::forward<M3u8SettingsT>(value)); return *this;}
116
118
121 inline const MovSettings& GetMovSettings() const { return m_movSettings; }
122 inline bool MovSettingsHasBeenSet() const { return m_movSettingsHasBeenSet; }
123 template<typename MovSettingsT = MovSettings>
124 void SetMovSettings(MovSettingsT&& value) { m_movSettingsHasBeenSet = true; m_movSettings = std::forward<MovSettingsT>(value); }
125 template<typename MovSettingsT = MovSettings>
126 ContainerSettings& WithMovSettings(MovSettingsT&& value) { SetMovSettings(std::forward<MovSettingsT>(value)); return *this;}
128
130
135 inline const Mp4Settings& GetMp4Settings() const { return m_mp4Settings; }
136 inline bool Mp4SettingsHasBeenSet() const { return m_mp4SettingsHasBeenSet; }
137 template<typename Mp4SettingsT = Mp4Settings>
138 void SetMp4Settings(Mp4SettingsT&& value) { m_mp4SettingsHasBeenSet = true; m_mp4Settings = std::forward<Mp4SettingsT>(value); }
139 template<typename Mp4SettingsT = Mp4Settings>
140 ContainerSettings& WithMp4Settings(Mp4SettingsT&& value) { SetMp4Settings(std::forward<Mp4SettingsT>(value)); return *this;}
142
144
148 inline const MpdSettings& GetMpdSettings() const { return m_mpdSettings; }
149 inline bool MpdSettingsHasBeenSet() const { return m_mpdSettingsHasBeenSet; }
150 template<typename MpdSettingsT = MpdSettings>
151 void SetMpdSettings(MpdSettingsT&& value) { m_mpdSettingsHasBeenSet = true; m_mpdSettings = std::forward<MpdSettingsT>(value); }
152 template<typename MpdSettingsT = MpdSettings>
153 ContainerSettings& WithMpdSettings(MpdSettingsT&& value) { SetMpdSettings(std::forward<MpdSettingsT>(value)); return *this;}
155
157
160 inline const MxfSettings& GetMxfSettings() const { return m_mxfSettings; }
161 inline bool MxfSettingsHasBeenSet() const { return m_mxfSettingsHasBeenSet; }
162 template<typename MxfSettingsT = MxfSettings>
163 void SetMxfSettings(MxfSettingsT&& value) { m_mxfSettingsHasBeenSet = true; m_mxfSettings = std::forward<MxfSettingsT>(value); }
164 template<typename MxfSettingsT = MxfSettings>
165 ContainerSettings& WithMxfSettings(MxfSettingsT&& value) { SetMxfSettings(std::forward<MxfSettingsT>(value)); return *this;}
167 private:
168
169 CmfcSettings m_cmfcSettings;
170 bool m_cmfcSettingsHasBeenSet = false;
171
173 bool m_containerHasBeenSet = false;
174
175 F4vSettings m_f4vSettings;
176 bool m_f4vSettingsHasBeenSet = false;
177
178 M2tsSettings m_m2tsSettings;
179 bool m_m2tsSettingsHasBeenSet = false;
180
181 M3u8Settings m_m3u8Settings;
182 bool m_m3u8SettingsHasBeenSet = false;
183
184 MovSettings m_movSettings;
185 bool m_movSettingsHasBeenSet = false;
186
187 Mp4Settings m_mp4Settings;
188 bool m_mp4SettingsHasBeenSet = false;
189
190 MpdSettings m_mpdSettings;
191 bool m_mpdSettingsHasBeenSet = false;
192
193 MxfSettings m_mxfSettings;
194 bool m_mxfSettingsHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace MediaConvert
199} // namespace Aws
const M2tsSettings & GetM2tsSettings() const
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