AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
TtmlDestinationSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/TtmlBackgroundColor.h>
9#include <aws/mediaconvert/model/TtmlFontColor.h>
10#include <aws/mediaconvert/model/TtmlFontStyle.h>
11#include <aws/mediaconvert/model/TtmlFontWeight.h>
12#include <aws/mediaconvert/model/TtmlStylePassthrough.h>
13#include <aws/mediaconvert/model/TtmlTextDecoration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert {
25namespace Model {
26
38 public:
39 AWS_MEDIACONVERT_API TtmlDestinationSettings() = default;
40 AWS_MEDIACONVERT_API TtmlDestinationSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
51 inline TtmlBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
52 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
54 m_backgroundColorHasBeenSet = true;
55 m_backgroundColor = value;
56 }
58 SetBackgroundColor(value);
59 return *this;
60 }
62
64
71 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
72 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
73 inline void SetBackgroundOpacity(int value) {
74 m_backgroundOpacityHasBeenSet = true;
75 m_backgroundOpacity = value;
76 }
79 return *this;
80 }
82
84
90 inline TtmlFontColor GetFontColor() const { return m_fontColor; }
91 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
92 inline void SetFontColor(TtmlFontColor value) {
93 m_fontColorHasBeenSet = true;
94 m_fontColor = value;
95 }
97 SetFontColor(value);
98 return *this;
99 }
101
103
110 inline int GetFontOpacity() const { return m_fontOpacity; }
111 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
112 inline void SetFontOpacity(int value) {
113 m_fontOpacityHasBeenSet = true;
114 m_fontOpacity = value;
115 }
117 SetFontOpacity(value);
118 return *this;
119 }
121
123
127 inline int GetFontSize() const { return m_fontSize; }
128 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
129 inline void SetFontSize(int value) {
130 m_fontSizeHasBeenSet = true;
131 m_fontSize = value;
132 }
134 SetFontSize(value);
135 return *this;
136 }
138
140
146 inline TtmlFontStyle GetFontStyle() const { return m_fontStyle; }
147 inline bool FontStyleHasBeenSet() const { return m_fontStyleHasBeenSet; }
148 inline void SetFontStyle(TtmlFontStyle value) {
149 m_fontStyleHasBeenSet = true;
150 m_fontStyle = value;
151 }
153 SetFontStyle(value);
154 return *this;
155 }
157
159
165 inline TtmlFontWeight GetFontWeight() const { return m_fontWeight; }
166 inline bool FontWeightHasBeenSet() const { return m_fontWeightHasBeenSet; }
167 inline void SetFontWeight(TtmlFontWeight value) {
168 m_fontWeightHasBeenSet = true;
169 m_fontWeight = value;
170 }
172 SetFontWeight(value);
173 return *this;
174 }
176
178
182 inline TtmlStylePassthrough GetStylePassthrough() const { return m_stylePassthrough; }
183 inline bool StylePassthroughHasBeenSet() const { return m_stylePassthroughHasBeenSet; }
185 m_stylePassthroughHasBeenSet = true;
186 m_stylePassthrough = value;
187 }
189 SetStylePassthrough(value);
190 return *this;
191 }
193
195
201 inline TtmlTextDecoration GetTextDecoration() const { return m_textDecoration; }
202 inline bool TextDecorationHasBeenSet() const { return m_textDecorationHasBeenSet; }
204 m_textDecorationHasBeenSet = true;
205 m_textDecoration = value;
206 }
208 SetTextDecoration(value);
209 return *this;
210 }
212 private:
214
215 int m_backgroundOpacity{0};
216
218
219 int m_fontOpacity{0};
220
221 int m_fontSize{0};
222
224
226
228
230 bool m_backgroundColorHasBeenSet = false;
231 bool m_backgroundOpacityHasBeenSet = false;
232 bool m_fontColorHasBeenSet = false;
233 bool m_fontOpacityHasBeenSet = false;
234 bool m_fontSizeHasBeenSet = false;
235 bool m_fontStyleHasBeenSet = false;
236 bool m_fontWeightHasBeenSet = false;
237 bool m_stylePassthroughHasBeenSet = false;
238 bool m_textDecorationHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace MediaConvert
243} // namespace Aws
AWS_MEDIACONVERT_API TtmlDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
TtmlDestinationSettings & WithBackgroundOpacity(int value)
TtmlDestinationSettings & WithFontStyle(TtmlFontStyle value)
TtmlDestinationSettings & WithStylePassthrough(TtmlStylePassthrough value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
TtmlDestinationSettings & WithTextDecoration(TtmlTextDecoration value)
AWS_MEDIACONVERT_API TtmlDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
TtmlDestinationSettings & WithFontColor(TtmlFontColor value)
AWS_MEDIACONVERT_API TtmlDestinationSettings()=default
TtmlDestinationSettings & WithBackgroundColor(TtmlBackgroundColor value)
TtmlDestinationSettings & WithFontWeight(TtmlFontWeight value)
Aws::Utils::Json::JsonValue JsonValue