AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HlsManifest.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/AdMarkers.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackage-vod/model/StreamSelection.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaPackageVod
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIAPACKAGEVOD_API HlsManifest() = default;
37 AWS_MEDIAPACKAGEVOD_API HlsManifest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEVOD_API HlsManifest& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline AdMarkers GetAdMarkers() const { return m_adMarkers; }
58 inline bool AdMarkersHasBeenSet() const { return m_adMarkersHasBeenSet; }
59 inline void SetAdMarkers(AdMarkers value) { m_adMarkersHasBeenSet = true; m_adMarkers = value; }
60 inline HlsManifest& WithAdMarkers(AdMarkers value) { SetAdMarkers(value); return *this;}
62
64
67 inline bool GetIncludeIframeOnlyStream() const { return m_includeIframeOnlyStream; }
68 inline bool IncludeIframeOnlyStreamHasBeenSet() const { return m_includeIframeOnlyStreamHasBeenSet; }
69 inline void SetIncludeIframeOnlyStream(bool value) { m_includeIframeOnlyStreamHasBeenSet = true; m_includeIframeOnlyStream = value; }
70 inline HlsManifest& WithIncludeIframeOnlyStream(bool value) { SetIncludeIframeOnlyStream(value); return *this;}
72
74
77 inline const Aws::String& GetManifestName() const { return m_manifestName; }
78 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
79 template<typename ManifestNameT = Aws::String>
80 void SetManifestName(ManifestNameT&& value) { m_manifestNameHasBeenSet = true; m_manifestName = std::forward<ManifestNameT>(value); }
81 template<typename ManifestNameT = Aws::String>
82 HlsManifest& WithManifestName(ManifestNameT&& value) { SetManifestName(std::forward<ManifestNameT>(value)); return *this;}
84
86
105 inline int GetProgramDateTimeIntervalSeconds() const { return m_programDateTimeIntervalSeconds; }
106 inline bool ProgramDateTimeIntervalSecondsHasBeenSet() const { return m_programDateTimeIntervalSecondsHasBeenSet; }
107 inline void SetProgramDateTimeIntervalSeconds(int value) { m_programDateTimeIntervalSecondsHasBeenSet = true; m_programDateTimeIntervalSeconds = value; }
110
112
115 inline bool GetRepeatExtXKey() const { return m_repeatExtXKey; }
116 inline bool RepeatExtXKeyHasBeenSet() const { return m_repeatExtXKeyHasBeenSet; }
117 inline void SetRepeatExtXKey(bool value) { m_repeatExtXKeyHasBeenSet = true; m_repeatExtXKey = value; }
118 inline HlsManifest& WithRepeatExtXKey(bool value) { SetRepeatExtXKey(value); return *this;}
120
122
123 inline const StreamSelection& GetStreamSelection() const { return m_streamSelection; }
124 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
125 template<typename StreamSelectionT = StreamSelection>
126 void SetStreamSelection(StreamSelectionT&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::forward<StreamSelectionT>(value); }
127 template<typename StreamSelectionT = StreamSelection>
128 HlsManifest& WithStreamSelection(StreamSelectionT&& value) { SetStreamSelection(std::forward<StreamSelectionT>(value)); return *this;}
130 private:
131
132 AdMarkers m_adMarkers{AdMarkers::NOT_SET};
133 bool m_adMarkersHasBeenSet = false;
134
135 bool m_includeIframeOnlyStream{false};
136 bool m_includeIframeOnlyStreamHasBeenSet = false;
137
138 Aws::String m_manifestName;
139 bool m_manifestNameHasBeenSet = false;
140
141 int m_programDateTimeIntervalSeconds{0};
142 bool m_programDateTimeIntervalSecondsHasBeenSet = false;
143
144 bool m_repeatExtXKey{false};
145 bool m_repeatExtXKeyHasBeenSet = false;
146
147 StreamSelection m_streamSelection;
148 bool m_streamSelectionHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace MediaPackageVod
153} // namespace Aws
HlsManifest & WithRepeatExtXKey(bool value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
const StreamSelection & GetStreamSelection() const
AWS_MEDIAPACKAGEVOD_API HlsManifest(Aws::Utils::Json::JsonView jsonValue)
void SetManifestName(ManifestNameT &&value)
Definition HlsManifest.h:80
HlsManifest & WithAdMarkers(AdMarkers value)
Definition HlsManifest.h:60
HlsManifest & WithProgramDateTimeIntervalSeconds(int value)
const Aws::String & GetManifestName() const
Definition HlsManifest.h:77
HlsManifest & WithManifestName(ManifestNameT &&value)
Definition HlsManifest.h:82
HlsManifest & WithIncludeIframeOnlyStream(bool value)
Definition HlsManifest.h:70
AWS_MEDIAPACKAGEVOD_API HlsManifest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEVOD_API HlsManifest()=default
void SetStreamSelection(StreamSelectionT &&value)
HlsManifest & WithStreamSelection(StreamSelectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue