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/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/TimecodeSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIACONVERT_API TimecodeConfig() = default;
37 AWS_MEDIACONVERT_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API TimecodeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
55 inline const Aws::String& GetAnchor() const { return m_anchor; }
56 inline bool AnchorHasBeenSet() const { return m_anchorHasBeenSet; }
57 template<typename AnchorT = Aws::String>
58 void SetAnchor(AnchorT&& value) { m_anchorHasBeenSet = true; m_anchor = std::forward<AnchorT>(value); }
59 template<typename AnchorT = Aws::String>
60 TimecodeConfig& WithAnchor(AnchorT&& value) { SetAnchor(std::forward<AnchorT>(value)); return *this;}
62
64
75 inline TimecodeSource GetSource() const { return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 inline void SetSource(TimecodeSource value) { m_sourceHasBeenSet = true; m_source = value; }
78 inline TimecodeConfig& WithSource(TimecodeSource value) { SetSource(value); return *this;}
80
82
87 inline const Aws::String& GetStart() const { return m_start; }
88 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
89 template<typename StartT = Aws::String>
90 void SetStart(StartT&& value) { m_startHasBeenSet = true; m_start = std::forward<StartT>(value); }
91 template<typename StartT = Aws::String>
92 TimecodeConfig& WithStart(StartT&& value) { SetStart(std::forward<StartT>(value)); return *this;}
94
96
104 inline const Aws::String& GetTimestampOffset() const { return m_timestampOffset; }
105 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
106 template<typename TimestampOffsetT = Aws::String>
107 void SetTimestampOffset(TimestampOffsetT&& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = std::forward<TimestampOffsetT>(value); }
108 template<typename TimestampOffsetT = Aws::String>
109 TimecodeConfig& WithTimestampOffset(TimestampOffsetT&& value) { SetTimestampOffset(std::forward<TimestampOffsetT>(value)); return *this;}
111 private:
112
113 Aws::String m_anchor;
114 bool m_anchorHasBeenSet = false;
115
117 bool m_sourceHasBeenSet = false;
118
119 Aws::String m_start;
120 bool m_startHasBeenSet = false;
121
122 Aws::String m_timestampOffset;
123 bool m_timestampOffsetHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MediaConvert
128} // namespace Aws
const Aws::String & GetStart() const
void SetTimestampOffset(TimestampOffsetT &&value)
TimecodeConfig & WithAnchor(AnchorT &&value)
void SetSource(TimecodeSource value)
AWS_MEDIACONVERT_API TimecodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimestampOffset() const
TimecodeConfig & WithStart(StartT &&value)
TimecodeConfig & WithSource(TimecodeSource value)
AWS_MEDIACONVERT_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
TimecodeConfig & WithTimestampOffset(TimestampOffsetT &&value)
AWS_MEDIACONVERT_API TimecodeConfig()=default
const Aws::String & GetAnchor() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue