AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DashManifest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
9#include <aws/mediapackage-vod/model/ManifestLayout.h>
10#include <aws/mediapackage-vod/model/Profile.h>
11#include <aws/mediapackage-vod/model/ScteMarkersSource.h>
12#include <aws/mediapackage-vod/model/StreamSelection.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaPackageVod {
24namespace Model {
25
32 public:
33 AWS_MEDIAPACKAGEVOD_API DashManifest() = default;
34 AWS_MEDIAPACKAGEVOD_API DashManifest(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIAPACKAGEVOD_API DashManifest& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline ManifestLayout GetManifestLayout() const { return m_manifestLayout; }
46 inline bool ManifestLayoutHasBeenSet() const { return m_manifestLayoutHasBeenSet; }
47 inline void SetManifestLayout(ManifestLayout value) {
48 m_manifestLayoutHasBeenSet = true;
49 m_manifestLayout = value;
50 }
52 SetManifestLayout(value);
53 return *this;
54 }
56
58
61 inline const Aws::String& GetManifestName() const { return m_manifestName; }
62 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
63 template <typename ManifestNameT = Aws::String>
64 void SetManifestName(ManifestNameT&& value) {
65 m_manifestNameHasBeenSet = true;
66 m_manifestName = std::forward<ManifestNameT>(value);
67 }
68 template <typename ManifestNameT = Aws::String>
69 DashManifest& WithManifestName(ManifestNameT&& value) {
70 SetManifestName(std::forward<ManifestNameT>(value));
71 return *this;
72 }
74
76
80 inline int GetMinBufferTimeSeconds() const { return m_minBufferTimeSeconds; }
81 inline bool MinBufferTimeSecondsHasBeenSet() const { return m_minBufferTimeSecondsHasBeenSet; }
82 inline void SetMinBufferTimeSeconds(int value) {
83 m_minBufferTimeSecondsHasBeenSet = true;
84 m_minBufferTimeSeconds = value;
85 }
88 return *this;
89 }
91
93
97 inline Profile GetProfile() const { return m_profile; }
98 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
99 inline void SetProfile(Profile value) {
100 m_profileHasBeenSet = true;
101 m_profile = value;
102 }
104 SetProfile(value);
105 return *this;
106 }
108
110
115 inline ScteMarkersSource GetScteMarkersSource() const { return m_scteMarkersSource; }
116 inline bool ScteMarkersSourceHasBeenSet() const { return m_scteMarkersSourceHasBeenSet; }
118 m_scteMarkersSourceHasBeenSet = true;
119 m_scteMarkersSource = value;
120 }
123 return *this;
124 }
126
128
129 inline const StreamSelection& GetStreamSelection() const { return m_streamSelection; }
130 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
131 template <typename StreamSelectionT = StreamSelection>
132 void SetStreamSelection(StreamSelectionT&& value) {
133 m_streamSelectionHasBeenSet = true;
134 m_streamSelection = std::forward<StreamSelectionT>(value);
135 }
136 template <typename StreamSelectionT = StreamSelection>
137 DashManifest& WithStreamSelection(StreamSelectionT&& value) {
138 SetStreamSelection(std::forward<StreamSelectionT>(value));
139 return *this;
140 }
142 private:
143 ManifestLayout m_manifestLayout{ManifestLayout::NOT_SET};
144 bool m_manifestLayoutHasBeenSet = false;
145
146 Aws::String m_manifestName;
147 bool m_manifestNameHasBeenSet = false;
148
149 int m_minBufferTimeSeconds{0};
150 bool m_minBufferTimeSecondsHasBeenSet = false;
151
152 Profile m_profile{Profile::NOT_SET};
153 bool m_profileHasBeenSet = false;
154
156 bool m_scteMarkersSourceHasBeenSet = false;
157
158 StreamSelection m_streamSelection;
159 bool m_streamSelectionHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace MediaPackageVod
164} // namespace Aws
void SetManifestName(ManifestNameT &&value)
AWS_MEDIAPACKAGEVOD_API DashManifest()=default
AWS_MEDIAPACKAGEVOD_API DashManifest(Aws::Utils::Json::JsonView jsonValue)
DashManifest & WithMinBufferTimeSeconds(int value)
void SetStreamSelection(StreamSelectionT &&value)
DashManifest & WithManifestLayout(ManifestLayout value)
void SetScteMarkersSource(ScteMarkersSource value)
AWS_MEDIAPACKAGEVOD_API DashManifest & operator=(Aws::Utils::Json::JsonView jsonValue)
DashManifest & WithManifestName(ManifestNameT &&value)
DashManifest & WithStreamSelection(StreamSelectionT &&value)
DashManifest & WithScteMarkersSource(ScteMarkersSource value)
ScteMarkersSource GetScteMarkersSource() const
const Aws::String & GetManifestName() const
void SetManifestLayout(ManifestLayout value)
DashManifest & WithProfile(Profile value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
const StreamSelection & GetStreamSelection() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue