AWS SDK for C++  1.9.160
AWS SDK for C++
FileSourceSettings.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace MediaConvert
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
53  inline const FileSourceConvert608To708& GetConvert608To708() const{ return m_convert608To708; }
54 
62  inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
63 
71  inline void SetConvert608To708(const FileSourceConvert608To708& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
72 
80  inline void SetConvert608To708(FileSourceConvert608To708&& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = std::move(value); }
81 
89  inline FileSourceSettings& WithConvert608To708(const FileSourceConvert608To708& value) { SetConvert608To708(value); return *this;}
90 
98  inline FileSourceSettings& WithConvert608To708(FileSourceConvert608To708&& value) { SetConvert608To708(std::move(value)); return *this;}
99 
100 
110  inline const CaptionSourceFramerate& GetFramerate() const{ return m_framerate; }
111 
121  inline bool FramerateHasBeenSet() const { return m_framerateHasBeenSet; }
122 
132  inline void SetFramerate(const CaptionSourceFramerate& value) { m_framerateHasBeenSet = true; m_framerate = value; }
133 
143  inline void SetFramerate(CaptionSourceFramerate&& value) { m_framerateHasBeenSet = true; m_framerate = std::move(value); }
144 
154  inline FileSourceSettings& WithFramerate(const CaptionSourceFramerate& value) { SetFramerate(value); return *this;}
155 
165  inline FileSourceSettings& WithFramerate(CaptionSourceFramerate&& value) { SetFramerate(std::move(value)); return *this;}
166 
167 
172  inline const Aws::String& GetSourceFile() const{ return m_sourceFile; }
173 
178  inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; }
179 
184  inline void SetSourceFile(const Aws::String& value) { m_sourceFileHasBeenSet = true; m_sourceFile = value; }
185 
190  inline void SetSourceFile(Aws::String&& value) { m_sourceFileHasBeenSet = true; m_sourceFile = std::move(value); }
191 
196  inline void SetSourceFile(const char* value) { m_sourceFileHasBeenSet = true; m_sourceFile.assign(value); }
197 
202  inline FileSourceSettings& WithSourceFile(const Aws::String& value) { SetSourceFile(value); return *this;}
203 
208  inline FileSourceSettings& WithSourceFile(Aws::String&& value) { SetSourceFile(std::move(value)); return *this;}
209 
214  inline FileSourceSettings& WithSourceFile(const char* value) { SetSourceFile(value); return *this;}
215 
216 
232  inline int GetTimeDelta() const{ return m_timeDelta; }
233 
249  inline bool TimeDeltaHasBeenSet() const { return m_timeDeltaHasBeenSet; }
250 
266  inline void SetTimeDelta(int value) { m_timeDeltaHasBeenSet = true; m_timeDelta = value; }
267 
283  inline FileSourceSettings& WithTimeDelta(int value) { SetTimeDelta(value); return *this;}
284 
285 
292  inline const FileSourceTimeDeltaUnits& GetTimeDeltaUnits() const{ return m_timeDeltaUnits; }
293 
300  inline bool TimeDeltaUnitsHasBeenSet() const { return m_timeDeltaUnitsHasBeenSet; }
301 
308  inline void SetTimeDeltaUnits(const FileSourceTimeDeltaUnits& value) { m_timeDeltaUnitsHasBeenSet = true; m_timeDeltaUnits = value; }
309 
316  inline void SetTimeDeltaUnits(FileSourceTimeDeltaUnits&& value) { m_timeDeltaUnitsHasBeenSet = true; m_timeDeltaUnits = std::move(value); }
317 
324  inline FileSourceSettings& WithTimeDeltaUnits(const FileSourceTimeDeltaUnits& value) { SetTimeDeltaUnits(value); return *this;}
325 
332  inline FileSourceSettings& WithTimeDeltaUnits(FileSourceTimeDeltaUnits&& value) { SetTimeDeltaUnits(std::move(value)); return *this;}
333 
334  private:
335 
336  FileSourceConvert608To708 m_convert608To708;
337  bool m_convert608To708HasBeenSet;
338 
339  CaptionSourceFramerate m_framerate;
340  bool m_framerateHasBeenSet;
341 
342  Aws::String m_sourceFile;
343  bool m_sourceFileHasBeenSet;
344 
345  int m_timeDelta;
346  bool m_timeDeltaHasBeenSet;
347 
348  FileSourceTimeDeltaUnits m_timeDeltaUnits;
349  bool m_timeDeltaUnitsHasBeenSet;
350  };
351 
352 } // namespace Model
353 } // namespace MediaConvert
354 } // namespace Aws
Aws::MediaConvert::Model::FileSourceSettings::GetFramerate
const CaptionSourceFramerate & GetFramerate() const
Definition: FileSourceSettings.h:110
Aws::MediaConvert::Model::FileSourceTimeDeltaUnits
FileSourceTimeDeltaUnits
Definition: FileSourceTimeDeltaUnits.h:17
Aws::MediaConvert::Model::FileSourceSettings::WithTimeDeltaUnits
FileSourceSettings & WithTimeDeltaUnits(FileSourceTimeDeltaUnits &&value)
Definition: FileSourceSettings.h:332
Aws::MediaConvert::Model::FileSourceSettings::SetFramerate
void SetFramerate(const CaptionSourceFramerate &value)
Definition: FileSourceSettings.h:132
Aws::MediaConvert::Model::FileSourceSettings::WithTimeDeltaUnits
FileSourceSettings & WithTimeDeltaUnits(const FileSourceTimeDeltaUnits &value)
Definition: FileSourceSettings.h:324
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::FileSourceSettings::SetSourceFile
void SetSourceFile(Aws::String &&value)
Definition: FileSourceSettings.h:190
Aws::MediaConvert::Model::FileSourceSettings::GetConvert608To708
const FileSourceConvert608To708 & GetConvert608To708() const
Definition: FileSourceSettings.h:53
Aws::MediaConvert::Model::FileSourceSettings::GetSourceFile
const Aws::String & GetSourceFile() const
Definition: FileSourceSettings.h:172
Aws::MediaConvert::Model::FileSourceSettings
Definition: FileSourceSettings.h:38
FileSourceConvert608To708.h
Aws::MediaConvert::Model::FileSourceSettings::SetFramerate
void SetFramerate(CaptionSourceFramerate &&value)
Definition: FileSourceSettings.h:143
FileSourceTimeDeltaUnits.h
Aws::MediaConvert::Model::FileSourceSettings::SetConvert608To708
void SetConvert608To708(FileSourceConvert608To708 &&value)
Definition: FileSourceSettings.h:80
Aws::MediaConvert::Model::FileSourceSettings::WithSourceFile
FileSourceSettings & WithSourceFile(const Aws::String &value)
Definition: FileSourceSettings.h:202
Aws::MediaConvert::Model::FileSourceSettings::TimeDeltaHasBeenSet
bool TimeDeltaHasBeenSet() const
Definition: FileSourceSettings.h:249
Aws::MediaConvert::Model::FileSourceSettings::SetConvert608To708
void SetConvert608To708(const FileSourceConvert608To708 &value)
Definition: FileSourceSettings.h:71
Aws::MediaConvert::Model::FileSourceSettings::FramerateHasBeenSet
bool FramerateHasBeenSet() const
Definition: FileSourceSettings.h:121
Aws::MediaConvert::Model::FileSourceSettings::FileSourceSettings
FileSourceSettings()
Aws::MediaConvert::Model::FileSourceSettings::TimeDeltaUnitsHasBeenSet
bool TimeDeltaUnitsHasBeenSet() const
Definition: FileSourceSettings.h:300
Aws::MediaConvert::Model::FileSourceSettings::WithSourceFile
FileSourceSettings & WithSourceFile(Aws::String &&value)
Definition: FileSourceSettings.h:208
Aws::MediaConvert::Model::FileSourceSettings::WithConvert608To708
FileSourceSettings & WithConvert608To708(const FileSourceConvert608To708 &value)
Definition: FileSourceSettings.h:89
CaptionSourceFramerate.h
Aws::MediaConvert::Model::FileSourceSettings::WithTimeDelta
FileSourceSettings & WithTimeDelta(int value)
Definition: FileSourceSettings.h:283
Aws::MediaConvert::Model::FileSourceSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::FileSourceSettings::SetTimeDeltaUnits
void SetTimeDeltaUnits(const FileSourceTimeDeltaUnits &value)
Definition: FileSourceSettings.h:308
Aws::MediaConvert::Model::FileSourceSettings::SetTimeDelta
void SetTimeDelta(int value)
Definition: FileSourceSettings.h:266
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::FileSourceSettings::WithSourceFile
FileSourceSettings & WithSourceFile(const char *value)
Definition: FileSourceSettings.h:214
Aws::MediaConvert::Model::FileSourceSettings::GetTimeDeltaUnits
const FileSourceTimeDeltaUnits & GetTimeDeltaUnits() const
Definition: FileSourceSettings.h:292
Aws::MediaConvert::Model::FileSourceSettings::SourceFileHasBeenSet
bool SourceFileHasBeenSet() const
Definition: FileSourceSettings.h:178
Aws::MediaConvert::Model::FileSourceSettings::SetSourceFile
void SetSourceFile(const Aws::String &value)
Definition: FileSourceSettings.h:184
Aws::MediaConvert::Model::FileSourceSettings::SetTimeDeltaUnits
void SetTimeDeltaUnits(FileSourceTimeDeltaUnits &&value)
Definition: FileSourceSettings.h:316
Aws::MediaConvert::Model::FileSourceSettings::operator=
FileSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::CaptionSourceFramerate
Definition: CaptionSourceFramerate.h:36
Aws::MediaConvert::Model::FileSourceSettings::SetSourceFile
void SetSourceFile(const char *value)
Definition: FileSourceSettings.h:196
Aws::MediaConvert::Model::FileSourceSettings::FileSourceSettings
FileSourceSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::FileSourceSettings::GetTimeDelta
int GetTimeDelta() const
Definition: FileSourceSettings.h:232
Aws::MediaConvert::Model::FileSourceSettings::WithFramerate
FileSourceSettings & WithFramerate(const CaptionSourceFramerate &value)
Definition: FileSourceSettings.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::FileSourceSettings::WithConvert608To708
FileSourceSettings & WithConvert608To708(FileSourceConvert608To708 &&value)
Definition: FileSourceSettings.h:98
Aws::MediaConvert::Model::FileSourceConvert608To708
FileSourceConvert608To708
Definition: FileSourceConvert608To708.h:17
Aws::MediaConvert::Model::FileSourceSettings::WithFramerate
FileSourceSettings & WithFramerate(CaptionSourceFramerate &&value)
Definition: FileSourceSettings.h:165
Aws::MediaConvert::Model::FileSourceSettings::Convert608To708HasBeenSet
bool Convert608To708HasBeenSet() const
Definition: FileSourceSettings.h:62