AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/Mp4CslgAtom.h>
10#include <aws/mediaconvert/model/Mp4FreeSpaceBox.h>
11#include <aws/mediaconvert/model/Mp4MoovPlacement.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConvert
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_MEDIACONVERT_API Mp4Settings();
42 AWS_MEDIACONVERT_API Mp4Settings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONVERT_API Mp4Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
62 inline const CmfcAudioDuration& GetAudioDuration() const{ return m_audioDuration; }
63 inline bool AudioDurationHasBeenSet() const { return m_audioDurationHasBeenSet; }
64 inline void SetAudioDuration(const CmfcAudioDuration& value) { m_audioDurationHasBeenSet = true; m_audioDuration = value; }
65 inline void SetAudioDuration(CmfcAudioDuration&& value) { m_audioDurationHasBeenSet = true; m_audioDuration = std::move(value); }
66 inline Mp4Settings& WithAudioDuration(const CmfcAudioDuration& value) { SetAudioDuration(value); return *this;}
67 inline Mp4Settings& WithAudioDuration(CmfcAudioDuration&& value) { SetAudioDuration(std::move(value)); return *this;}
69
71
77 inline const Mp4CslgAtom& GetCslgAtom() const{ return m_cslgAtom; }
78 inline bool CslgAtomHasBeenSet() const { return m_cslgAtomHasBeenSet; }
79 inline void SetCslgAtom(const Mp4CslgAtom& value) { m_cslgAtomHasBeenSet = true; m_cslgAtom = value; }
80 inline void SetCslgAtom(Mp4CslgAtom&& value) { m_cslgAtomHasBeenSet = true; m_cslgAtom = std::move(value); }
81 inline Mp4Settings& WithCslgAtom(const Mp4CslgAtom& value) { SetCslgAtom(value); return *this;}
82 inline Mp4Settings& WithCslgAtom(Mp4CslgAtom&& value) { SetCslgAtom(std::move(value)); return *this;}
84
86
94 inline int GetCttsVersion() const{ return m_cttsVersion; }
95 inline bool CttsVersionHasBeenSet() const { return m_cttsVersionHasBeenSet; }
96 inline void SetCttsVersion(int value) { m_cttsVersionHasBeenSet = true; m_cttsVersion = value; }
97 inline Mp4Settings& WithCttsVersion(int value) { SetCttsVersion(value); return *this;}
99
101
104 inline const Mp4FreeSpaceBox& GetFreeSpaceBox() const{ return m_freeSpaceBox; }
105 inline bool FreeSpaceBoxHasBeenSet() const { return m_freeSpaceBoxHasBeenSet; }
106 inline void SetFreeSpaceBox(const Mp4FreeSpaceBox& value) { m_freeSpaceBoxHasBeenSet = true; m_freeSpaceBox = value; }
107 inline void SetFreeSpaceBox(Mp4FreeSpaceBox&& value) { m_freeSpaceBoxHasBeenSet = true; m_freeSpaceBox = std::move(value); }
108 inline Mp4Settings& WithFreeSpaceBox(const Mp4FreeSpaceBox& value) { SetFreeSpaceBox(value); return *this;}
109 inline Mp4Settings& WithFreeSpaceBox(Mp4FreeSpaceBox&& value) { SetFreeSpaceBox(std::move(value)); return *this;}
111
113
118 inline const Mp4MoovPlacement& GetMoovPlacement() const{ return m_moovPlacement; }
119 inline bool MoovPlacementHasBeenSet() const { return m_moovPlacementHasBeenSet; }
120 inline void SetMoovPlacement(const Mp4MoovPlacement& value) { m_moovPlacementHasBeenSet = true; m_moovPlacement = value; }
121 inline void SetMoovPlacement(Mp4MoovPlacement&& value) { m_moovPlacementHasBeenSet = true; m_moovPlacement = std::move(value); }
122 inline Mp4Settings& WithMoovPlacement(const Mp4MoovPlacement& value) { SetMoovPlacement(value); return *this;}
123 inline Mp4Settings& WithMoovPlacement(Mp4MoovPlacement&& value) { SetMoovPlacement(std::move(value)); return *this;}
125
127
131 inline const Aws::String& GetMp4MajorBrand() const{ return m_mp4MajorBrand; }
132 inline bool Mp4MajorBrandHasBeenSet() const { return m_mp4MajorBrandHasBeenSet; }
133 inline void SetMp4MajorBrand(const Aws::String& value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand = value; }
134 inline void SetMp4MajorBrand(Aws::String&& value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand = std::move(value); }
135 inline void SetMp4MajorBrand(const char* value) { m_mp4MajorBrandHasBeenSet = true; m_mp4MajorBrand.assign(value); }
136 inline Mp4Settings& WithMp4MajorBrand(const Aws::String& value) { SetMp4MajorBrand(value); return *this;}
137 inline Mp4Settings& WithMp4MajorBrand(Aws::String&& value) { SetMp4MajorBrand(std::move(value)); return *this;}
138 inline Mp4Settings& WithMp4MajorBrand(const char* value) { SetMp4MajorBrand(value); return *this;}
140 private:
141
142 CmfcAudioDuration m_audioDuration;
143 bool m_audioDurationHasBeenSet = false;
144
145 Mp4CslgAtom m_cslgAtom;
146 bool m_cslgAtomHasBeenSet = false;
147
148 int m_cttsVersion;
149 bool m_cttsVersionHasBeenSet = false;
150
151 Mp4FreeSpaceBox m_freeSpaceBox;
152 bool m_freeSpaceBoxHasBeenSet = false;
153
154 Mp4MoovPlacement m_moovPlacement;
155 bool m_moovPlacementHasBeenSet = false;
156
157 Aws::String m_mp4MajorBrand;
158 bool m_mp4MajorBrandHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace MediaConvert
163} // namespace Aws
void SetMp4MajorBrand(const Aws::String &value)
const Aws::String & GetMp4MajorBrand() const
Mp4Settings & WithAudioDuration(CmfcAudioDuration &&value)
Definition Mp4Settings.h:67
Mp4Settings & WithMoovPlacement(Mp4MoovPlacement &&value)
Mp4Settings & WithMp4MajorBrand(const char *value)
Mp4Settings & WithFreeSpaceBox(const Mp4FreeSpaceBox &value)
void SetFreeSpaceBox(Mp4FreeSpaceBox &&value)
Mp4Settings & WithMoovPlacement(const Mp4MoovPlacement &value)
void SetCslgAtom(const Mp4CslgAtom &value)
Definition Mp4Settings.h:79
const Mp4MoovPlacement & GetMoovPlacement() const
const CmfcAudioDuration & GetAudioDuration() const
Definition Mp4Settings.h:62
void SetCslgAtom(Mp4CslgAtom &&value)
Definition Mp4Settings.h:80
Mp4Settings & WithCslgAtom(const Mp4CslgAtom &value)
Definition Mp4Settings.h:81
Mp4Settings & WithCslgAtom(Mp4CslgAtom &&value)
Definition Mp4Settings.h:82
Mp4Settings & WithCttsVersion(int value)
Definition Mp4Settings.h:97
void SetAudioDuration(const CmfcAudioDuration &value)
Definition Mp4Settings.h:64
const Mp4CslgAtom & GetCslgAtom() const
Definition Mp4Settings.h:77
void SetFreeSpaceBox(const Mp4FreeSpaceBox &value)
Mp4Settings & WithAudioDuration(const CmfcAudioDuration &value)
Definition Mp4Settings.h:66
Mp4Settings & WithMp4MajorBrand(const Aws::String &value)
void SetMoovPlacement(const Mp4MoovPlacement &value)
void SetMp4MajorBrand(const char *value)
void SetMoovPlacement(Mp4MoovPlacement &&value)
Mp4Settings & WithMp4MajorBrand(Aws::String &&value)
AWS_MEDIACONVERT_API Mp4Settings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Mp4Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Mp4FreeSpaceBox & GetFreeSpaceBox() const
void SetAudioDuration(CmfcAudioDuration &&value)
Definition Mp4Settings.h:65
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Mp4Settings & WithFreeSpaceBox(Mp4FreeSpaceBox &&value)
void SetMp4MajorBrand(Aws::String &&value)
AWS_MEDIACONVERT_API Mp4Settings()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue