AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashPackage.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediapackage/model/AdsOnDeliveryRestrictions.h>
10#include <aws/mediapackage/model/DashEncryption.h>
11#include <aws/mediapackage/model/ManifestLayout.h>
12#include <aws/mediapackage/model/Profile.h>
13#include <aws/mediapackage/model/SegmentTemplateFormat.h>
14#include <aws/mediapackage/model/StreamSelection.h>
15#include <aws/mediapackage/model/UtcTiming.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/mediapackage/model/__AdTriggersElement.h>
18#include <aws/mediapackage/model/__PeriodTriggersElement.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaPackage
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_MEDIAPACKAGE_API DashPackage();
46 AWS_MEDIAPACKAGE_API DashPackage(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIAPACKAGE_API DashPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
53 inline const Aws::Vector<__AdTriggersElement>& GetAdTriggers() const{ return m_adTriggers; }
54 inline bool AdTriggersHasBeenSet() const { return m_adTriggersHasBeenSet; }
55 inline void SetAdTriggers(const Aws::Vector<__AdTriggersElement>& value) { m_adTriggersHasBeenSet = true; m_adTriggers = value; }
56 inline void SetAdTriggers(Aws::Vector<__AdTriggersElement>&& value) { m_adTriggersHasBeenSet = true; m_adTriggers = std::move(value); }
57 inline DashPackage& WithAdTriggers(const Aws::Vector<__AdTriggersElement>& value) { SetAdTriggers(value); return *this;}
58 inline DashPackage& WithAdTriggers(Aws::Vector<__AdTriggersElement>&& value) { SetAdTriggers(std::move(value)); return *this;}
59 inline DashPackage& AddAdTriggers(const __AdTriggersElement& value) { m_adTriggersHasBeenSet = true; m_adTriggers.push_back(value); return *this; }
60 inline DashPackage& AddAdTriggers(__AdTriggersElement&& value) { m_adTriggersHasBeenSet = true; m_adTriggers.push_back(std::move(value)); return *this; }
62
64
65 inline const AdsOnDeliveryRestrictions& GetAdsOnDeliveryRestrictions() const{ return m_adsOnDeliveryRestrictions; }
66 inline bool AdsOnDeliveryRestrictionsHasBeenSet() const { return m_adsOnDeliveryRestrictionsHasBeenSet; }
67 inline void SetAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions& value) { m_adsOnDeliveryRestrictionsHasBeenSet = true; m_adsOnDeliveryRestrictions = value; }
68 inline void SetAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions&& value) { m_adsOnDeliveryRestrictionsHasBeenSet = true; m_adsOnDeliveryRestrictions = std::move(value); }
72
74
75 inline const DashEncryption& GetEncryption() const{ return m_encryption; }
76 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
77 inline void SetEncryption(const DashEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
78 inline void SetEncryption(DashEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
79 inline DashPackage& WithEncryption(const DashEncryption& value) { SetEncryption(value); return *this;}
80 inline DashPackage& WithEncryption(DashEncryption&& value) { SetEncryption(std::move(value)); return *this;}
82
84
87 inline bool GetIncludeIframeOnlyStream() const{ return m_includeIframeOnlyStream; }
88 inline bool IncludeIframeOnlyStreamHasBeenSet() const { return m_includeIframeOnlyStreamHasBeenSet; }
89 inline void SetIncludeIframeOnlyStream(bool value) { m_includeIframeOnlyStreamHasBeenSet = true; m_includeIframeOnlyStream = value; }
90 inline DashPackage& WithIncludeIframeOnlyStream(bool value) { SetIncludeIframeOnlyStream(value); return *this;}
92
94
102 inline const ManifestLayout& GetManifestLayout() const{ return m_manifestLayout; }
103 inline bool ManifestLayoutHasBeenSet() const { return m_manifestLayoutHasBeenSet; }
104 inline void SetManifestLayout(const ManifestLayout& value) { m_manifestLayoutHasBeenSet = true; m_manifestLayout = value; }
105 inline void SetManifestLayout(ManifestLayout&& value) { m_manifestLayoutHasBeenSet = true; m_manifestLayout = std::move(value); }
106 inline DashPackage& WithManifestLayout(const ManifestLayout& value) { SetManifestLayout(value); return *this;}
107 inline DashPackage& WithManifestLayout(ManifestLayout&& value) { SetManifestLayout(std::move(value)); return *this;}
109
111
114 inline int GetManifestWindowSeconds() const{ return m_manifestWindowSeconds; }
115 inline bool ManifestWindowSecondsHasBeenSet() const { return m_manifestWindowSecondsHasBeenSet; }
116 inline void SetManifestWindowSeconds(int value) { m_manifestWindowSecondsHasBeenSet = true; m_manifestWindowSeconds = value; }
117 inline DashPackage& WithManifestWindowSeconds(int value) { SetManifestWindowSeconds(value); return *this;}
119
121
125 inline int GetMinBufferTimeSeconds() const{ return m_minBufferTimeSeconds; }
126 inline bool MinBufferTimeSecondsHasBeenSet() const { return m_minBufferTimeSecondsHasBeenSet; }
127 inline void SetMinBufferTimeSeconds(int value) { m_minBufferTimeSecondsHasBeenSet = true; m_minBufferTimeSeconds = value; }
128 inline DashPackage& WithMinBufferTimeSeconds(int value) { SetMinBufferTimeSeconds(value); return *this;}
130
132
136 inline int GetMinUpdatePeriodSeconds() const{ return m_minUpdatePeriodSeconds; }
137 inline bool MinUpdatePeriodSecondsHasBeenSet() const { return m_minUpdatePeriodSecondsHasBeenSet; }
138 inline void SetMinUpdatePeriodSeconds(int value) { m_minUpdatePeriodSecondsHasBeenSet = true; m_minUpdatePeriodSeconds = value; }
139 inline DashPackage& WithMinUpdatePeriodSeconds(int value) { SetMinUpdatePeriodSeconds(value); return *this;}
141
143
154 inline const Aws::Vector<__PeriodTriggersElement>& GetPeriodTriggers() const{ return m_periodTriggers; }
155 inline bool PeriodTriggersHasBeenSet() const { return m_periodTriggersHasBeenSet; }
156 inline void SetPeriodTriggers(const Aws::Vector<__PeriodTriggersElement>& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers = value; }
157 inline void SetPeriodTriggers(Aws::Vector<__PeriodTriggersElement>&& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers = std::move(value); }
160 inline DashPackage& AddPeriodTriggers(const __PeriodTriggersElement& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers.push_back(value); return *this; }
161 inline DashPackage& AddPeriodTriggers(__PeriodTriggersElement&& value) { m_periodTriggersHasBeenSet = true; m_periodTriggers.push_back(std::move(value)); return *this; }
163
165
170 inline const Profile& GetProfile() const{ return m_profile; }
171 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
172 inline void SetProfile(const Profile& value) { m_profileHasBeenSet = true; m_profile = value; }
173 inline void SetProfile(Profile&& value) { m_profileHasBeenSet = true; m_profile = std::move(value); }
174 inline DashPackage& WithProfile(const Profile& value) { SetProfile(value); return *this;}
175 inline DashPackage& WithProfile(Profile&& value) { SetProfile(std::move(value)); return *this;}
177
179
185 inline int GetSegmentDurationSeconds() const{ return m_segmentDurationSeconds; }
186 inline bool SegmentDurationSecondsHasBeenSet() const { return m_segmentDurationSecondsHasBeenSet; }
187 inline void SetSegmentDurationSeconds(int value) { m_segmentDurationSecondsHasBeenSet = true; m_segmentDurationSeconds = value; }
188 inline DashPackage& WithSegmentDurationSeconds(int value) { SetSegmentDurationSeconds(value); return *this;}
190
192
200 inline const SegmentTemplateFormat& GetSegmentTemplateFormat() const{ return m_segmentTemplateFormat; }
201 inline bool SegmentTemplateFormatHasBeenSet() const { return m_segmentTemplateFormatHasBeenSet; }
202 inline void SetSegmentTemplateFormat(const SegmentTemplateFormat& value) { m_segmentTemplateFormatHasBeenSet = true; m_segmentTemplateFormat = value; }
203 inline void SetSegmentTemplateFormat(SegmentTemplateFormat&& value) { m_segmentTemplateFormatHasBeenSet = true; m_segmentTemplateFormat = std::move(value); }
205 inline DashPackage& WithSegmentTemplateFormat(SegmentTemplateFormat&& value) { SetSegmentTemplateFormat(std::move(value)); return *this;}
207
209
210 inline const StreamSelection& GetStreamSelection() const{ return m_streamSelection; }
211 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
212 inline void SetStreamSelection(const StreamSelection& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = value; }
213 inline void SetStreamSelection(StreamSelection&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::move(value); }
214 inline DashPackage& WithStreamSelection(const StreamSelection& value) { SetStreamSelection(value); return *this;}
215 inline DashPackage& WithStreamSelection(StreamSelection&& value) { SetStreamSelection(std::move(value)); return *this;}
217
219
222 inline int GetSuggestedPresentationDelaySeconds() const{ return m_suggestedPresentationDelaySeconds; }
223 inline bool SuggestedPresentationDelaySecondsHasBeenSet() const { return m_suggestedPresentationDelaySecondsHasBeenSet; }
224 inline void SetSuggestedPresentationDelaySeconds(int value) { m_suggestedPresentationDelaySecondsHasBeenSet = true; m_suggestedPresentationDelaySeconds = value; }
227
229
233 inline const UtcTiming& GetUtcTiming() const{ return m_utcTiming; }
234 inline bool UtcTimingHasBeenSet() const { return m_utcTimingHasBeenSet; }
235 inline void SetUtcTiming(const UtcTiming& value) { m_utcTimingHasBeenSet = true; m_utcTiming = value; }
236 inline void SetUtcTiming(UtcTiming&& value) { m_utcTimingHasBeenSet = true; m_utcTiming = std::move(value); }
237 inline DashPackage& WithUtcTiming(const UtcTiming& value) { SetUtcTiming(value); return *this;}
238 inline DashPackage& WithUtcTiming(UtcTiming&& value) { SetUtcTiming(std::move(value)); return *this;}
240
242
246 inline const Aws::String& GetUtcTimingUri() const{ return m_utcTimingUri; }
247 inline bool UtcTimingUriHasBeenSet() const { return m_utcTimingUriHasBeenSet; }
248 inline void SetUtcTimingUri(const Aws::String& value) { m_utcTimingUriHasBeenSet = true; m_utcTimingUri = value; }
249 inline void SetUtcTimingUri(Aws::String&& value) { m_utcTimingUriHasBeenSet = true; m_utcTimingUri = std::move(value); }
250 inline void SetUtcTimingUri(const char* value) { m_utcTimingUriHasBeenSet = true; m_utcTimingUri.assign(value); }
251 inline DashPackage& WithUtcTimingUri(const Aws::String& value) { SetUtcTimingUri(value); return *this;}
252 inline DashPackage& WithUtcTimingUri(Aws::String&& value) { SetUtcTimingUri(std::move(value)); return *this;}
253 inline DashPackage& WithUtcTimingUri(const char* value) { SetUtcTimingUri(value); return *this;}
255 private:
256
258 bool m_adTriggersHasBeenSet = false;
259
260 AdsOnDeliveryRestrictions m_adsOnDeliveryRestrictions;
261 bool m_adsOnDeliveryRestrictionsHasBeenSet = false;
262
263 DashEncryption m_encryption;
264 bool m_encryptionHasBeenSet = false;
265
266 bool m_includeIframeOnlyStream;
267 bool m_includeIframeOnlyStreamHasBeenSet = false;
268
269 ManifestLayout m_manifestLayout;
270 bool m_manifestLayoutHasBeenSet = false;
271
272 int m_manifestWindowSeconds;
273 bool m_manifestWindowSecondsHasBeenSet = false;
274
275 int m_minBufferTimeSeconds;
276 bool m_minBufferTimeSecondsHasBeenSet = false;
277
278 int m_minUpdatePeriodSeconds;
279 bool m_minUpdatePeriodSecondsHasBeenSet = false;
280
282 bool m_periodTriggersHasBeenSet = false;
283
284 Profile m_profile;
285 bool m_profileHasBeenSet = false;
286
287 int m_segmentDurationSeconds;
288 bool m_segmentDurationSecondsHasBeenSet = false;
289
290 SegmentTemplateFormat m_segmentTemplateFormat;
291 bool m_segmentTemplateFormatHasBeenSet = false;
292
293 StreamSelection m_streamSelection;
294 bool m_streamSelectionHasBeenSet = false;
295
296 int m_suggestedPresentationDelaySeconds;
297 bool m_suggestedPresentationDelaySecondsHasBeenSet = false;
298
299 UtcTiming m_utcTiming;
300 bool m_utcTimingHasBeenSet = false;
301
302 Aws::String m_utcTimingUri;
303 bool m_utcTimingUriHasBeenSet = false;
304 };
305
306} // namespace Model
307} // namespace MediaPackage
308} // namespace Aws
DashPackage & WithSuggestedPresentationDelaySeconds(int value)
DashPackage & AddAdTriggers(__AdTriggersElement &&value)
Definition DashPackage.h:60
void SetUtcTimingUri(const char *value)
void SetStreamSelection(StreamSelection &&value)
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
DashPackage & WithAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions &&value)
Definition DashPackage.h:70
DashPackage & WithSegmentTemplateFormat(const SegmentTemplateFormat &value)
const Profile & GetProfile() const
void SetManifestLayout(const ManifestLayout &value)
void SetManifestLayout(ManifestLayout &&value)
const SegmentTemplateFormat & GetSegmentTemplateFormat() const
DashPackage & WithUtcTimingUri(Aws::String &&value)
void SetSegmentTemplateFormat(const SegmentTemplateFormat &value)
AWS_MEDIAPACKAGE_API DashPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
DashPackage & WithEncryption(const DashEncryption &value)
Definition DashPackage.h:79
void SetUtcTimingUri(Aws::String &&value)
void SetEncryption(const DashEncryption &value)
Definition DashPackage.h:77
DashPackage & AddPeriodTriggers(const __PeriodTriggersElement &value)
DashPackage & WithManifestLayout(const ManifestLayout &value)
void SetSuggestedPresentationDelaySeconds(int value)
const ManifestLayout & GetManifestLayout() const
DashPackage & WithPeriodTriggers(Aws::Vector< __PeriodTriggersElement > &&value)
void SetEncryption(DashEncryption &&value)
Definition DashPackage.h:78
bool SuggestedPresentationDelaySecondsHasBeenSet() const
void SetProfile(const Profile &value)
void SetUtcTiming(const UtcTiming &value)
DashPackage & WithUtcTimingUri(const char *value)
DashPackage & WithMinBufferTimeSeconds(int value)
DashPackage & WithProfile(Profile &&value)
const AdsOnDeliveryRestrictions & GetAdsOnDeliveryRestrictions() const
Definition DashPackage.h:65
void SetStreamSelection(const StreamSelection &value)
DashPackage & WithUtcTimingUri(const Aws::String &value)
DashPackage & WithStreamSelection(StreamSelection &&value)
DashPackage & WithAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions &value)
Definition DashPackage.h:69
DashPackage & WithSegmentDurationSeconds(int value)
DashPackage & WithPeriodTriggers(const Aws::Vector< __PeriodTriggersElement > &value)
void SetAdsOnDeliveryRestrictions(const AdsOnDeliveryRestrictions &value)
Definition DashPackage.h:67
AWS_MEDIAPACKAGE_API DashPackage()
DashPackage & AddAdTriggers(const __AdTriggersElement &value)
Definition DashPackage.h:59
AWS_MEDIAPACKAGE_API DashPackage(Aws::Utils::Json::JsonView jsonValue)
void SetAdTriggers(const Aws::Vector< __AdTriggersElement > &value)
Definition DashPackage.h:55
DashPackage & WithEncryption(DashEncryption &&value)
Definition DashPackage.h:80
DashPackage & WithManifestLayout(ManifestLayout &&value)
DashPackage & WithStreamSelection(const StreamSelection &value)
DashPackage & WithAdTriggers(Aws::Vector< __AdTriggersElement > &&value)
Definition DashPackage.h:58
void SetAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions &&value)
Definition DashPackage.h:68
DashPackage & WithUtcTiming(const UtcTiming &value)
DashPackage & WithProfile(const Profile &value)
const DashEncryption & GetEncryption() const
Definition DashPackage.h:75
void SetIncludeIframeOnlyStream(bool value)
Definition DashPackage.h:89
const Aws::Vector< __AdTriggersElement > & GetAdTriggers() const
Definition DashPackage.h:53
DashPackage & WithSegmentTemplateFormat(SegmentTemplateFormat &&value)
void SetPeriodTriggers(const Aws::Vector< __PeriodTriggersElement > &value)
const Aws::Vector< __PeriodTriggersElement > & GetPeriodTriggers() const
void SetAdTriggers(Aws::Vector< __AdTriggersElement > &&value)
Definition DashPackage.h:56
const UtcTiming & GetUtcTiming() const
DashPackage & WithMinUpdatePeriodSeconds(int value)
DashPackage & WithUtcTiming(UtcTiming &&value)
const Aws::String & GetUtcTimingUri() const
void SetSegmentTemplateFormat(SegmentTemplateFormat &&value)
DashPackage & WithIncludeIframeOnlyStream(bool value)
Definition DashPackage.h:90
void SetUtcTiming(UtcTiming &&value)
DashPackage & WithManifestWindowSeconds(int value)
const StreamSelection & GetStreamSelection() const
DashPackage & AddPeriodTriggers(__PeriodTriggersElement &&value)
void SetUtcTimingUri(const Aws::String &value)
void SetPeriodTriggers(Aws::Vector< __PeriodTriggersElement > &&value)
DashPackage & WithAdTriggers(const Aws::Vector< __AdTriggersElement > &value)
Definition DashPackage.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue