AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Mp4Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/CmfcAudioDuration.h>
9#include <aws/mediaconvert/model/Mp4C2paManifest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconvert/model/Mp4CslgAtom.h>
12#include <aws/mediaconvert/model/Mp4FreeSpaceBox.h>
13#include <aws/mediaconvert/model/Mp4MoovPlacement.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert
27{
28namespace Model
29{
30
40 {
41 public:
42 AWS_MEDIACONVERT_API Mp4Settings() = default;
43 AWS_MEDIACONVERT_API Mp4Settings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Mp4Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
63 inline CmfcAudioDuration GetAudioDuration() const { return m_audioDuration; }
64 inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
65 inline void SetAudioDuration(CmfcAudioDuration value) { m_audioDurationHasBeenSet = true; m_audioDuration = value; }
66 inline Mp4Settings& WithAudioDuration(CmfcAudioDuration value) { SetAudioDuration(value); return *this;}
68
70
75 inline Mp4C2paManifest GetC2paManifest() const { return m_c2paManifest; }
76 inline bool C2paManifestHasBeenSet() const { return m_c2paManifestHasBeenSet; }
77 inline void SetC2paManifest(Mp4C2paManifest value) { m_c2paManifestHasBeenSet = true; m_c2paManifest = value; }
78 inline Mp4Settings& WithC2paManifest(Mp4C2paManifest value) { SetC2paManifest(value); return *this;}
80
82
91 inline const Aws::String& GetCertificateSecret() const { return m_certificateSecret; }
92 inline bool CertificateSecretHasBeenSet() const { return m_certificateSecretHasBeenSet; }
93 template<typename CertificateSecretT = Aws::String>
94 void SetCertificateSecret(CertificateSecretT&& value) { m_certificateSecretHasBeenSet = true; m_certificateSecret = std::forward<CertificateSecretT>(value); }
95 template<typename CertificateSecretT = Aws::String>
96 Mp4Settings& WithCertificateSecret(CertificateSecretT&& value) { SetCertificateSecret(std::forward<CertificateSecretT>(value)); return *this;}
98
100
106 inline Mp4CslgAtom GetCslgAtom() const { return m_cslgAtom; }
107 inline bool CslgAtomHasBeenSet() const { return m_cslgAtomHasBeenSet; }
108 inline void SetCslgAtom(Mp4CslgAtom value) { m_cslgAtomHasBeenSet = true; m_cslgAtom = value; }
109 inline Mp4Settings& WithCslgAtom(Mp4CslgAtom value) { SetCslgAtom(value); return *this;}
111
113
121 inline int GetCttsVersion() const { return m_cttsVersion; }
122 inline bool CttsVersionHasBeenSet() const { return m_cttsVersionHasBeenSet; }
123 inline void SetCttsVersion(int value) { m_cttsVersionHasBeenSet = true; m_cttsVersion = value; }
124 inline Mp4Settings& WithCttsVersion(int value) { SetCttsVersion(value); return *this;}
126
128
131 inline Mp4FreeSpaceBox GetFreeSpaceBox() const { return m_freeSpaceBox; }
132 inline bool FreeSpaceBoxHasBeenSet() const { return m_freeSpaceBoxHasBeenSet; }
133 inline void SetFreeSpaceBox(Mp4FreeSpaceBox value) { m_freeSpaceBoxHasBeenSet = true; m_freeSpaceBox = value; }
134 inline Mp4Settings& WithFreeSpaceBox(Mp4FreeSpaceBox value) { SetFreeSpaceBox(value); return *this;}
136
138
143 inline Mp4MoovPlacement GetMoovPlacement() const { return m_moovPlacement; }
144 inline bool MoovPlacementHasBeenSet() const { return m_moovPlacementHasBeenSet; }
145 inline void SetMoovPlacement(Mp4MoovPlacement value) { m_moovPlacementHasBeenSet = true; m_moovPlacement = value; }
146 inline Mp4Settings& WithMoovPlacement(Mp4MoovPlacement value) { SetMoovPlacement(value); return *this;}
148
150
154 inline const Aws::String& GetMp4MajorBrand() const { return m_mp4MajorBrand; }
155 inline bool Mp4MajorBrandHasBeenSet() const { return m_mp4MajorBrandHasBeenSet; }
156 template<typename Mp4MajorBrandT = Aws::String>
157 void SetMp4MajorBrand(Mp4MajorBrandT&& value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand = std::forward<Mp4MajorBrandT>(value); }
158 template<typename Mp4MajorBrandT = Aws::String>
159 Mp4Settings& WithMp4MajorBrand(Mp4MajorBrandT&& value) { SetMp4MajorBrand(std::forward<Mp4MajorBrandT>(value)); return *this;}
161
163
168 inline const Aws::String& GetSigningKmsKey() const { return m_signingKmsKey; }
169 inline bool SigningKmsKeyHasBeenSet() const { return m_signingKmsKeyHasBeenSet; }
170 template<typename SigningKmsKeyT = Aws::String>
171 void SetSigningKmsKey(SigningKmsKeyT&& value) { m_signingKmsKeyHasBeenSet = true; m_signingKmsKey = std::forward<SigningKmsKeyT>(value); }
172 template<typename SigningKmsKeyT = Aws::String>
173 Mp4Settings& WithSigningKmsKey(SigningKmsKeyT&& value) { SetSigningKmsKey(std::forward<SigningKmsKeyT>(value)); return *this;}
175 private:
176
178 bool m_audioDurationHasBeenSet = false;
179
181 bool m_c2paManifestHasBeenSet = false;
182
183 Aws::String m_certificateSecret;
184 bool m_certificateSecretHasBeenSet = false;
185
187 bool m_cslgAtomHasBeenSet = false;
188
189 int m_cttsVersion{0};
190 bool m_cttsVersionHasBeenSet = false;
191
193 bool m_freeSpaceBoxHasBeenSet = false;
194
196 bool m_moovPlacementHasBeenSet = false;
197
198 Aws::String m_mp4MajorBrand;
199 bool m_mp4MajorBrandHasBeenSet = false;
200
201 Aws::String m_signingKmsKey;
202 bool m_signingKmsKeyHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace MediaConvert
207} // namespace Aws
Mp4Settings & WithCslgAtom(Mp4CslgAtom value)
const Aws::String & GetCertificateSecret() const
Definition Mp4Settings.h:91
const Aws::String & GetMp4MajorBrand() const
void SetAudioDuration(CmfcAudioDuration value)
Definition Mp4Settings.h:65
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:66
AWS_MEDIACONVERT_API Mp4Settings()=default
Mp4Settings & WithSigningKmsKey(SigningKmsKeyT &&value)
Mp4Settings & WithCertificateSecret(CertificateSecretT &&value)
Definition Mp4Settings.h:96
Mp4Settings & WithC2paManifest(Mp4C2paManifest value)
Definition Mp4Settings.h:78
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)
Definition Mp4Settings.h:94
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMp4MajorBrand(Mp4MajorBrandT &&value)
CmfcAudioDuration GetAudioDuration() const
Definition Mp4Settings.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue