AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DashManifest.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/model/ManifestLayout.h>
9#include <aws/core/utils/memory/stl/AWSString.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#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaPackageVod
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIAPACKAGEVOD_API DashManifest() = default;
39 AWS_MEDIAPACKAGEVOD_API DashManifest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGEVOD_API DashManifest& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline ManifestLayout GetManifestLayout() const { return m_manifestLayout; }
52 inline bool ManifestLayoutHasBeenSet() const { return m_manifestLayoutHasBeenSet; }
53 inline void SetManifestLayout(ManifestLayout value) { m_manifestLayoutHasBeenSet = true; m_manifestLayout = value; }
54 inline DashManifest& WithManifestLayout(ManifestLayout value) { SetManifestLayout(value); return *this;}
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) { m_manifestNameHasBeenSet = true; m_manifestName = std::forward<ManifestNameT>(value); }
65 template<typename ManifestNameT = Aws::String>
66 DashManifest& WithManifestName(ManifestNameT&& value) { SetManifestName(std::forward<ManifestNameT>(value)); return *this;}
68
70
74 inline int GetMinBufferTimeSeconds() const { return m_minBufferTimeSeconds; }
75 inline bool MinBufferTimeSecondsHasBeenSet() const { return m_minBufferTimeSecondsHasBeenSet; }
76 inline void SetMinBufferTimeSeconds(int value) { m_minBufferTimeSecondsHasBeenSet = true; m_minBufferTimeSeconds = value; }
77 inline DashManifest& WithMinBufferTimeSeconds(int value) { SetMinBufferTimeSeconds(value); return *this;}
79
81
85 inline Profile GetProfile() const { return m_profile; }
86 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
87 inline void SetProfile(Profile value) { m_profileHasBeenSet = true; m_profile = value; }
88 inline DashManifest& WithProfile(Profile value) { SetProfile(value); return *this;}
90
92
97 inline ScteMarkersSource GetScteMarkersSource() const { return m_scteMarkersSource; }
98 inline bool ScteMarkersSourceHasBeenSet() const { return m_scteMarkersSourceHasBeenSet; }
99 inline void SetScteMarkersSource(ScteMarkersSource value) { m_scteMarkersSourceHasBeenSet = true; m_scteMarkersSource = value; }
102
104
105 inline const StreamSelection& GetStreamSelection() const { return m_streamSelection; }
106 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
107 template<typename StreamSelectionT = StreamSelection>
108 void SetStreamSelection(StreamSelectionT&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::forward<StreamSelectionT>(value); }
109 template<typename StreamSelectionT = StreamSelection>
110 DashManifest& WithStreamSelection(StreamSelectionT&& value) { SetStreamSelection(std::forward<StreamSelectionT>(value)); return *this;}
112 private:
113
114 ManifestLayout m_manifestLayout{ManifestLayout::NOT_SET};
115 bool m_manifestLayoutHasBeenSet = false;
116
117 Aws::String m_manifestName;
118 bool m_manifestNameHasBeenSet = false;
119
120 int m_minBufferTimeSeconds{0};
121 bool m_minBufferTimeSecondsHasBeenSet = false;
122
123 Profile m_profile{Profile::NOT_SET};
124 bool m_profileHasBeenSet = false;
125
127 bool m_scteMarkersSourceHasBeenSet = false;
128
129 StreamSelection m_streamSelection;
130 bool m_streamSelectionHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace MediaPackageVod
135} // 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