AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Mp4Settings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/CmfcAudioDuration.h>
10#include <aws/mediaconvert/model/Mp4C2paManifest.h>
11#include <aws/mediaconvert/model/Mp4CslgAtom.h>
12#include <aws/mediaconvert/model/Mp4FreeSpaceBox.h>
13#include <aws/mediaconvert/model/Mp4MoovPlacement.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert {
25namespace Model {
26
36 public:
37 AWS_MEDIACONVERT_API Mp4Settings() = default;
38 AWS_MEDIACONVERT_API Mp4Settings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Mp4Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
57 inline CmfcAudioDuration GetAudioDuration() const { return m_audioDuration; }
58 inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
60 m_audioDurationHasBeenSet = true;
61 m_audioDuration = value;
62 }
64 SetAudioDuration(value);
65 return *this;
66 }
68
70
75 inline Mp4C2paManifest GetC2paManifest() const { return m_c2paManifest; }
76 inline bool C2paManifestHasBeenSet() const { return m_c2paManifestHasBeenSet; }
77 inline void SetC2paManifest(Mp4C2paManifest value) {
78 m_c2paManifestHasBeenSet = true;
79 m_c2paManifest = value;
80 }
82 SetC2paManifest(value);
83 return *this;
84 }
86
88
97 inline const Aws::String& GetCertificateSecret() const { return m_certificateSecret; }
98 inline bool CertificateSecretHasBeenSet() const { return m_certificateSecretHasBeenSet; }
99 template <typename CertificateSecretT = Aws::String>
100 void SetCertificateSecret(CertificateSecretT&& value) {
101 m_certificateSecretHasBeenSet = true;
102 m_certificateSecret = std::forward<CertificateSecretT>(value);
103 }
104 template <typename CertificateSecretT = Aws::String>
105 Mp4Settings& WithCertificateSecret(CertificateSecretT&& value) {
106 SetCertificateSecret(std::forward<CertificateSecretT>(value));
107 return *this;
108 }
110
112
118 inline Mp4CslgAtom GetCslgAtom() const { return m_cslgAtom; }
119 inline bool CslgAtomHasBeenSet() const { return m_cslgAtomHasBeenSet; }
120 inline void SetCslgAtom(Mp4CslgAtom value) {
121 m_cslgAtomHasBeenSet = true;
122 m_cslgAtom = value;
123 }
125 SetCslgAtom(value);
126 return *this;
127 }
129
131
139 inline int GetCttsVersion() const { return m_cttsVersion; }
140 inline bool CttsVersionHasBeenSet() const { return m_cttsVersionHasBeenSet; }
141 inline void SetCttsVersion(int value) {
142 m_cttsVersionHasBeenSet = true;
143 m_cttsVersion = value;
144 }
145 inline Mp4Settings& WithCttsVersion(int value) {
146 SetCttsVersion(value);
147 return *this;
148 }
150
152
155 inline Mp4FreeSpaceBox GetFreeSpaceBox() const { return m_freeSpaceBox; }
156 inline bool FreeSpaceBoxHasBeenSet() const { return m_freeSpaceBoxHasBeenSet; }
157 inline void SetFreeSpaceBox(Mp4FreeSpaceBox value) {
158 m_freeSpaceBoxHasBeenSet = true;
159 m_freeSpaceBox = value;
160 }
162 SetFreeSpaceBox(value);
163 return *this;
164 }
166
168
173 inline Mp4MoovPlacement GetMoovPlacement() const { return m_moovPlacement; }
174 inline bool MoovPlacementHasBeenSet() const { return m_moovPlacementHasBeenSet; }
176 m_moovPlacementHasBeenSet = true;
177 m_moovPlacement = value;
178 }
180 SetMoovPlacement(value);
181 return *this;
182 }
184
186
190 inline const Aws::String& GetMp4MajorBrand() const { return m_mp4MajorBrand; }
191 inline bool Mp4MajorBrandHasBeenSet() const { return m_mp4MajorBrandHasBeenSet; }
192 template <typename Mp4MajorBrandT = Aws::String>
193 void SetMp4MajorBrand(Mp4MajorBrandT&& value) {
194 m_mp4MajorBrandHasBeenSet = true;
195 m_mp4MajorBrand = std::forward<Mp4MajorBrandT>(value);
196 }
197 template <typename Mp4MajorBrandT = Aws::String>
198 Mp4Settings& WithMp4MajorBrand(Mp4MajorBrandT&& value) {
199 SetMp4MajorBrand(std::forward<Mp4MajorBrandT>(value));
200 return *this;
201 }
203
205
210 inline const Aws::String& GetSigningKmsKey() const { return m_signingKmsKey; }
211 inline bool SigningKmsKeyHasBeenSet() const { return m_signingKmsKeyHasBeenSet; }
212 template <typename SigningKmsKeyT = Aws::String>
213 void SetSigningKmsKey(SigningKmsKeyT&& value) {
214 m_signingKmsKeyHasBeenSet = true;
215 m_signingKmsKey = std::forward<SigningKmsKeyT>(value);
216 }
217 template <typename SigningKmsKeyT = Aws::String>
218 Mp4Settings& WithSigningKmsKey(SigningKmsKeyT&& value) {
219 SetSigningKmsKey(std::forward<SigningKmsKeyT>(value));
220 return *this;
221 }
223 private:
225
227
228 Aws::String m_certificateSecret;
229
231
232 int m_cttsVersion{0};
233
235
237
238 Aws::String m_mp4MajorBrand;
239
240 Aws::String m_signingKmsKey;
241 bool m_audioDurationHasBeenSet = false;
242 bool m_c2paManifestHasBeenSet = false;
243 bool m_certificateSecretHasBeenSet = false;
244 bool m_cslgAtomHasBeenSet = false;
245 bool m_cttsVersionHasBeenSet = false;
246 bool m_freeSpaceBoxHasBeenSet = false;
247 bool m_moovPlacementHasBeenSet = false;
248 bool m_mp4MajorBrandHasBeenSet = false;
249 bool m_signingKmsKeyHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace MediaConvert
254} // namespace Aws
Mp4Settings & WithCslgAtom(Mp4CslgAtom value)
const Aws::String & GetCertificateSecret() const
Definition Mp4Settings.h:97
const Aws::String & GetMp4MajorBrand() const
void SetAudioDuration(CmfcAudioDuration value)
Definition Mp4Settings.h:59
Mp4Settings & WithFreeSpaceBox(Mp4FreeSpaceBox value)
Mp4C2paManifest GetC2paManifest() const
Definition Mp4Settings.h:75
void SetC2paManifest(Mp4C2paManifest value)
Definition Mp4Settings.h:77
void SetSigningKmsKey(SigningKmsKeyT &&value)
Mp4Settings & WithAudioDuration(CmfcAudioDuration value)
Definition Mp4Settings.h:63
AWS_MEDIACONVERT_API Mp4Settings()=default
Mp4Settings & WithSigningKmsKey(SigningKmsKeyT &&value)
Mp4Settings & WithCertificateSecret(CertificateSecretT &&value)
Mp4Settings & WithC2paManifest(Mp4C2paManifest value)
Definition Mp4Settings.h:81
void SetMoovPlacement(Mp4MoovPlacement value)
void SetFreeSpaceBox(Mp4FreeSpaceBox value)
Mp4Settings & WithCttsVersion(int value)
const Aws::String & GetSigningKmsKey() const
void SetCslgAtom(Mp4CslgAtom value)
AWS_MEDIACONVERT_API Mp4Settings(Aws::Utils::Json::JsonView jsonValue)
Mp4FreeSpaceBox GetFreeSpaceBox() const
AWS_MEDIACONVERT_API Mp4Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Mp4Settings & WithMp4MajorBrand(Mp4MajorBrandT &&value)
Mp4Settings & WithMoovPlacement(Mp4MoovPlacement value)
Mp4MoovPlacement GetMoovPlacement() const
void SetCertificateSecret(CertificateSecretT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMp4MajorBrand(Mp4MajorBrandT &&value)
CmfcAudioDuration GetAudioDuration() const
Definition Mp4Settings.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue