AWS SDK for C++

AWS SDK for C++ Version 1.11.821

Loading...
Searching...
No Matches
CaptionSelectorSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AncillarySourceSettings.h>
9#include <aws/medialive/model/AribSourceSettings.h>
10#include <aws/medialive/model/DvbSubSourceSettings.h>
11#include <aws/medialive/model/EmbeddedSourceSettings.h>
12#include <aws/medialive/model/Scte20SourceSettings.h>
13#include <aws/medialive/model/Scte27SourceSettings.h>
14#include <aws/medialive/model/SmartSubtitleSourceSettings.h>
15#include <aws/medialive/model/TeletextSourceSettings.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive {
27namespace Model {
28
35 public:
36 AWS_MEDIALIVE_API CaptionSelectorSettings() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
43 inline const AncillarySourceSettings& GetAncillarySourceSettings() const { return m_ancillarySourceSettings; }
44 inline bool AncillarySourceSettingsHasBeenSet() const { return m_ancillarySourceSettingsHasBeenSet; }
45 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
46 void SetAncillarySourceSettings(AncillarySourceSettingsT&& value) {
47 m_ancillarySourceSettingsHasBeenSet = true;
48 m_ancillarySourceSettings = std::forward<AncillarySourceSettingsT>(value);
49 }
50 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
51 CaptionSelectorSettings& WithAncillarySourceSettings(AncillarySourceSettingsT&& value) {
52 SetAncillarySourceSettings(std::forward<AncillarySourceSettingsT>(value));
53 return *this;
54 }
56
58
59 inline const AribSourceSettings& GetAribSourceSettings() const { return m_aribSourceSettings; }
60 inline bool AribSourceSettingsHasBeenSet() const { return m_aribSourceSettingsHasBeenSet; }
61 template <typename AribSourceSettingsT = AribSourceSettings>
62 void SetAribSourceSettings(AribSourceSettingsT&& value) {
63 m_aribSourceSettingsHasBeenSet = true;
64 m_aribSourceSettings = std::forward<AribSourceSettingsT>(value);
65 }
66 template <typename AribSourceSettingsT = AribSourceSettings>
67 CaptionSelectorSettings& WithAribSourceSettings(AribSourceSettingsT&& value) {
68 SetAribSourceSettings(std::forward<AribSourceSettingsT>(value));
69 return *this;
70 }
72
74
75 inline const DvbSubSourceSettings& GetDvbSubSourceSettings() const { return m_dvbSubSourceSettings; }
76 inline bool DvbSubSourceSettingsHasBeenSet() const { return m_dvbSubSourceSettingsHasBeenSet; }
77 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
78 void SetDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
79 m_dvbSubSourceSettingsHasBeenSet = true;
80 m_dvbSubSourceSettings = std::forward<DvbSubSourceSettingsT>(value);
81 }
82 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
83 CaptionSelectorSettings& WithDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
84 SetDvbSubSourceSettings(std::forward<DvbSubSourceSettingsT>(value));
85 return *this;
86 }
88
90
91 inline const EmbeddedSourceSettings& GetEmbeddedSourceSettings() const { return m_embeddedSourceSettings; }
92 inline bool EmbeddedSourceSettingsHasBeenSet() const { return m_embeddedSourceSettingsHasBeenSet; }
93 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
94 void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
95 m_embeddedSourceSettingsHasBeenSet = true;
96 m_embeddedSourceSettings = std::forward<EmbeddedSourceSettingsT>(value);
97 }
98 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
99 CaptionSelectorSettings& WithEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
100 SetEmbeddedSourceSettings(std::forward<EmbeddedSourceSettingsT>(value));
101 return *this;
102 }
104
106
107 inline const Scte20SourceSettings& GetScte20SourceSettings() const { return m_scte20SourceSettings; }
108 inline bool Scte20SourceSettingsHasBeenSet() const { return m_scte20SourceSettingsHasBeenSet; }
109 template <typename Scte20SourceSettingsT = Scte20SourceSettings>
110 void SetScte20SourceSettings(Scte20SourceSettingsT&& value) {
111 m_scte20SourceSettingsHasBeenSet = true;
112 m_scte20SourceSettings = std::forward<Scte20SourceSettingsT>(value);
113 }
114 template <typename Scte20SourceSettingsT = Scte20SourceSettings>
115 CaptionSelectorSettings& WithScte20SourceSettings(Scte20SourceSettingsT&& value) {
116 SetScte20SourceSettings(std::forward<Scte20SourceSettingsT>(value));
117 return *this;
118 }
120
122
123 inline const Scte27SourceSettings& GetScte27SourceSettings() const { return m_scte27SourceSettings; }
124 inline bool Scte27SourceSettingsHasBeenSet() const { return m_scte27SourceSettingsHasBeenSet; }
125 template <typename Scte27SourceSettingsT = Scte27SourceSettings>
126 void SetScte27SourceSettings(Scte27SourceSettingsT&& value) {
127 m_scte27SourceSettingsHasBeenSet = true;
128 m_scte27SourceSettings = std::forward<Scte27SourceSettingsT>(value);
129 }
130 template <typename Scte27SourceSettingsT = Scte27SourceSettings>
131 CaptionSelectorSettings& WithScte27SourceSettings(Scte27SourceSettingsT&& value) {
132 SetScte27SourceSettings(std::forward<Scte27SourceSettingsT>(value));
133 return *this;
134 }
136
138
139 inline const TeletextSourceSettings& GetTeletextSourceSettings() const { return m_teletextSourceSettings; }
140 inline bool TeletextSourceSettingsHasBeenSet() const { return m_teletextSourceSettingsHasBeenSet; }
141 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
142 void SetTeletextSourceSettings(TeletextSourceSettingsT&& value) {
143 m_teletextSourceSettingsHasBeenSet = true;
144 m_teletextSourceSettings = std::forward<TeletextSourceSettingsT>(value);
145 }
146 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
147 CaptionSelectorSettings& WithTeletextSourceSettings(TeletextSourceSettingsT&& value) {
148 SetTeletextSourceSettings(std::forward<TeletextSourceSettingsT>(value));
149 return *this;
150 }
152
154
155 inline const SmartSubtitleSourceSettings& GetSmartSubtitleSourceSettings() const { return m_smartSubtitleSourceSettings; }
156 inline bool SmartSubtitleSourceSettingsHasBeenSet() const { return m_smartSubtitleSourceSettingsHasBeenSet; }
157 template <typename SmartSubtitleSourceSettingsT = SmartSubtitleSourceSettings>
158 void SetSmartSubtitleSourceSettings(SmartSubtitleSourceSettingsT&& value) {
159 m_smartSubtitleSourceSettingsHasBeenSet = true;
160 m_smartSubtitleSourceSettings = std::forward<SmartSubtitleSourceSettingsT>(value);
161 }
162 template <typename SmartSubtitleSourceSettingsT = SmartSubtitleSourceSettings>
163 CaptionSelectorSettings& WithSmartSubtitleSourceSettings(SmartSubtitleSourceSettingsT&& value) {
164 SetSmartSubtitleSourceSettings(std::forward<SmartSubtitleSourceSettingsT>(value));
165 return *this;
166 }
168 private:
169 AncillarySourceSettings m_ancillarySourceSettings;
170
171 AribSourceSettings m_aribSourceSettings;
172
173 DvbSubSourceSettings m_dvbSubSourceSettings;
174
175 EmbeddedSourceSettings m_embeddedSourceSettings;
176
177 Scte20SourceSettings m_scte20SourceSettings;
178
179 Scte27SourceSettings m_scte27SourceSettings;
180
181 TeletextSourceSettings m_teletextSourceSettings;
182
183 SmartSubtitleSourceSettings m_smartSubtitleSourceSettings;
184 bool m_ancillarySourceSettingsHasBeenSet = false;
185 bool m_aribSourceSettingsHasBeenSet = false;
186 bool m_dvbSubSourceSettingsHasBeenSet = false;
187 bool m_embeddedSourceSettingsHasBeenSet = false;
188 bool m_scte20SourceSettingsHasBeenSet = false;
189 bool m_scte27SourceSettingsHasBeenSet = false;
190 bool m_teletextSourceSettingsHasBeenSet = false;
191 bool m_smartSubtitleSourceSettingsHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace MediaLive
196} // namespace Aws
const Scte20SourceSettings & GetScte20SourceSettings() const
const EmbeddedSourceSettings & GetEmbeddedSourceSettings() const
const Scte27SourceSettings & GetScte27SourceSettings() const
void SetAncillarySourceSettings(AncillarySourceSettingsT &&value)
CaptionSelectorSettings & WithDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings(Aws::Utils::Json::JsonView jsonValue)
CaptionSelectorSettings & WithAncillarySourceSettings(AncillarySourceSettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAribSourceSettings(AribSourceSettingsT &&value)
CaptionSelectorSettings & WithScte20SourceSettings(Scte20SourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTeletextSourceSettings(TeletextSourceSettingsT &&value)
void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
void SetSmartSubtitleSourceSettings(SmartSubtitleSourceSettingsT &&value)
CaptionSelectorSettings & WithEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
void SetScte20SourceSettings(Scte20SourceSettingsT &&value)
const SmartSubtitleSourceSettings & GetSmartSubtitleSourceSettings() const
const TeletextSourceSettings & GetTeletextSourceSettings() const
const AncillarySourceSettings & GetAncillarySourceSettings() const
void SetDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
CaptionSelectorSettings & WithScte27SourceSettings(Scte27SourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings()=default
const DvbSubSourceSettings & GetDvbSubSourceSettings() const
void SetScte27SourceSettings(Scte27SourceSettingsT &&value)
CaptionSelectorSettings & WithSmartSubtitleSourceSettings(SmartSubtitleSourceSettingsT &&value)
CaptionSelectorSettings & WithTeletextSourceSettings(TeletextSourceSettingsT &&value)
CaptionSelectorSettings & WithAribSourceSettings(AribSourceSettingsT &&value)
const AribSourceSettings & GetAribSourceSettings() const
Aws::Utils::Json::JsonValue JsonValue