AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TimecodeBurnin.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/TimecodeBurninPosition.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 TimecodeBurnin() = default;
32 AWS_MEDIACONVERT_API TimecodeBurnin(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API TimecodeBurnin& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetFontSize() const { return m_fontSize; }
42 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
43 inline void SetFontSize(int value) {
44 m_fontSizeHasBeenSet = true;
45 m_fontSize = value;
46 }
47 inline TimecodeBurnin& WithFontSize(int value) {
48 SetFontSize(value);
49 return *this;
50 }
52
54
58 inline TimecodeBurninPosition GetPosition() const { return m_position; }
59 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
61 m_positionHasBeenSet = true;
62 m_position = value;
63 }
65 SetPosition(value);
66 return *this;
67 }
69
71
78 inline const Aws::String& GetPrefix() const { return m_prefix; }
79 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
80 template <typename PrefixT = Aws::String>
81 void SetPrefix(PrefixT&& value) {
82 m_prefixHasBeenSet = true;
83 m_prefix = std::forward<PrefixT>(value);
84 }
85 template <typename PrefixT = Aws::String>
86 TimecodeBurnin& WithPrefix(PrefixT&& value) {
87 SetPrefix(std::forward<PrefixT>(value));
88 return *this;
89 }
91 private:
92 int m_fontSize{0};
93
95
96 Aws::String m_prefix;
97 bool m_fontSizeHasBeenSet = false;
98 bool m_positionHasBeenSet = false;
99 bool m_prefixHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace MediaConvert
104} // namespace Aws
AWS_MEDIACONVERT_API TimecodeBurnin & operator=(Aws::Utils::Json::JsonView jsonValue)
TimecodeBurnin & WithPosition(TimecodeBurninPosition value)
TimecodeBurnin & WithPrefix(PrefixT &&value)
AWS_MEDIACONVERT_API TimecodeBurnin()=default
void SetPosition(TimecodeBurninPosition value)
const Aws::String & GetPrefix() const
TimecodeBurninPosition GetPosition() const
TimecodeBurnin & WithFontSize(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API TimecodeBurnin(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue