AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API TimecodeConfig() = default;
30 AWS_MEDIALIVE_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
46 inline TimecodeConfigSource GetSource() const { return m_source; }
47 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 inline void SetSource(TimecodeConfigSource value) {
49 m_sourceHasBeenSet = true;
50 m_source = value;
51 }
53 SetSource(value);
54 return *this;
55 }
57
59
65 inline int GetSyncThreshold() const { return m_syncThreshold; }
66 inline bool SyncThresholdHasBeenSet() const { return m_syncThresholdHasBeenSet; }
67 inline void SetSyncThreshold(int value) {
68 m_syncThresholdHasBeenSet = true;
69 m_syncThreshold = value;
70 }
71 inline TimecodeConfig& WithSyncThreshold(int value) {
72 SetSyncThreshold(value);
73 return *this;
74 }
76 private:
78
79 int m_syncThreshold{0};
80 bool m_sourceHasBeenSet = false;
81 bool m_syncThresholdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace MediaLive
86} // 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