AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TimecodeConfig.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/TimecodeConfigSource.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API TimecodeConfig() = default;
35 AWS_MEDIALIVE_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
52 inline TimecodeConfigSource GetSource() const { return m_source; }
53 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
54 inline void SetSource(TimecodeConfigSource value) { m_sourceHasBeenSet = true; m_source = value; }
55 inline TimecodeConfig& WithSource(TimecodeConfigSource value) { SetSource(value); return *this;}
57
59
65 inline int GetSyncThreshold() const { return m_syncThreshold; }
66 inline bool SyncThresholdHasBeenSet() const { return m_syncThresholdHasBeenSet; }
67 inline void SetSyncThreshold(int value) { m_syncThresholdHasBeenSet = true; m_syncThreshold = value; }
68 inline TimecodeConfig& WithSyncThreshold(int value) { SetSyncThreshold(value); return *this;}
70 private:
71
73 bool m_sourceHasBeenSet = false;
74
75 int m_syncThreshold{0};
76 bool m_syncThresholdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MediaLive
81} // namespace Aws
AWS_MEDIALIVE_API TimecodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSource(TimecodeConfigSource value)
TimecodeConfigSource GetSource() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
TimecodeConfig & WithSyncThreshold(int value)
TimecodeConfig & WithSource(TimecodeConfigSource value)
AWS_MEDIALIVE_API TimecodeConfig()=default
Aws::Utils::Json::JsonValue JsonValue