AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CaptionSourceSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AncillarySourceSettings.h>
9#include <aws/mediaconvert/model/CaptionSourceType.h>
10#include <aws/mediaconvert/model/DvbSubSourceSettings.h>
11#include <aws/mediaconvert/model/EmbeddedSourceSettings.h>
12#include <aws/mediaconvert/model/FileSourceSettings.h>
13#include <aws/mediaconvert/model/TeletextSourceSettings.h>
14#include <aws/mediaconvert/model/TrackSourceSettings.h>
15#include <aws/mediaconvert/model/WebvttHlsSourceSettings.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert {
27namespace Model {
28
38 public:
39 AWS_MEDIACONVERT_API CaptionSourceSettings() = default;
40 AWS_MEDIACONVERT_API CaptionSourceSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const AncillarySourceSettings& GetAncillarySourceSettings() const { return m_ancillarySourceSettings; }
49 inline bool AncillarySourceSettingsHasBeenSet() const { return m_ancillarySourceSettingsHasBeenSet; }
50 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
51 void SetAncillarySourceSettings(AncillarySourceSettingsT&& value) {
52 m_ancillarySourceSettingsHasBeenSet = true;
53 m_ancillarySourceSettings = std::forward<AncillarySourceSettingsT>(value);
54 }
55 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
56 CaptionSourceSettings& WithAncillarySourceSettings(AncillarySourceSettingsT&& value) {
57 SetAncillarySourceSettings(std::forward<AncillarySourceSettingsT>(value));
58 return *this;
59 }
61
63
66 inline const DvbSubSourceSettings& GetDvbSubSourceSettings() const { return m_dvbSubSourceSettings; }
67 inline bool DvbSubSourceSettingsHasBeenSet() const { return m_dvbSubSourceSettingsHasBeenSet; }
68 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
69 void SetDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
70 m_dvbSubSourceSettingsHasBeenSet = true;
71 m_dvbSubSourceSettings = std::forward<DvbSubSourceSettingsT>(value);
72 }
73 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
74 CaptionSourceSettings& WithDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
75 SetDvbSubSourceSettings(std::forward<DvbSubSourceSettingsT>(value));
76 return *this;
77 }
79
81
84 inline const EmbeddedSourceSettings& GetEmbeddedSourceSettings() const { return m_embeddedSourceSettings; }
85 inline bool EmbeddedSourceSettingsHasBeenSet() const { return m_embeddedSourceSettingsHasBeenSet; }
86 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
87 void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
88 m_embeddedSourceSettingsHasBeenSet = true;
89 m_embeddedSourceSettings = std::forward<EmbeddedSourceSettingsT>(value);
90 }
91 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
92 CaptionSourceSettings& WithEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
93 SetEmbeddedSourceSettings(std::forward<EmbeddedSourceSettingsT>(value));
94 return *this;
95 }
97
99
105 inline const FileSourceSettings& GetFileSourceSettings() const { return m_fileSourceSettings; }
106 inline bool FileSourceSettingsHasBeenSet() const { return m_fileSourceSettingsHasBeenSet; }
107 template <typename FileSourceSettingsT = FileSourceSettings>
108 void SetFileSourceSettings(FileSourceSettingsT&& value) {
109 m_fileSourceSettingsHasBeenSet = true;
110 m_fileSourceSettings = std::forward<FileSourceSettingsT>(value);
111 }
112 template <typename FileSourceSettingsT = FileSourceSettings>
113 CaptionSourceSettings& WithFileSourceSettings(FileSourceSettingsT&& value) {
114 SetFileSourceSettings(std::forward<FileSourceSettingsT>(value));
115 return *this;
116 }
118
120
124 inline CaptionSourceType GetSourceType() const { return m_sourceType; }
125 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
126 inline void SetSourceType(CaptionSourceType value) {
127 m_sourceTypeHasBeenSet = true;
128 m_sourceType = value;
129 }
131 SetSourceType(value);
132 return *this;
133 }
135
137
140 inline const TeletextSourceSettings& GetTeletextSourceSettings() const { return m_teletextSourceSettings; }
141 inline bool TeletextSourceSettingsHasBeenSet() const { return m_teletextSourceSettingsHasBeenSet; }
142 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
143 void SetTeletextSourceSettings(TeletextSourceSettingsT&& value) {
144 m_teletextSourceSettingsHasBeenSet = true;
145 m_teletextSourceSettings = std::forward<TeletextSourceSettingsT>(value);
146 }
147 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
148 CaptionSourceSettings& WithTeletextSourceSettings(TeletextSourceSettingsT&& value) {
149 SetTeletextSourceSettings(std::forward<TeletextSourceSettingsT>(value));
150 return *this;
151 }
153
155
161 inline const TrackSourceSettings& GetTrackSourceSettings() const { return m_trackSourceSettings; }
162 inline bool TrackSourceSettingsHasBeenSet() const { return m_trackSourceSettingsHasBeenSet; }
163 template <typename TrackSourceSettingsT = TrackSourceSettings>
164 void SetTrackSourceSettings(TrackSourceSettingsT&& value) {
165 m_trackSourceSettingsHasBeenSet = true;
166 m_trackSourceSettings = std::forward<TrackSourceSettingsT>(value);
167 }
168 template <typename TrackSourceSettingsT = TrackSourceSettings>
169 CaptionSourceSettings& WithTrackSourceSettings(TrackSourceSettingsT&& value) {
170 SetTrackSourceSettings(std::forward<TrackSourceSettingsT>(value));
171 return *this;
172 }
174
176
186 inline const WebvttHlsSourceSettings& GetWebvttHlsSourceSettings() const { return m_webvttHlsSourceSettings; }
187 inline bool WebvttHlsSourceSettingsHasBeenSet() const { return m_webvttHlsSourceSettingsHasBeenSet; }
188 template <typename WebvttHlsSourceSettingsT = WebvttHlsSourceSettings>
189 void SetWebvttHlsSourceSettings(WebvttHlsSourceSettingsT&& value) {
190 m_webvttHlsSourceSettingsHasBeenSet = true;
191 m_webvttHlsSourceSettings = std::forward<WebvttHlsSourceSettingsT>(value);
192 }
193 template <typename WebvttHlsSourceSettingsT = WebvttHlsSourceSettings>
194 CaptionSourceSettings& WithWebvttHlsSourceSettings(WebvttHlsSourceSettingsT&& value) {
195 SetWebvttHlsSourceSettings(std::forward<WebvttHlsSourceSettingsT>(value));
196 return *this;
197 }
199 private:
200 AncillarySourceSettings m_ancillarySourceSettings;
201
202 DvbSubSourceSettings m_dvbSubSourceSettings;
203
204 EmbeddedSourceSettings m_embeddedSourceSettings;
205
206 FileSourceSettings m_fileSourceSettings;
207
209
210 TeletextSourceSettings m_teletextSourceSettings;
211
212 TrackSourceSettings m_trackSourceSettings;
213
214 WebvttHlsSourceSettings m_webvttHlsSourceSettings;
215 bool m_ancillarySourceSettingsHasBeenSet = false;
216 bool m_dvbSubSourceSettingsHasBeenSet = false;
217 bool m_embeddedSourceSettingsHasBeenSet = false;
218 bool m_fileSourceSettingsHasBeenSet = false;
219 bool m_sourceTypeHasBeenSet = false;
220 bool m_teletextSourceSettingsHasBeenSet = false;
221 bool m_trackSourceSettingsHasBeenSet = false;
222 bool m_webvttHlsSourceSettingsHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace MediaConvert
227} // namespace Aws
const DvbSubSourceSettings & GetDvbSubSourceSettings() const
const EmbeddedSourceSettings & GetEmbeddedSourceSettings() const
const TeletextSourceSettings & GetTeletextSourceSettings() const
void SetDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
CaptionSourceSettings & WithAncillarySourceSettings(AncillarySourceSettingsT &&value)
CaptionSourceSettings & WithFileSourceSettings(FileSourceSettingsT &&value)
AWS_MEDIACONVERT_API CaptionSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const WebvttHlsSourceSettings & GetWebvttHlsSourceSettings() const
AWS_MEDIACONVERT_API CaptionSourceSettings()=default
void SetAncillarySourceSettings(AncillarySourceSettingsT &&value)
const FileSourceSettings & GetFileSourceSettings() const
void SetTrackSourceSettings(TrackSourceSettingsT &&value)
const AncillarySourceSettings & GetAncillarySourceSettings() const
CaptionSourceSettings & WithTeletextSourceSettings(TeletextSourceSettingsT &&value)
void SetWebvttHlsSourceSettings(WebvttHlsSourceSettingsT &&value)
AWS_MEDIACONVERT_API CaptionSourceSettings(Aws::Utils::Json::JsonView jsonValue)
CaptionSourceSettings & WithSourceType(CaptionSourceType value)
void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
const TrackSourceSettings & GetTrackSourceSettings() const
void SetFileSourceSettings(FileSourceSettingsT &&value)
CaptionSourceSettings & WithEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
CaptionSourceSettings & WithWebvttHlsSourceSettings(WebvttHlsSourceSettingsT &&value)
void SetTeletextSourceSettings(TeletextSourceSettingsT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionSourceSettings & WithDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
CaptionSourceSettings & WithTrackSourceSettings(TrackSourceSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue