AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ManifestLayout& GetManifestLayout() const{ return m_manifestLayout; }
52 inline bool ManifestLayoutHasBeenSet() const { return m_manifestLayoutHasBeenSet; }
53 inline void SetManifestLayout(const ManifestLayout& value) { m_manifestLayoutHasBeenSet = true; m_manifestLayout = value; }
54 inline void SetManifestLayout(ManifestLayout&& value) { m_manifestLayoutHasBeenSet = true; m_manifestLayout = std::move(value); }
55 inline DashManifest& WithManifestLayout(const ManifestLayout& value) { SetManifestLayout(value); return *this;}
56 inline DashManifest& WithManifestLayout(ManifestLayout&& value) { SetManifestLayout(std::move(value)); return *this;}
58
60
63 inline const Aws::String& GetManifestName() const{ return m_manifestName; }
64 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
65 inline void SetManifestName(const Aws::String& value) { m_manifestNameHasBeenSet = true; m_manifestName = value; }
66 inline void SetManifestName(Aws::String&& value) { m_manifestNameHasBeenSet = true; m_manifestName = std::move(value); }
67 inline void SetManifestName(const char* value) { m_manifestNameHasBeenSet = true; m_manifestName.assign(value); }
68 inline DashManifest& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;}
69 inline DashManifest& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;}
70 inline DashManifest& WithManifestName(const char* value) { SetManifestName(value); return *this;}
72
74
78 inline int GetMinBufferTimeSeconds() const{ return m_minBufferTimeSeconds; }
79 inline bool MinBufferTimeSecondsHasBeenSet() const { return m_minBufferTimeSecondsHasBeenSet; }
80 inline void SetMinBufferTimeSeconds(int value) { m_minBufferTimeSecondsHasBeenSet = true; m_minBufferTimeSeconds = value; }
81 inline DashManifest& WithMinBufferTimeSeconds(int value) { SetMinBufferTimeSeconds(value); return *this;}
83
85
89 inline const Profile& GetProfile() const{ return m_profile; }
90 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
91 inline void SetProfile(const Profile& value) { m_profileHasBeenSet = true; m_profile = value; }
92 inline void SetProfile(Profile&& value) { m_profileHasBeenSet = true; m_profile = std::move(value); }
93 inline DashManifest& WithProfile(const Profile& value) { SetProfile(value); return *this;}
94 inline DashManifest& WithProfile(Profile&& value) { SetProfile(std::move(value)); return *this;}
96
98
103 inline const ScteMarkersSource& GetScteMarkersSource() const{ return m_scteMarkersSource; }
104 inline bool ScteMarkersSourceHasBeenSet() const { return m_scteMarkersSourceHasBeenSet; }
105 inline void SetScteMarkersSource(const ScteMarkersSource& value) { m_scteMarkersSourceHasBeenSet = true; m_scteMarkersSource = value; }
106 inline void SetScteMarkersSource(ScteMarkersSource&& value) { m_scteMarkersSourceHasBeenSet = true; m_scteMarkersSource = std::move(value); }
107 inline DashManifest& WithScteMarkersSource(const ScteMarkersSource& value) { SetScteMarkersSource(value); return *this;}
108 inline DashManifest& WithScteMarkersSource(ScteMarkersSource&& value) { SetScteMarkersSource(std::move(value)); return *this;}
110
112
113 inline const StreamSelection& GetStreamSelection() const{ return m_streamSelection; }
114 inline bool StreamSelectionHasBeenSet() const { return m_streamSelectionHasBeenSet; }
115 inline void SetStreamSelection(const StreamSelection& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = value; }
116 inline void SetStreamSelection(StreamSelection&& value) { m_streamSelectionHasBeenSet = true; m_streamSelection = std::move(value); }
117 inline DashManifest& WithStreamSelection(const StreamSelection& value) { SetStreamSelection(value); return *this;}
118 inline DashManifest& WithStreamSelection(StreamSelection&& value) { SetStreamSelection(std::move(value)); return *this;}
120 private:
121
122 ManifestLayout m_manifestLayout;
123 bool m_manifestLayoutHasBeenSet = false;
124
125 Aws::String m_manifestName;
126 bool m_manifestNameHasBeenSet = false;
127
128 int m_minBufferTimeSeconds;
129 bool m_minBufferTimeSecondsHasBeenSet = false;
130
131 Profile m_profile;
132 bool m_profileHasBeenSet = false;
133
134 ScteMarkersSource m_scteMarkersSource;
135 bool m_scteMarkersSourceHasBeenSet = false;
136
137 StreamSelection m_streamSelection;
138 bool m_streamSelectionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace MediaPackageVod
143} // namespace Aws
DashManifest & WithManifestLayout(const ManifestLayout &value)
DashManifest & WithScteMarkersSource(const ScteMarkersSource &value)
void SetScteMarkersSource(ScteMarkersSource &&value)
DashManifest & WithProfile(const Profile &value)
void SetManifestLayout(const ManifestLayout &value)
AWS_MEDIAPACKAGEVOD_API DashManifest()
AWS_MEDIAPACKAGEVOD_API DashManifest(Aws::Utils::Json::JsonView jsonValue)
void SetManifestName(const char *value)
DashManifest & WithMinBufferTimeSeconds(int value)
void SetManifestName(Aws::String &&value)
const ManifestLayout & GetManifestLayout() const
AWS_MEDIAPACKAGEVOD_API DashManifest & operator=(Aws::Utils::Json::JsonView jsonValue)
DashManifest & WithManifestLayout(ManifestLayout &&value)
DashManifest & WithStreamSelection(StreamSelection &&value)
DashManifest & WithProfile(Profile &&value)
void SetScteMarkersSource(const ScteMarkersSource &value)
void SetStreamSelection(const StreamSelection &value)
const Aws::String & GetManifestName() const
void SetManifestLayout(ManifestLayout &&value)
void SetManifestName(const Aws::String &value)
void SetProfile(const Profile &value)
DashManifest & WithManifestName(const char *value)
DashManifest & WithScteMarkersSource(ScteMarkersSource &&value)
DashManifest & WithStreamSelection(const StreamSelection &value)
const ScteMarkersSource & GetScteMarkersSource() const
void SetStreamSelection(StreamSelection &&value)
AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const
DashManifest & WithManifestName(const Aws::String &value)
const StreamSelection & GetStreamSelection() const
DashManifest & WithManifestName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue