AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsPackage.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/model/AdMarkers.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediapackage/model/AdsOnDeliveryRestrictions.h>
11#include <aws/mediapackage/model/HlsEncryption.h>
12#include <aws/mediapackage/model/PlaylistType.h>
13#include <aws/mediapackage/model/StreamSelection.h>
14#include <aws/mediapackage/model/__AdTriggersElement.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaPackage
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIAPACKAGE_API HlsPackage();
41 AWS_MEDIAPACKAGE_API HlsPackage(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIAPACKAGE_API HlsPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
67 inline const AdMarkers& GetAdMarkers() const{ return m_adMarkers; }
68 inline bool AdMarkersHasBeenSet() const { return m_adMarkersHasBeenSet; }
69 inline void SetAdMarkers(const AdMarkers& value) { m_adMarkersHasBeenSet = true; m_adMarkers = value; }
70 inline void SetAdMarkers(AdMarkers&& value) { m_adMarkersHasBeenSet = true; m_adMarkers = std::move(value); }
71 inline HlsPackage& WithAdMarkers(const AdMarkers& value) { SetAdMarkers(value); return *this;}
72 inline HlsPackage& WithAdMarkers(AdMarkers&& value) { SetAdMarkers(std::move(value)); return *this;}
74
76
77 inline const Aws::Vector<__AdTriggersElement>& GetAdTriggers() const{ return m_adTriggers; }
78 inline bool AdTriggersHasBeenSet() const { return m_adTriggersHasBeenSet; }
79 inline void SetAdTriggers(const Aws::Vector<__AdTriggersElement>& value) { m_adTriggersHasBeenSet = true; m_adTriggers = value; }
80 inline void SetAdTriggers(Aws::Vector<__AdTriggersElement>&& value) { m_adTriggersHasBeenSet = true; m_adTriggers = std::move(value); }
81 inline HlsPackage& WithAdTriggers(const Aws::Vector<__AdTriggersElement>& value) { SetAdTriggers(value); return *this;}
82 inline HlsPackage& WithAdTriggers(Aws::Vector<__AdTriggersElement>&& value) { SetAdTriggers(std::move(value)); return *this;}
83 inline HlsPackage& AddAdTriggers(const __AdTriggersElement& value) { m_adTriggersHasBeenSet = true; m_adTriggers.push_back(value); return *this; }
84 inline HlsPackage& AddAdTriggers(__AdTriggersElement&& value) { m_adTriggersHasBeenSet = true; m_adTriggers.push_back(std::move(value)); return *this; }
86
88
89 inline const AdsOnDeliveryRestrictions& GetAdsOnDeliveryRestrictions() const{ return m_adsOnDeliveryRestrictions; }
90 inline bool AdsOnDeliveryRestrictionsHasBeenSet() const { return m_adsOnDeliveryRestrictionsHasBeenSet; }
91 inline void SetAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions& value) { m_adsOnDeliveryRestrictionsHasBeenSet = true; m_adsOnDeliveryRestrictions = value; }
92 inline void SetAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions&& value) { m_adsOnDeliveryRestrictionsHasBeenSet = true; m_adsOnDeliveryRestrictions = std::move(value); }
96
98
99 inline const HlsEncryption& GetEncryption() const{ return m_encryption; }
100 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
101 inline void SetEncryption(const HlsEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
102 inline void SetEncryption(HlsEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
103 inline HlsPackage& WithEncryption(const HlsEncryption& value) { SetEncryption(value); return *this;}
104 inline HlsPackage& WithEncryption(HlsEncryption&& value) { SetEncryption(std::move(value)); return *this;}
106
108
112 inline bool GetIncludeDvbSubtitles() const{ return m_includeDvbSubtitles; }
113 inline bool IncludeDvbSubtitlesHasBeenSet() const { return m_includeDvbSubtitlesHasBeenSet; }
114 inline void SetIncludeDvbSubtitles(bool value) { m_includeDvbSubtitlesHasBeenSet = true; m_includeDvbSubtitles = value; }
115 inline HlsPackage& WithIncludeDvbSubtitles(bool value) { SetIncludeDvbSubtitles(value); return *this;}
117
119
122 inline bool GetIncludeIframeOnlyStream() const{ return m_includeIframeOnlyStream; }
123 inline bool IncludeIframeOnlyStreamHasBeenSet() const { return m_includeIframeOnlyStreamHasBeenSet; }
124 inline void SetIncludeIframeOnlyStream(bool value) { m_includeIframeOnlyStreamHasBeenSet = true; m_includeIframeOnlyStream = value; }
125 inline HlsPackage& WithIncludeIframeOnlyStream(bool value) { SetIncludeIframeOnlyStream(value); return *this;}
127
129
137 inline const PlaylistType& GetPlaylistType() const{ return m_playlistType; }
138 inline bool PlaylistTypeHasBeenSet() const { return m_playlistTypeHasBeenSet; }
139 inline void SetPlaylistType(const PlaylistType& value) { m_playlistTypeHasBeenSet = true; m_playlistType = value; }
140 inline void SetPlaylistType(PlaylistType&& value) { m_playlistTypeHasBeenSet = true; m_playlistType = std::move(value); }
141 inline HlsPackage& WithPlaylistType(const PlaylistType& value) { SetPlaylistType(value); return *this;}
142 inline HlsPackage& WithPlaylistType(PlaylistType&& value) { SetPlaylistType(std::move(value)); return *this;}
144
146
149 inline int GetPlaylistWindowSeconds() const{ return m_playlistWindowSeconds; }
150 inline bool PlaylistWindowSecondsHasBeenSet() const { return m_playlistWindowSecondsHasBeenSet; }
151 inline void SetPlaylistWindowSeconds(int value) { m_playlistWindowSecondsHasBeenSet = true; m_playlistWindowSeconds = value; }
152 inline HlsPackage& WithPlaylistWindowSeconds(int value) { SetPlaylistWindowSeconds(value); return *this;}
154
156
175 inline int GetProgramDateTimeIntervalSeconds() const{ return m_programDateTimeIntervalSeconds; }
176 inline bool ProgramDateTimeIntervalSecondsHasBeenSet() const { return m_programDateTimeIntervalSecondsHasBeenSet; }
177 inline void SetProgramDateTimeIntervalSeconds(int value) { m_programDateTimeIntervalSecondsHasBeenSet = true; m_programDateTimeIntervalSeconds = value; }
180
182
188 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
189 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
190 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
191 inline HlsPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
193
195
196 inline const StreamSelection& GetStreamSelection() const{ return m_streamSelection; }
197 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
198 inline void SetStreamSelection(const StreamSelection& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = value; }
199 inline void SetStreamSelection(StreamSelection&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::move(value); }
200 inline HlsPackage& WithStreamSelection(const StreamSelection& value) { SetStreamSelection(value); return *this;}
201 inline HlsPackage& WithStreamSelection(StreamSelection&& value) { SetStreamSelection(std::move(value)); return *this;}
203
205
208 inline bool GetUseAudioRenditionGroup() const{ return m_useAudioRenditionGroup; }
209 inline bool UseAudioRenditionGroupHasBeenSet() const { return m_useAudioRenditionGroupHasBeenSet; }
210 inline void SetUseAudioRenditionGroup(bool value) { m_useAudioRenditionGroupHasBeenSet = true; m_useAudioRenditionGroup = value; }
211 inline HlsPackage& WithUseAudioRenditionGroup(bool value) { SetUseAudioRenditionGroup(value); return *this;}
213 private:
214
215 AdMarkers m_adMarkers;
216 bool m_adMarkersHasBeenSet = false;
217
219 bool m_adTriggersHasBeenSet = false;
220
221 AdsOnDeliveryRestrictions m_adsOnDeliveryRestrictions;
222 bool m_adsOnDeliveryRestrictionsHasBeenSet = false;
223
224 HlsEncryption m_encryption;
225 bool m_encryptionHasBeenSet = false;
226
227 bool m_includeDvbSubtitles;
228 bool m_includeDvbSubtitlesHasBeenSet = false;
229
230 bool m_includeIframeOnlyStream;
231 bool m_includeIframeOnlyStreamHasBeenSet = false;
232
233 PlaylistType m_playlistType;
234 bool m_playlistTypeHasBeenSet = false;
235
236 int m_playlistWindowSeconds;
237 bool m_playlistWindowSecondsHasBeenSet = false;
238
239 int m_programDateTimeIntervalSeconds;
240 bool m_programDateTimeIntervalSecondsHasBeenSet = false;
241
242 int m_segmentDurationSeconds;
243 bool m_segmentDurationSecondsHasBeenSet = false;
244
245 StreamSelection m_streamSelection;
246 bool m_streamSelectionHasBeenSet = false;
247
248 bool m_useAudioRenditionGroup;
249 bool m_useAudioRenditionGroupHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace MediaPackage
254} // namespace Aws
HlsPackage & WithSegmentDurationSeconds(int value)
Definition HlsPackage.h:191
const AdMarkers & GetAdMarkers() const
Definition HlsPackage.h:67
HlsPackage & WithPlaylistType(PlaylistType &&value)
Definition HlsPackage.h:142
void SetProgramDateTimeIntervalSeconds(int value)
Definition HlsPackage.h:177
const StreamSelection & GetStreamSelection() const
Definition HlsPackage.h:196
const Aws::Vector< __AdTriggersElement > & GetAdTriggers() const
Definition HlsPackage.h:77
void SetPlaylistType(const PlaylistType &value)
Definition HlsPackage.h:139
void SetEncryption(HlsEncryption &&value)
Definition HlsPackage.h:102
void SetPlaylistType(PlaylistType &&value)
Definition HlsPackage.h:140
HlsPackage & WithEncryption(const HlsEncryption &value)
Definition HlsPackage.h:103
HlsPackage & WithAdMarkers(AdMarkers &&value)
Definition HlsPackage.h:72
HlsPackage & WithPlaylistType(const PlaylistType &value)
Definition HlsPackage.h:141
HlsPackage & WithIncludeDvbSubtitles(bool value)
Definition HlsPackage.h:115
HlsPackage & WithStreamSelection(const StreamSelection &value)
Definition HlsPackage.h:200
bool ProgramDateTimeIntervalSecondsHasBeenSet() const
Definition HlsPackage.h:176
void SetStreamSelection(StreamSelection &&value)
Definition HlsPackage.h:199
void SetAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions &&value)
Definition HlsPackage.h:92
HlsPackage & AddAdTriggers(__AdTriggersElement &&value)
Definition HlsPackage.h:84
bool AdsOnDeliveryRestrictionsHasBeenSet() const
Definition HlsPackage.h:90
HlsPackage & WithAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions &&value)
Definition HlsPackage.h:94
void SetAdMarkers(const AdMarkers &value)
Definition HlsPackage.h:69
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
HlsPackage & WithAdTriggers(const Aws::Vector< __AdTriggersElement > &value)
Definition HlsPackage.h:81
void SetStreamSelection(const StreamSelection &value)
Definition HlsPackage.h:198
AWS_MEDIAPACKAGE_API HlsPackage()
AWS_MEDIAPACKAGE_API HlsPackage(Aws::Utils::Json::JsonView jsonValue)
HlsPackage & WithPlaylistWindowSeconds(int value)
Definition HlsPackage.h:152
HlsPackage & WithUseAudioRenditionGroup(bool value)
Definition HlsPackage.h:211
void SetUseAudioRenditionGroup(bool value)
Definition HlsPackage.h:210
HlsPackage & AddAdTriggers(const __AdTriggersElement &value)
Definition HlsPackage.h:83
HlsPackage & WithEncryption(HlsEncryption &&value)
Definition HlsPackage.h:104
const PlaylistType & GetPlaylistType() const
Definition HlsPackage.h:137
HlsPackage & WithStreamSelection(StreamSelection &&value)
Definition HlsPackage.h:201
void SetEncryption(const HlsEncryption &value)
Definition HlsPackage.h:101
HlsPackage & WithAdMarkers(const AdMarkers &value)
Definition HlsPackage.h:71
void SetAdTriggers(const Aws::Vector< __AdTriggersElement > &value)
Definition HlsPackage.h:79
void SetAdMarkers(AdMarkers &&value)
Definition HlsPackage.h:70
const HlsEncryption & GetEncryption() const
Definition HlsPackage.h:99
const AdsOnDeliveryRestrictions & GetAdsOnDeliveryRestrictions() const
Definition HlsPackage.h:89
HlsPackage & WithAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions &value)
Definition HlsPackage.h:93
HlsPackage & WithAdTriggers(Aws::Vector< __AdTriggersElement > &&value)
Definition HlsPackage.h:82
HlsPackage & WithProgramDateTimeIntervalSeconds(int value)
Definition HlsPackage.h:178
AWS_MEDIAPACKAGE_API HlsPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions &value)
Definition HlsPackage.h:91
void SetAdTriggers(Aws::Vector< __AdTriggersElement > &&value)
Definition HlsPackage.h:80
HlsPackage & WithIncludeIframeOnlyStream(bool value)
Definition HlsPackage.h:125
void SetIncludeIframeOnlyStream(bool value)
Definition HlsPackage.h:124
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue