AWS SDK for C++  1.9.158
AWS SDK for C++
Mp4Settings.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaConvert
26 {
27 namespace Model
28 {
29 
39  {
40  public:
45 
46 
62  inline const CmfcAudioDuration& GetAudioDuration() const{ return m_audioDuration; }
63 
79  inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
80 
96  inline void SetAudioDuration(const CmfcAudioDuration& value) { m_audioDurationHasBeenSet = true; m_audioDuration = value; }
97 
113  inline void SetAudioDuration(CmfcAudioDuration&& value) { m_audioDurationHasBeenSet = true; m_audioDuration = std::move(value); }
114 
130  inline Mp4Settings& WithAudioDuration(const CmfcAudioDuration& value) { SetAudioDuration(value); return *this;}
131 
147  inline Mp4Settings& WithAudioDuration(CmfcAudioDuration&& value) { SetAudioDuration(std::move(value)); return *this;}
148 
149 
156  inline const Mp4CslgAtom& GetCslgAtom() const{ return m_cslgAtom; }
157 
164  inline bool CslgAtomHasBeenSet() const { return m_cslgAtomHasBeenSet; }
165 
172  inline void SetCslgAtom(const Mp4CslgAtom& value) { m_cslgAtomHasBeenSet = true; m_cslgAtom = value; }
173 
180  inline void SetCslgAtom(Mp4CslgAtom&& value) { m_cslgAtomHasBeenSet = true; m_cslgAtom = std::move(value); }
181 
188  inline Mp4Settings& WithCslgAtom(const Mp4CslgAtom& value) { SetCslgAtom(value); return *this;}
189 
196  inline Mp4Settings& WithCslgAtom(Mp4CslgAtom&& value) { SetCslgAtom(std::move(value)); return *this;}
197 
198 
207  inline int GetCttsVersion() const{ return m_cttsVersion; }
208 
217  inline bool CttsVersionHasBeenSet() const { return m_cttsVersionHasBeenSet; }
218 
227  inline void SetCttsVersion(int value) { m_cttsVersionHasBeenSet = true; m_cttsVersion = value; }
228 
237  inline Mp4Settings& WithCttsVersion(int value) { SetCttsVersion(value); return *this;}
238 
239 
243  inline const Mp4FreeSpaceBox& GetFreeSpaceBox() const{ return m_freeSpaceBox; }
244 
248  inline bool FreeSpaceBoxHasBeenSet() const { return m_freeSpaceBoxHasBeenSet; }
249 
253  inline void SetFreeSpaceBox(const Mp4FreeSpaceBox& value) { m_freeSpaceBoxHasBeenSet = true; m_freeSpaceBox = value; }
254 
258  inline void SetFreeSpaceBox(Mp4FreeSpaceBox&& value) { m_freeSpaceBoxHasBeenSet = true; m_freeSpaceBox = std::move(value); }
259 
263  inline Mp4Settings& WithFreeSpaceBox(const Mp4FreeSpaceBox& value) { SetFreeSpaceBox(value); return *this;}
264 
268  inline Mp4Settings& WithFreeSpaceBox(Mp4FreeSpaceBox&& value) { SetFreeSpaceBox(std::move(value)); return *this;}
269 
270 
276  inline const Mp4MoovPlacement& GetMoovPlacement() const{ return m_moovPlacement; }
277 
283  inline bool MoovPlacementHasBeenSet() const { return m_moovPlacementHasBeenSet; }
284 
290  inline void SetMoovPlacement(const Mp4MoovPlacement& value) { m_moovPlacementHasBeenSet = true; m_moovPlacement = value; }
291 
297  inline void SetMoovPlacement(Mp4MoovPlacement&& value) { m_moovPlacementHasBeenSet = true; m_moovPlacement = std::move(value); }
298 
304  inline Mp4Settings& WithMoovPlacement(const Mp4MoovPlacement& value) { SetMoovPlacement(value); return *this;}
305 
311  inline Mp4Settings& WithMoovPlacement(Mp4MoovPlacement&& value) { SetMoovPlacement(std::move(value)); return *this;}
312 
313 
318  inline const Aws::String& GetMp4MajorBrand() const{ return m_mp4MajorBrand; }
319 
324  inline bool Mp4MajorBrandHasBeenSet() const { return m_mp4MajorBrandHasBeenSet; }
325 
330  inline void SetMp4MajorBrand(const Aws::String& value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand = value; }
331 
336  inline void SetMp4MajorBrand(Aws::String&& value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand = std::move(value); }
337 
342  inline void SetMp4MajorBrand(const char* value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand.assign(value); }
343 
348  inline Mp4Settings& WithMp4MajorBrand(const Aws::String& value) { SetMp4MajorBrand(value); return *this;}
349 
354  inline Mp4Settings& WithMp4MajorBrand(Aws::String&& value) { SetMp4MajorBrand(std::move(value)); return *this;}
355 
360  inline Mp4Settings& WithMp4MajorBrand(const char* value) { SetMp4MajorBrand(value); return *this;}
361 
362  private:
363 
364  CmfcAudioDuration m_audioDuration;
365  bool m_audioDurationHasBeenSet;
366 
367  Mp4CslgAtom m_cslgAtom;
368  bool m_cslgAtomHasBeenSet;
369 
370  int m_cttsVersion;
371  bool m_cttsVersionHasBeenSet;
372 
373  Mp4FreeSpaceBox m_freeSpaceBox;
374  bool m_freeSpaceBoxHasBeenSet;
375 
376  Mp4MoovPlacement m_moovPlacement;
377  bool m_moovPlacementHasBeenSet;
378 
379  Aws::String m_mp4MajorBrand;
380  bool m_mp4MajorBrandHasBeenSet;
381  };
382 
383 } // namespace Model
384 } // namespace MediaConvert
385 } // namespace Aws
Aws::MediaConvert::Model::Mp4Settings::SetCslgAtom
void SetCslgAtom(Mp4CslgAtom &&value)
Definition: Mp4Settings.h:180
Aws::MediaConvert::Model::Mp4Settings::WithMoovPlacement
Mp4Settings & WithMoovPlacement(Mp4MoovPlacement &&value)
Definition: Mp4Settings.h:311
Aws::MediaConvert::Model::Mp4Settings::AudioDurationHasBeenSet
bool AudioDurationHasBeenSet() const
Definition: Mp4Settings.h:79
Aws::MediaConvert::Model::CmfcAudioDuration
CmfcAudioDuration
Definition: CmfcAudioDuration.h:17
Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand
void SetMp4MajorBrand(const Aws::String &value)
Definition: Mp4Settings.h:330
Mp4CslgAtom.h
Aws::MediaConvert::Model::Mp4Settings::GetCttsVersion
int GetCttsVersion() const
Definition: Mp4Settings.h:207
Aws::MediaConvert::Model::Mp4Settings::operator=
Mp4Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Mp4Settings::SetFreeSpaceBox
void SetFreeSpaceBox(Mp4FreeSpaceBox &&value)
Definition: Mp4Settings.h:258
Aws::MediaConvert::Model::Mp4Settings::SetCslgAtom
void SetCslgAtom(const Mp4CslgAtom &value)
Definition: Mp4Settings.h:172
Aws::MediaConvert::Model::Mp4Settings::CttsVersionHasBeenSet
bool CttsVersionHasBeenSet() const
Definition: Mp4Settings.h:217
Aws::MediaConvert::Model::Mp4Settings::SetAudioDuration
void SetAudioDuration(const CmfcAudioDuration &value)
Definition: Mp4Settings.h:96
Aws::MediaConvert::Model::Mp4Settings::MoovPlacementHasBeenSet
bool MoovPlacementHasBeenSet() const
Definition: Mp4Settings.h:283
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::Mp4Settings::SetMoovPlacement
void SetMoovPlacement(Mp4MoovPlacement &&value)
Definition: Mp4Settings.h:297
Aws::MediaConvert::Model::Mp4CslgAtom
Mp4CslgAtom
Definition: Mp4CslgAtom.h:17
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Mp4Settings
Definition: Mp4Settings.h:39
Aws::MediaConvert::Model::Mp4Settings::GetAudioDuration
const CmfcAudioDuration & GetAudioDuration() const
Definition: Mp4Settings.h:62
Aws::MediaConvert::Model::Mp4Settings::WithMoovPlacement
Mp4Settings & WithMoovPlacement(const Mp4MoovPlacement &value)
Definition: Mp4Settings.h:304
Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand
Mp4Settings & WithMp4MajorBrand(const Aws::String &value)
Definition: Mp4Settings.h:348
Aws::MediaConvert::Model::Mp4Settings::SetCttsVersion
void SetCttsVersion(int value)
Definition: Mp4Settings.h:227
Aws::MediaConvert::Model::Mp4Settings::CslgAtomHasBeenSet
bool CslgAtomHasBeenSet() const
Definition: Mp4Settings.h:164
Aws::MediaConvert::Model::Mp4Settings::SetFreeSpaceBox
void SetFreeSpaceBox(const Mp4FreeSpaceBox &value)
Definition: Mp4Settings.h:253
Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand
void SetMp4MajorBrand(Aws::String &&value)
Definition: Mp4Settings.h:336
Aws::MediaConvert::Model::Mp4MoovPlacement
Mp4MoovPlacement
Definition: Mp4MoovPlacement.h:17
Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand
Mp4Settings & WithMp4MajorBrand(Aws::String &&value)
Definition: Mp4Settings.h:354
Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand
void SetMp4MajorBrand(const char *value)
Definition: Mp4Settings.h:342
Aws::MediaConvert::Model::Mp4Settings::Mp4Settings
Mp4Settings(Aws::Utils::Json::JsonView jsonValue)
Mp4FreeSpaceBox.h
Mp4MoovPlacement.h
Aws::MediaConvert::Model::Mp4Settings::SetMoovPlacement
void SetMoovPlacement(const Mp4MoovPlacement &value)
Definition: Mp4Settings.h:290
Aws::MediaConvert::Model::Mp4Settings::WithAudioDuration
Mp4Settings & WithAudioDuration(const CmfcAudioDuration &value)
Definition: Mp4Settings.h:130
Aws::MediaConvert::Model::Mp4Settings::GetFreeSpaceBox
const Mp4FreeSpaceBox & GetFreeSpaceBox() const
Definition: Mp4Settings.h:243
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Mp4Settings::SetAudioDuration
void SetAudioDuration(CmfcAudioDuration &&value)
Definition: Mp4Settings.h:113
Aws::MediaConvert::Model::Mp4Settings::Mp4Settings
Mp4Settings()
Aws::MediaConvert::Model::Mp4Settings::GetMoovPlacement
const Mp4MoovPlacement & GetMoovPlacement() const
Definition: Mp4Settings.h:276
Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand
Mp4Settings & WithMp4MajorBrand(const char *value)
Definition: Mp4Settings.h:360
Aws::MediaConvert::Model::Mp4Settings::Mp4MajorBrandHasBeenSet
bool Mp4MajorBrandHasBeenSet() const
Definition: Mp4Settings.h:324
Aws::MediaConvert::Model::Mp4Settings::WithCttsVersion
Mp4Settings & WithCttsVersion(int value)
Definition: Mp4Settings.h:237
Aws::MediaConvert::Model::Mp4Settings::WithAudioDuration
Mp4Settings & WithAudioDuration(CmfcAudioDuration &&value)
Definition: Mp4Settings.h:147
Aws::MediaConvert::Model::Mp4Settings::GetCslgAtom
const Mp4CslgAtom & GetCslgAtom() const
Definition: Mp4Settings.h:156
Aws::MediaConvert::Model::Mp4FreeSpaceBox
Mp4FreeSpaceBox
Definition: Mp4FreeSpaceBox.h:17
Aws::MediaConvert::Model::Mp4Settings::WithFreeSpaceBox
Mp4Settings & WithFreeSpaceBox(const Mp4FreeSpaceBox &value)
Definition: Mp4Settings.h:263
CmfcAudioDuration.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Mp4Settings::GetMp4MajorBrand
const Aws::String & GetMp4MajorBrand() const
Definition: Mp4Settings.h:318
Aws::MediaConvert::Model::Mp4Settings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::Mp4Settings::FreeSpaceBoxHasBeenSet
bool FreeSpaceBoxHasBeenSet() const
Definition: Mp4Settings.h:248
Aws::MediaConvert::Model::Mp4Settings::WithCslgAtom
Mp4Settings & WithCslgAtom(Mp4CslgAtom &&value)
Definition: Mp4Settings.h:196
Aws::MediaConvert::Model::Mp4Settings::WithFreeSpaceBox
Mp4Settings & WithFreeSpaceBox(Mp4FreeSpaceBox &&value)
Definition: Mp4Settings.h:268
Aws::MediaConvert::Model::Mp4Settings::WithCslgAtom
Mp4Settings & WithCslgAtom(const Mp4CslgAtom &value)
Definition: Mp4Settings.h:188