AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AdMarkers& GetAdMarkers() const{ return m_adMarkers; }
58 inline bool AdMarkersHasBeenSet() const { return m_adMarkersHasBeenSet; }
59 inline void SetAdMarkers(const AdMarkers& value) { m_adMarkersHasBeenSet = true; m_adMarkers = value; }
60 inline void SetAdMarkers(AdMarkers&& value) { m_adMarkersHasBeenSet = true; m_adMarkers = std::move(value); }
61 inline HlsManifest& WithAdMarkers(const AdMarkers& value) { SetAdMarkers(value); return *this;}
62 inline HlsManifest& WithAdMarkers(AdMarkers&& value) { SetAdMarkers(std::move(value)); return *this;}
64
66
69 inline bool GetIncludeIframeOnlyStream() const{ return m_includeIframeOnlyStream; }
70 inline bool IncludeIframeOnlyStreamHasBeenSet() const { return m_includeIframeOnlyStreamHasBeenSet; }
71 inline void SetIncludeIframeOnlyStream(bool value) { m_includeIframeOnlyStreamHasBeenSet = true; m_includeIframeOnlyStream = value; }
72 inline HlsManifest& WithIncludeIframeOnlyStream(bool value) { SetIncludeIframeOnlyStream(value); return *this;}
74
76
79 inline const Aws::String& GetManifestName() const{ return m_manifestName; }
80 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
81 inline void SetManifestName(const Aws::String& value) { m_manifestNameHasBeenSet = true; m_manifestName = value; }
82 inline void SetManifestName(Aws::String&& value) { m_manifestNameHasBeenSet = true; m_manifestName = std::move(value); }
83 inline void SetManifestName(const char* value) { m_manifestNameHasBeenSet = true; m_manifestName.assign(value); }
84 inline HlsManifest& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;}
85 inline HlsManifest& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;}
86 inline HlsManifest& WithManifestName(const char* value) { SetManifestName(value); return *this;}
88
90
109 inline int GetProgramDateTimeIntervalSeconds() const{ return m_programDateTimeIntervalSeconds; }
110 inline bool ProgramDateTimeIntervalSecondsHasBeenSet() const { return m_programDateTimeIntervalSecondsHasBeenSet; }
111 inline void SetProgramDateTimeIntervalSeconds(int value) { m_programDateTimeIntervalSecondsHasBeenSet = true; m_programDateTimeIntervalSeconds = value; }
114
116
119 inline bool GetRepeatExtXKey() const{ return m_repeatExtXKey; }
120 inline bool RepeatExtXKeyHasBeenSet() const { return m_repeatExtXKeyHasBeenSet; }
121 inline void SetRepeatExtXKey(bool value) { m_repeatExtXKeyHasBeenSet = true; m_repeatExtXKey = value; }
122 inline HlsManifest& WithRepeatExtXKey(bool value) { SetRepeatExtXKey(value); return *this;}
124
126
127 inline const StreamSelection& GetStreamSelection() const{ return m_streamSelection; }
128 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
129 inline void SetStreamSelection(const StreamSelection& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = value; }
130 inline void SetStreamSelection(StreamSelection&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::move(value); }
131 inline HlsManifest& WithStreamSelection(const StreamSelection& value) { SetStreamSelection(value); return *this;}
132 inline HlsManifest& WithStreamSelection(StreamSelection&& value) { SetStreamSelection(std::move(value)); return *this;}
134 private:
135
136 AdMarkers m_adMarkers;
137 bool m_adMarkersHasBeenSet = false;
138
139 bool m_includeIframeOnlyStream;
140 bool m_includeIframeOnlyStreamHasBeenSet = false;
141
142 Aws::String m_manifestName;
143 bool m_manifestNameHasBeenSet = false;
144
145 int m_programDateTimeIntervalSeconds;
146 bool m_programDateTimeIntervalSecondsHasBeenSet = false;
147
148 bool m_repeatExtXKey;
149 bool m_repeatExtXKeyHasBeenSet = false;
150
151 StreamSelection m_streamSelection;
152 bool m_streamSelectionHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace MediaPackageVod
157} // namespace Aws
HlsManifest & WithRepeatExtXKey(bool value)
void SetStreamSelection(StreamSelection &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
HlsManifest & WithAdMarkers(AdMarkers &&value)
Definition HlsManifest.h:62
const AdMarkers & GetAdMarkers() const
Definition HlsManifest.h:57
const StreamSelection & GetStreamSelection() const
void SetAdMarkers(const AdMarkers &value)
Definition HlsManifest.h:59
void SetAdMarkers(AdMarkers &&value)
Definition HlsManifest.h:60
AWS_MEDIAPACKAGEVOD_API HlsManifest(Aws::Utils::Json::JsonView jsonValue)
HlsManifest & WithStreamSelection(StreamSelection &&value)
HlsManifest & WithStreamSelection(const StreamSelection &value)
void SetManifestName(const Aws::String &value)
Definition HlsManifest.h:81
HlsManifest & WithProgramDateTimeIntervalSeconds(int value)
const Aws::String & GetManifestName() const
Definition HlsManifest.h:79
HlsManifest & WithIncludeIframeOnlyStream(bool value)
Definition HlsManifest.h:72
AWS_MEDIAPACKAGEVOD_API HlsManifest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEVOD_API HlsManifest()
HlsManifest & WithManifestName(Aws::String &&value)
Definition HlsManifest.h:85
HlsManifest & WithManifestName(const char *value)
Definition HlsManifest.h:86
void SetManifestName(const char *value)
Definition HlsManifest.h:83
void SetStreamSelection(const StreamSelection &value)
HlsManifest & WithAdMarkers(const AdMarkers &value)
Definition HlsManifest.h:61
void SetManifestName(Aws::String &&value)
Definition HlsManifest.h:82
HlsManifest & WithManifestName(const Aws::String &value)
Definition HlsManifest.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue