AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FileSourceSettings.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/CaptionSourceByteRateLimit.h>
10#include <aws/mediaconvert/model/CaptionSourceConvertPaintOnToPopOn.h>
11#include <aws/mediaconvert/model/CaptionSourceFramerate.h>
12#include <aws/mediaconvert/model/CaptionSourceUpconvertSTLToTeletext.h>
13#include <aws/mediaconvert/model/FileSourceConvert608To708.h>
14#include <aws/mediaconvert/model/FileSourceTimeDeltaUnits.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaConvert {
26namespace Model {
27
37 public:
38 AWS_MEDIACONVERT_API FileSourceSettings() = default;
39 AWS_MEDIACONVERT_API FileSourceSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
54 inline CaptionSourceByteRateLimit GetByteRateLimit() const { return m_byteRateLimit; }
55 inline bool ByteRateLimitHasBeenSet() const { return m_byteRateLimitHasBeenSet; }
57 m_byteRateLimitHasBeenSet = true;
58 m_byteRateLimit = value;
59 }
61 SetByteRateLimit(value);
62 return *this;
63 }
65
67
73 inline FileSourceConvert608To708 GetConvert608To708() const { return m_convert608To708; }
74 inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
76 m_convert608To708HasBeenSet = true;
77 m_convert608To708 = value;
78 }
80 SetConvert608To708(value);
81 return *this;
82 }
84
86
92 inline CaptionSourceConvertPaintOnToPopOn GetConvertPaintToPop() const { return m_convertPaintToPop; }
93 inline bool ConvertPaintToPopHasBeenSet() const { return m_convertPaintToPopHasBeenSet; }
95 m_convertPaintToPopHasBeenSet = true;
96 m_convertPaintToPop = value;
97 }
100 return *this;
101 }
103
105
112 inline const CaptionSourceFramerate& GetFramerate() const { return m_framerate; }
113 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
114 template <typename FramerateT = CaptionSourceFramerate>
115 void SetFramerate(FramerateT&& value) {
116 m_framerateHasBeenSet = true;
117 m_framerate = std::forward<FramerateT>(value);
118 }
119 template <typename FramerateT = CaptionSourceFramerate>
120 FileSourceSettings& WithFramerate(FramerateT&& value) {
121 SetFramerate(std::forward<FramerateT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetSourceFile() const { return m_sourceFile; }
132 inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; }
133 template <typename SourceFileT = Aws::String>
134 void SetSourceFile(SourceFileT&& value) {
135 m_sourceFileHasBeenSet = true;
136 m_sourceFile = std::forward<SourceFileT>(value);
137 }
138 template <typename SourceFileT = Aws::String>
139 FileSourceSettings& WithSourceFile(SourceFileT&& value) {
140 SetSourceFile(std::forward<SourceFileT>(value));
141 return *this;
142 }
144
146
161 inline int GetTimeDelta() const { return m_timeDelta; }
162 inline bool TimeDeltaHasBeenSet() const { return m_timeDeltaHasBeenSet; }
163 inline void SetTimeDelta(int value) {
164 m_timeDeltaHasBeenSet = true;
165 m_timeDelta = value;
166 }
168 SetTimeDelta(value);
169 return *this;
170 }
172
174
180 inline FileSourceTimeDeltaUnits GetTimeDeltaUnits() const { return m_timeDeltaUnits; }
181 inline bool TimeDeltaUnitsHasBeenSet() const { return m_timeDeltaUnitsHasBeenSet; }
183 m_timeDeltaUnitsHasBeenSet = true;
184 m_timeDeltaUnits = value;
185 }
187 SetTimeDeltaUnits(value);
188 return *this;
189 }
191
193
200 inline CaptionSourceUpconvertSTLToTeletext GetUpconvertSTLToTeletext() const { return m_upconvertSTLToTeletext; }
201 inline bool UpconvertSTLToTeletextHasBeenSet() const { return m_upconvertSTLToTeletextHasBeenSet; }
203 m_upconvertSTLToTeletextHasBeenSet = true;
204 m_upconvertSTLToTeletext = value;
205 }
208 return *this;
209 }
211 private:
213
215
217
218 CaptionSourceFramerate m_framerate;
219
220 Aws::String m_sourceFile;
221
222 int m_timeDelta{0};
223
225
227 bool m_byteRateLimitHasBeenSet = false;
228 bool m_convert608To708HasBeenSet = false;
229 bool m_convertPaintToPopHasBeenSet = false;
230 bool m_framerateHasBeenSet = false;
231 bool m_sourceFileHasBeenSet = false;
232 bool m_timeDeltaHasBeenSet = false;
233 bool m_timeDeltaUnitsHasBeenSet = false;
234 bool m_upconvertSTLToTeletextHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace MediaConvert
239} // namespace Aws
FileSourceSettings & WithFramerate(FramerateT &&value)
AWS_MEDIACONVERT_API FileSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSourceSettings & WithTimeDelta(int value)
FileSourceConvert608To708 GetConvert608To708() const
CaptionSourceByteRateLimit GetByteRateLimit() const
FileSourceSettings & WithByteRateLimit(CaptionSourceByteRateLimit value)
const CaptionSourceFramerate & GetFramerate() const
FileSourceSettings & WithConvert608To708(FileSourceConvert608To708 value)
FileSourceSettings & WithTimeDeltaUnits(FileSourceTimeDeltaUnits value)
FileSourceTimeDeltaUnits GetTimeDeltaUnits() const
CaptionSourceUpconvertSTLToTeletext GetUpconvertSTLToTeletext() const
AWS_MEDIACONVERT_API FileSourceSettings(Aws::Utils::Json::JsonView jsonValue)
void SetConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn value)
void SetUpconvertSTLToTeletext(CaptionSourceUpconvertSTLToTeletext value)
FileSourceSettings & WithSourceFile(SourceFileT &&value)
void SetByteRateLimit(CaptionSourceByteRateLimit value)
FileSourceSettings & WithUpconvertSTLToTeletext(CaptionSourceUpconvertSTLToTeletext value)
void SetTimeDeltaUnits(FileSourceTimeDeltaUnits value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
FileSourceSettings & WithConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn value)
AWS_MEDIACONVERT_API FileSourceSettings()=default
void SetConvert608To708(FileSourceConvert608To708 value)
CaptionSourceConvertPaintOnToPopOn GetConvertPaintToPop() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue