AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TimecodeConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/TimecodeSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConvert {
21namespace Model {
22
30 public:
31 AWS_MEDIACONVERT_API TimecodeConfig() = default;
32 AWS_MEDIACONVERT_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API TimecodeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
49 inline const Aws::String& GetAnchor() const { return m_anchor; }
50 inline bool AnchorHasBeenSet() const { return m_anchorHasBeenSet; }
51 template <typename AnchorT = Aws::String>
52 void SetAnchor(AnchorT&& value) {
53 m_anchorHasBeenSet = true;
54 m_anchor = std::forward<AnchorT>(value);
55 }
56 template <typename AnchorT = Aws::String>
57 TimecodeConfig& WithAnchor(AnchorT&& value) {
58 SetAnchor(std::forward<AnchorT>(value));
59 return *this;
60 }
62
64
75 inline TimecodeSource GetSource() const { return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 inline void SetSource(TimecodeSource value) {
78 m_sourceHasBeenSet = true;
79 m_source = value;
80 }
82 SetSource(value);
83 return *this;
84 }
86
88
93 inline const Aws::String& GetStart() const { return m_start; }
94 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
95 template <typename StartT = Aws::String>
96 void SetStart(StartT&& value) {
97 m_startHasBeenSet = true;
98 m_start = std::forward<StartT>(value);
99 }
100 template <typename StartT = Aws::String>
101 TimecodeConfig& WithStart(StartT&& value) {
102 SetStart(std::forward<StartT>(value));
103 return *this;
104 }
106
108
116 inline const Aws::String& GetTimestampOffset() const { return m_timestampOffset; }
117 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
118 template <typename TimestampOffsetT = Aws::String>
119 void SetTimestampOffset(TimestampOffsetT&& value) {
120 m_timestampOffsetHasBeenSet = true;
121 m_timestampOffset = std::forward<TimestampOffsetT>(value);
122 }
123 template <typename TimestampOffsetT = Aws::String>
124 TimecodeConfig& WithTimestampOffset(TimestampOffsetT&& value) {
125 SetTimestampOffset(std::forward<TimestampOffsetT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_anchor;
131
133
134 Aws::String m_start;
135
136 Aws::String m_timestampOffset;
137 bool m_anchorHasBeenSet = false;
138 bool m_sourceHasBeenSet = false;
139 bool m_startHasBeenSet = false;
140 bool m_timestampOffsetHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace MediaConvert
145} // 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