AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileSourceSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/CaptionSourceByteRateLimit.h>
9#include <aws/mediaconvert/model/FileSourceConvert608To708.h>
10#include <aws/mediaconvert/model/CaptionSourceConvertPaintOnToPopOn.h>
11#include <aws/mediaconvert/model/CaptionSourceFramerate.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/mediaconvert/model/FileSourceTimeDeltaUnits.h>
14#include <aws/mediaconvert/model/CaptionSourceUpconvertSTLToTeletext.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_MEDIACONVERT_API FileSourceSettings() = default;
44 AWS_MEDIACONVERT_API FileSourceSettings(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
60 inline CaptionSourceByteRateLimit GetByteRateLimit() const { return m_byteRateLimit; }
61 inline bool ByteRateLimitHasBeenSet() const { return m_byteRateLimitHasBeenSet; }
62 inline void SetByteRateLimit(CaptionSourceByteRateLimit value) { m_byteRateLimitHasBeenSet = true; m_byteRateLimit = value; }
65
67
73 inline FileSourceConvert608To708 GetConvert608To708() const { return m_convert608To708; }
74 inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
75 inline void SetConvert608To708(FileSourceConvert608To708 value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
78
80
86 inline CaptionSourceConvertPaintOnToPopOn GetConvertPaintToPop() const { return m_convertPaintToPop; }
87 inline bool ConvertPaintToPopHasBeenSet() const { return m_convertPaintToPopHasBeenSet; }
88 inline void SetConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn value) { m_convertPaintToPopHasBeenSet = true; m_convertPaintToPop = value; }
91
93
100 inline const CaptionSourceFramerate& GetFramerate() const { return m_framerate; }
101 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
102 template<typename FramerateT = CaptionSourceFramerate>
103 void SetFramerate(FramerateT&& value) { m_framerateHasBeenSet = true; m_framerate = std::forward<FramerateT>(value); }
104 template<typename FramerateT = CaptionSourceFramerate>
105 FileSourceSettings& WithFramerate(FramerateT&& value) { SetFramerate(std::forward<FramerateT>(value)); return *this;}
107
109
113 inline const Aws::String& GetSourceFile() const { return m_sourceFile; }
114 inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; }
115 template<typename SourceFileT = Aws::String>
116 void SetSourceFile(SourceFileT&& value) { m_sourceFileHasBeenSet = true; m_sourceFile = std::forward<SourceFileT>(value); }
117 template<typename SourceFileT = Aws::String>
118 FileSourceSettings& WithSourceFile(SourceFileT&& value) { SetSourceFile(std::forward<SourceFileT>(value)); return *this;}
120
122
137 inline int GetTimeDelta() const { return m_timeDelta; }
138 inline bool TimeDeltaHasBeenSet() const { return m_timeDeltaHasBeenSet; }
139 inline void SetTimeDelta(int value) { m_timeDeltaHasBeenSet = true; m_timeDelta = value; }
140 inline FileSourceSettings& WithTimeDelta(int value) { SetTimeDelta(value); return *this;}
142
144
150 inline FileSourceTimeDeltaUnits GetTimeDeltaUnits() const { return m_timeDeltaUnits; }
151 inline bool TimeDeltaUnitsHasBeenSet() const { return m_timeDeltaUnitsHasBeenSet; }
152 inline void SetTimeDeltaUnits(FileSourceTimeDeltaUnits value) { m_timeDeltaUnitsHasBeenSet = true; m_timeDeltaUnits = value; }
155
157
164 inline CaptionSourceUpconvertSTLToTeletext GetUpconvertSTLToTeletext() const { return m_upconvertSTLToTeletext; }
165 inline bool UpconvertSTLToTeletextHasBeenSet() const { return m_upconvertSTLToTeletextHasBeenSet; }
166 inline void SetUpconvertSTLToTeletext(CaptionSourceUpconvertSTLToTeletext value) { m_upconvertSTLToTeletextHasBeenSet = true; m_upconvertSTLToTeletext = value; }
169 private:
170
172 bool m_byteRateLimitHasBeenSet = false;
173
175 bool m_convert608To708HasBeenSet = false;
176
178 bool m_convertPaintToPopHasBeenSet = false;
179
180 CaptionSourceFramerate m_framerate;
181 bool m_framerateHasBeenSet = false;
182
183 Aws::String m_sourceFile;
184 bool m_sourceFileHasBeenSet = false;
185
186 int m_timeDelta{0};
187 bool m_timeDeltaHasBeenSet = false;
188
190 bool m_timeDeltaUnitsHasBeenSet = false;
191
193 bool m_upconvertSTLToTeletextHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace MediaConvert
198} // 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