AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const TimecodeConfigSource& GetSource() const{ return m_source; }
53 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
54 inline void SetSource(const TimecodeConfigSource& value) { m_sourceHasBeenSet = true; m_source = value; }
55 inline void SetSource(TimecodeConfigSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
56 inline TimecodeConfig& WithSource(const TimecodeConfigSource& value) { SetSource(value); return *this;}
57 inline TimecodeConfig& WithSource(TimecodeConfigSource&& value) { SetSource(std::move(value)); return *this;}
59
61
67 inline int GetSyncThreshold() const{ return m_syncThreshold; }
68 inline bool SyncThresholdHasBeenSet() const { return m_syncThresholdHasBeenSet; }
69 inline void SetSyncThreshold(int value) { m_syncThresholdHasBeenSet = true; m_syncThreshold = value; }
70 inline TimecodeConfig& WithSyncThreshold(int value) { SetSyncThreshold(value); return *this;}
72 private:
73
74 TimecodeConfigSource m_source;
75 bool m_sourceHasBeenSet = false;
76
77 int m_syncThreshold;
78 bool m_syncThresholdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace MediaLive
83} // namespace Aws
AWS_MEDIALIVE_API TimecodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue)
TimecodeConfig & WithSource(TimecodeConfigSource &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSource(const TimecodeConfigSource &value)
TimecodeConfig & WithSource(const TimecodeConfigSource &value)
TimecodeConfig & WithSyncThreshold(int value)
const TimecodeConfigSource & GetSource() const
void SetSource(TimecodeConfigSource &&value)
Aws::Utils::Json::JsonValue JsonValue