AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/DvbSubSourceSettings.h>
10#include <aws/mediaconvert/model/EmbeddedSourceSettings.h>
11#include <aws/mediaconvert/model/FileSourceSettings.h>
12#include <aws/mediaconvert/model/CaptionSourceType.h>
13#include <aws/mediaconvert/model/TeletextSourceSettings.h>
14#include <aws/mediaconvert/model/TrackSourceSettings.h>
15#include <aws/mediaconvert/model/WebvttHlsSourceSettings.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaConvert
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_MEDIACONVERT_API CaptionSourceSettings() = default;
45 AWS_MEDIACONVERT_API CaptionSourceSettings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const AncillarySourceSettings& GetAncillarySourceSettings() const { return m_ancillarySourceSettings; }
55 inline bool AncillarySourceSettingsHasBeenSet() const { return m_ancillarySourceSettingsHasBeenSet; }
56 template<typename AncillarySourceSettingsT = AncillarySourceSettings>
57 void SetAncillarySourceSettings(AncillarySourceSettingsT&& value) { m_ancillarySourceSettingsHasBeenSet = true; m_ancillarySourceSettings = std::forward<AncillarySourceSettingsT>(value); }
58 template<typename AncillarySourceSettingsT = AncillarySourceSettings>
59 CaptionSourceSettings& WithAncillarySourceSettings(AncillarySourceSettingsT&& value) { SetAncillarySourceSettings(std::forward<AncillarySourceSettingsT>(value)); return *this;}
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) { m_dvbSubSourceSettingsHasBeenSet = true; m_dvbSubSourceSettings = std::forward<DvbSubSourceSettingsT>(value); }
70 template<typename DvbSubSourceSettingsT = DvbSubSourceSettings>
71 CaptionSourceSettings& WithDvbSubSourceSettings(DvbSubSourceSettingsT&& value) { SetDvbSubSourceSettings(std::forward<DvbSubSourceSettingsT>(value)); return *this;}
73
75
78 inline const EmbeddedSourceSettings& GetEmbeddedSourceSettings() const { return m_embeddedSourceSettings; }
79 inline bool EmbeddedSourceSettingsHasBeenSet() const { return m_embeddedSourceSettingsHasBeenSet; }
80 template<typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
81 void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) { m_embeddedSourceSettingsHasBeenSet = true; m_embeddedSourceSettings = std::forward<EmbeddedSourceSettingsT>(value); }
82 template<typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
83 CaptionSourceSettings& WithEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) { SetEmbeddedSourceSettings(std::forward<EmbeddedSourceSettingsT>(value)); return *this;}
85
87
93 inline const FileSourceSettings& GetFileSourceSettings() const { return m_fileSourceSettings; }
94 inline bool FileSourceSettingsHasBeenSet() const { return m_fileSourceSettingsHasBeenSet; }
95 template<typename FileSourceSettingsT = FileSourceSettings>
96 void SetFileSourceSettings(FileSourceSettingsT&& value) { m_fileSourceSettingsHasBeenSet = true; m_fileSourceSettings = std::forward<FileSourceSettingsT>(value); }
97 template<typename FileSourceSettingsT = FileSourceSettings>
98 CaptionSourceSettings& WithFileSourceSettings(FileSourceSettingsT&& value) { SetFileSourceSettings(std::forward<FileSourceSettingsT>(value)); return *this;}
100
102
106 inline CaptionSourceType GetSourceType() const { return m_sourceType; }
107 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
108 inline void SetSourceType(CaptionSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
111
113
116 inline const TeletextSourceSettings& GetTeletextSourceSettings() const { return m_teletextSourceSettings; }
117 inline bool TeletextSourceSettingsHasBeenSet() const { return m_teletextSourceSettingsHasBeenSet; }
118 template<typename TeletextSourceSettingsT = TeletextSourceSettings>
119 void SetTeletextSourceSettings(TeletextSourceSettingsT&& value) { m_teletextSourceSettingsHasBeenSet = true; m_teletextSourceSettings = std::forward<TeletextSourceSettingsT>(value); }
120 template<typename TeletextSourceSettingsT = TeletextSourceSettings>
121 CaptionSourceSettings& WithTeletextSourceSettings(TeletextSourceSettingsT&& value) { SetTeletextSourceSettings(std::forward<TeletextSourceSettingsT>(value)); return *this;}
123
125
131 inline const TrackSourceSettings& GetTrackSourceSettings() const { return m_trackSourceSettings; }
132 inline bool TrackSourceSettingsHasBeenSet() const { return m_trackSourceSettingsHasBeenSet; }
133 template<typename TrackSourceSettingsT = TrackSourceSettings>
134 void SetTrackSourceSettings(TrackSourceSettingsT&& value) { m_trackSourceSettingsHasBeenSet = true; m_trackSourceSettings = std::forward<TrackSourceSettingsT>(value); }
135 template<typename TrackSourceSettingsT = TrackSourceSettings>
136 CaptionSourceSettings& WithTrackSourceSettings(TrackSourceSettingsT&& value) { SetTrackSourceSettings(std::forward<TrackSourceSettingsT>(value)); return *this;}
138
140
150 inline const WebvttHlsSourceSettings& GetWebvttHlsSourceSettings() const { return m_webvttHlsSourceSettings; }
151 inline bool WebvttHlsSourceSettingsHasBeenSet() const { return m_webvttHlsSourceSettingsHasBeenSet; }
152 template<typename WebvttHlsSourceSettingsT = WebvttHlsSourceSettings>
153 void SetWebvttHlsSourceSettings(WebvttHlsSourceSettingsT&& value) { m_webvttHlsSourceSettingsHasBeenSet = true; m_webvttHlsSourceSettings = std::forward<WebvttHlsSourceSettingsT>(value); }
154 template<typename WebvttHlsSourceSettingsT = WebvttHlsSourceSettings>
155 CaptionSourceSettings& WithWebvttHlsSourceSettings(WebvttHlsSourceSettingsT&& value) { SetWebvttHlsSourceSettings(std::forward<WebvttHlsSourceSettingsT>(value)); return *this;}
157 private:
158
159 AncillarySourceSettings m_ancillarySourceSettings;
160 bool m_ancillarySourceSettingsHasBeenSet = false;
161
162 DvbSubSourceSettings m_dvbSubSourceSettings;
163 bool m_dvbSubSourceSettingsHasBeenSet = false;
164
165 EmbeddedSourceSettings m_embeddedSourceSettings;
166 bool m_embeddedSourceSettingsHasBeenSet = false;
167
168 FileSourceSettings m_fileSourceSettings;
169 bool m_fileSourceSettingsHasBeenSet = false;
170
172 bool m_sourceTypeHasBeenSet = false;
173
174 TeletextSourceSettings m_teletextSourceSettings;
175 bool m_teletextSourceSettingsHasBeenSet = false;
176
177 TrackSourceSettings m_trackSourceSettings;
178 bool m_trackSourceSettingsHasBeenSet = false;
179
180 WebvttHlsSourceSettings m_webvttHlsSourceSettings;
181 bool m_webvttHlsSourceSettingsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace MediaConvert
186} // 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