AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <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 FileSourceSettings();
43 AWS_MEDIACONVERT_API FileSourceSettings(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
59 inline const CaptionSourceByteRateLimit& GetByteRateLimit() const{ return m_byteRateLimit; }
60 inline bool ByteRateLimitHasBeenSet() const { return m_byteRateLimitHasBeenSet; }
61 inline void SetByteRateLimit(const CaptionSourceByteRateLimit& value) { m_byteRateLimitHasBeenSet = true; m_byteRateLimit = value; }
62 inline void SetByteRateLimit(CaptionSourceByteRateLimit&& value) { m_byteRateLimitHasBeenSet = true; m_byteRateLimit = std::move(value); }
64 inline FileSourceSettings& WithByteRateLimit(CaptionSourceByteRateLimit&& value) { SetByteRateLimit(std::move(value)); return *this;}
66
68
74 inline const FileSourceConvert608To708& GetConvert608To708() const{ return m_convert608To708; }
75 inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
76 inline void SetConvert608To708(const FileSourceConvert608To708& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
77 inline void SetConvert608To708(FileSourceConvert608To708&& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = std::move(value); }
79 inline FileSourceSettings& WithConvert608To708(FileSourceConvert608To708&& value) { SetConvert608To708(std::move(value)); return *this;}
81
83
89 inline const CaptionSourceConvertPaintOnToPopOn& GetConvertPaintToPop() const{ return m_convertPaintToPop; }
90 inline bool ConvertPaintToPopHasBeenSet() const { return m_convertPaintToPopHasBeenSet; }
91 inline void SetConvertPaintToPop(const CaptionSourceConvertPaintOnToPopOn& value) { m_convertPaintToPopHasBeenSet = true; m_convertPaintToPop = value; }
92 inline void SetConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn&& value) { m_convertPaintToPopHasBeenSet = true; m_convertPaintToPop = std::move(value); }
96
98
105 inline const CaptionSourceFramerate& GetFramerate() const{ return m_framerate; }
106 inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
107 inline void SetFramerate(const CaptionSourceFramerate& value) { m_framerateHasBeenSet = true; m_framerate = value; }
108 inline void SetFramerate(CaptionSourceFramerate&& value) { m_framerateHasBeenSet = true; m_framerate = std::move(value); }
109 inline FileSourceSettings& WithFramerate(const CaptionSourceFramerate& value) { SetFramerate(value); return *this;}
110 inline FileSourceSettings& WithFramerate(CaptionSourceFramerate&& value) { SetFramerate(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetSourceFile() const{ return m_sourceFile; }
119 inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; }
120 inline void SetSourceFile(const Aws::String& value) { m_sourceFileHasBeenSet = true; m_sourceFile = value; }
121 inline void SetSourceFile(Aws::String&& value) { m_sourceFileHasBeenSet = true; m_sourceFile = std::move(value); }
122 inline void SetSourceFile(const char* value) { m_sourceFileHasBeenSet = true; m_sourceFile.assign(value); }
123 inline FileSourceSettings& WithSourceFile(const Aws::String& value) { SetSourceFile(value); return *this;}
124 inline FileSourceSettings& WithSourceFile(Aws::String&& value) { SetSourceFile(std::move(value)); return *this;}
125 inline FileSourceSettings& WithSourceFile(const char* value) { SetSourceFile(value); return *this;}
127
129
144 inline int GetTimeDelta() const{ return m_timeDelta; }
145 inline bool TimeDeltaHasBeenSet() const { return m_timeDeltaHasBeenSet; }
146 inline void SetTimeDelta(int value) { m_timeDeltaHasBeenSet = true; m_timeDelta = value; }
147 inline FileSourceSettings& WithTimeDelta(int value) { SetTimeDelta(value); return *this;}
149
151
157 inline const FileSourceTimeDeltaUnits& GetTimeDeltaUnits() const{ return m_timeDeltaUnits; }
158 inline bool TimeDeltaUnitsHasBeenSet() const { return m_timeDeltaUnitsHasBeenSet; }
159 inline void SetTimeDeltaUnits(const FileSourceTimeDeltaUnits& value) { m_timeDeltaUnitsHasBeenSet = true; m_timeDeltaUnits = value; }
160 inline void SetTimeDeltaUnits(FileSourceTimeDeltaUnits&& value) { m_timeDeltaUnitsHasBeenSet = true; m_timeDeltaUnits = std::move(value); }
162 inline FileSourceSettings& WithTimeDeltaUnits(FileSourceTimeDeltaUnits&& value) { SetTimeDeltaUnits(std::move(value)); return *this;}
164 private:
165
166 CaptionSourceByteRateLimit m_byteRateLimit;
167 bool m_byteRateLimitHasBeenSet = false;
168
169 FileSourceConvert608To708 m_convert608To708;
170 bool m_convert608To708HasBeenSet = false;
171
172 CaptionSourceConvertPaintOnToPopOn m_convertPaintToPop;
173 bool m_convertPaintToPopHasBeenSet = false;
174
175 CaptionSourceFramerate m_framerate;
176 bool m_framerateHasBeenSet = false;
177
178 Aws::String m_sourceFile;
179 bool m_sourceFileHasBeenSet = false;
180
181 int m_timeDelta;
182 bool m_timeDeltaHasBeenSet = false;
183
184 FileSourceTimeDeltaUnits m_timeDeltaUnits;
185 bool m_timeDeltaUnitsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace MediaConvert
190} // namespace Aws
const CaptionSourceByteRateLimit & GetByteRateLimit() const
AWS_MEDIACONVERT_API FileSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSourceSettings & WithTimeDelta(int value)
const CaptionSourceConvertPaintOnToPopOn & GetConvertPaintToPop() const
FileSourceSettings & WithConvertPaintToPop(const CaptionSourceConvertPaintOnToPopOn &value)
void SetConvertPaintToPop(const CaptionSourceConvertPaintOnToPopOn &value)
void SetConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn &&value)
FileSourceSettings & WithByteRateLimit(const CaptionSourceByteRateLimit &value)
FileSourceSettings & WithByteRateLimit(CaptionSourceByteRateLimit &&value)
FileSourceSettings & WithTimeDeltaUnits(const FileSourceTimeDeltaUnits &value)
const CaptionSourceFramerate & GetFramerate() const
void SetFramerate(CaptionSourceFramerate &&value)
void SetConvert608To708(FileSourceConvert608To708 &&value)
void SetTimeDeltaUnits(FileSourceTimeDeltaUnits &&value)
FileSourceSettings & WithTimeDeltaUnits(FileSourceTimeDeltaUnits &&value)
AWS_MEDIACONVERT_API FileSourceSettings(Aws::Utils::Json::JsonView jsonValue)
FileSourceSettings & WithSourceFile(const char *value)
const FileSourceConvert608To708 & GetConvert608To708() const
const FileSourceTimeDeltaUnits & GetTimeDeltaUnits() const
FileSourceSettings & WithConvert608To708(FileSourceConvert608To708 &&value)
void SetFramerate(const CaptionSourceFramerate &value)
FileSourceSettings & WithSourceFile(Aws::String &&value)
FileSourceSettings & WithConvertPaintToPop(CaptionSourceConvertPaintOnToPopOn &&value)
FileSourceSettings & WithConvert608To708(const FileSourceConvert608To708 &value)
FileSourceSettings & WithFramerate(CaptionSourceFramerate &&value)
void SetByteRateLimit(CaptionSourceByteRateLimit &&value)
void SetConvert608To708(const FileSourceConvert608To708 &value)
FileSourceSettings & WithFramerate(const CaptionSourceFramerate &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeDeltaUnits(const FileSourceTimeDeltaUnits &value)
void SetByteRateLimit(const CaptionSourceByteRateLimit &value)
FileSourceSettings & WithSourceFile(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue