AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
EbuTtDDestinationSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/EbuTtDDestinationStyleControl.h>
10#include <aws/medialive/model/EbuTtDFillLineGapControl.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive {
22namespace Model {
23
30 public:
31 AWS_MEDIALIVE_API EbuTtDDestinationSettings() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCopyrightHolder() const { return m_copyrightHolder; }
42 inline bool CopyrightHolderHasBeenSet() const { return m_copyrightHolderHasBeenSet; }
43 template <typename CopyrightHolderT = Aws::String>
44 void SetCopyrightHolder(CopyrightHolderT&& value) {
45 m_copyrightHolderHasBeenSet = true;
46 m_copyrightHolder = std::forward<CopyrightHolderT>(value);
47 }
48 template <typename CopyrightHolderT = Aws::String>
50 SetCopyrightHolder(std::forward<CopyrightHolderT>(value));
51 return *this;
52 }
54
56
61 inline EbuTtDFillLineGapControl GetFillLineGap() const { return m_fillLineGap; }
62 inline bool FillLineGapHasBeenSet() const { return m_fillLineGapHasBeenSet; }
64 m_fillLineGapHasBeenSet = true;
65 m_fillLineGap = value;
66 }
68 SetFillLineGap(value);
69 return *this;
70 }
72
74
86 inline const Aws::String& GetFontFamily() const { return m_fontFamily; }
87 inline bool FontFamilyHasBeenSet() const { return m_fontFamilyHasBeenSet; }
88 template <typename FontFamilyT = Aws::String>
89 void SetFontFamily(FontFamilyT&& value) {
90 m_fontFamilyHasBeenSet = true;
91 m_fontFamily = std::forward<FontFamilyT>(value);
92 }
93 template <typename FontFamilyT = Aws::String>
95 SetFontFamily(std::forward<FontFamilyT>(value));
96 return *this;
97 }
99
101
109 inline EbuTtDDestinationStyleControl GetStyleControl() const { return m_styleControl; }
110 inline bool StyleControlHasBeenSet() const { return m_styleControlHasBeenSet; }
112 m_styleControlHasBeenSet = true;
113 m_styleControl = value;
114 }
116 SetStyleControl(value);
117 return *this;
118 }
120
122
127 inline int GetDefaultFontSize() const { return m_defaultFontSize; }
128 inline bool DefaultFontSizeHasBeenSet() const { return m_defaultFontSizeHasBeenSet; }
129 inline void SetDefaultFontSize(int value) {
130 m_defaultFontSizeHasBeenSet = true;
131 m_defaultFontSize = value;
132 }
134 SetDefaultFontSize(value);
135 return *this;
136 }
138
140
143 inline int GetDefaultLineHeight() const { return m_defaultLineHeight; }
144 inline bool DefaultLineHeightHasBeenSet() const { return m_defaultLineHeightHasBeenSet; }
145 inline void SetDefaultLineHeight(int value) {
146 m_defaultLineHeightHasBeenSet = true;
147 m_defaultLineHeight = value;
148 }
151 return *this;
152 }
154 private:
155 Aws::String m_copyrightHolder;
156
158
159 Aws::String m_fontFamily;
160
162
163 int m_defaultFontSize{0};
164
165 int m_defaultLineHeight{0};
166 bool m_copyrightHolderHasBeenSet = false;
167 bool m_fillLineGapHasBeenSet = false;
168 bool m_fontFamilyHasBeenSet = false;
169 bool m_styleControlHasBeenSet = false;
170 bool m_defaultFontSizeHasBeenSet = false;
171 bool m_defaultLineHeightHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace MediaLive
176} // namespace Aws
AWS_MEDIALIVE_API EbuTtDDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
EbuTtDDestinationSettings & WithDefaultLineHeight(int value)
EbuTtDDestinationSettings & WithFontFamily(FontFamilyT &&value)
void SetStyleControl(EbuTtDDestinationStyleControl value)
AWS_MEDIALIVE_API EbuTtDDestinationSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
EbuTtDDestinationSettings & WithCopyrightHolder(CopyrightHolderT &&value)
EbuTtDDestinationSettings & WithFillLineGap(EbuTtDFillLineGapControl value)
EbuTtDDestinationStyleControl GetStyleControl() const
EbuTtDDestinationSettings & WithStyleControl(EbuTtDDestinationStyleControl value)
AWS_MEDIALIVE_API EbuTtDDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
EbuTtDDestinationSettings & WithDefaultFontSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue