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/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();
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 inline void SetAnchor(const Aws::String& value) { m_anchorHasBeenSet = true; m_anchor = value; }
58 inline void SetAnchor(Aws::String&& value) { m_anchorHasBeenSet = true; m_anchor = std::move(value); }
59 inline void SetAnchor(const char* value) { m_anchorHasBeenSet = true; m_anchor.assign(value); }
60 inline TimecodeConfig& WithAnchor(const Aws::String& value) { SetAnchor(value); return *this;}
61 inline TimecodeConfig& WithAnchor(Aws::String&& value) { SetAnchor(std::move(value)); return *this;}
62 inline TimecodeConfig& WithAnchor(const char* value) { SetAnchor(value); return *this;}
64
66
77 inline const TimecodeSource& GetSource() const{ return m_source; }
78 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
79 inline void SetSource(const TimecodeSource& value) { m_sourceHasBeenSet = true; m_source = value; }
80 inline void SetSource(TimecodeSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
81 inline TimecodeConfig& WithSource(const TimecodeSource& value) { SetSource(value); return *this;}
82 inline TimecodeConfig& WithSource(TimecodeSource&& value) { SetSource(std::move(value)); return *this;}
84
86
91 inline const Aws::String& GetStart() const{ return m_start; }
92 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
93 inline void SetStart(const Aws::String& value) { m_startHasBeenSet = true; m_start = value; }
94 inline void SetStart(Aws::String&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
95 inline void SetStart(const char* value) { m_startHasBeenSet = true; m_start.assign(value); }
96 inline TimecodeConfig& WithStart(const Aws::String& value) { SetStart(value); return *this;}
97 inline TimecodeConfig& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;}
98 inline TimecodeConfig& WithStart(const char* value) { SetStart(value); return *this;}
100
102
110 inline const Aws::String& GetTimestampOffset() const{ return m_timestampOffset; }
111 inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
112 inline void SetTimestampOffset(const Aws::String& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = value; }
113 inline void SetTimestampOffset(Aws::String&& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = std::move(value); }
114 inline void SetTimestampOffset(const char* value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset.assign(value); }
115 inline TimecodeConfig& WithTimestampOffset(const Aws::String& value) { SetTimestampOffset(value); return *this;}
116 inline TimecodeConfig& WithTimestampOffset(Aws::String&& value) { SetTimestampOffset(std::move(value)); return *this;}
117 inline TimecodeConfig& WithTimestampOffset(const char* value) { SetTimestampOffset(value); return *this;}
119 private:
120
121 Aws::String m_anchor;
122 bool m_anchorHasBeenSet = false;
123
124 TimecodeSource m_source;
125 bool m_sourceHasBeenSet = false;
126
127 Aws::String m_start;
128 bool m_startHasBeenSet = false;
129
130 Aws::String m_timestampOffset;
131 bool m_timestampOffsetHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace MediaConvert
136} // namespace Aws
TimecodeConfig & WithTimestampOffset(const Aws::String &value)
TimecodeConfig & WithTimestampOffset(const char *value)
const Aws::String & GetStart() const
TimecodeConfig & WithSource(const TimecodeSource &value)
TimecodeConfig & WithStart(const char *value)
AWS_MEDIACONVERT_API TimecodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TimecodeConfig & WithStart(Aws::String &&value)
TimecodeConfig & WithStart(const Aws::String &value)
const Aws::String & GetTimestampOffset() const
void SetTimestampOffset(const Aws::String &value)
TimecodeConfig & WithTimestampOffset(Aws::String &&value)
void SetSource(TimecodeSource &&value)
void SetStart(const Aws::String &value)
void SetSource(const TimecodeSource &value)
TimecodeConfig & WithAnchor(const Aws::String &value)
void SetAnchor(const Aws::String &value)
AWS_MEDIACONVERT_API TimecodeConfig(Aws::Utils::Json::JsonView jsonValue)
TimecodeConfig & WithSource(TimecodeSource &&value)
void SetTimestampOffset(Aws::String &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const TimecodeSource & GetSource() const
TimecodeConfig & WithAnchor(Aws::String &&value)
TimecodeConfig & WithAnchor(const char *value)
const Aws::String & GetAnchor() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue