AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetHlsManifestConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
9#include <aws/mediapackagev2/model/FilterConfiguration.h>
10#include <aws/mediapackagev2/model/ScteHls.h>
11#include <aws/mediapackagev2/model/StartTag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mediapackagev2 {
23namespace Model {
24
32 public:
33 AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration() = default;
36 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
47 inline const Aws::String& GetManifestName() const { return m_manifestName; }
48 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
49 template <typename ManifestNameT = Aws::String>
50 void SetManifestName(ManifestNameT&& value) {
51 m_manifestNameHasBeenSet = true;
52 m_manifestName = std::forward<ManifestNameT>(value);
53 }
54 template <typename ManifestNameT = Aws::String>
56 SetManifestName(std::forward<ManifestNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetUrl() const { return m_url; }
66 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
67 template <typename UrlT = Aws::String>
68 void SetUrl(UrlT&& value) {
69 m_urlHasBeenSet = true;
70 m_url = std::forward<UrlT>(value);
71 }
72 template <typename UrlT = Aws::String>
74 SetUrl(std::forward<UrlT>(value));
75 return *this;
76 }
78
80
87 inline const Aws::String& GetChildManifestName() const { return m_childManifestName; }
88 inline bool ChildManifestNameHasBeenSet() const { return m_childManifestNameHasBeenSet; }
89 template <typename ChildManifestNameT = Aws::String>
90 void SetChildManifestName(ChildManifestNameT&& value) {
91 m_childManifestNameHasBeenSet = true;
92 m_childManifestName = std::forward<ChildManifestNameT>(value);
93 }
94 template <typename ChildManifestNameT = Aws::String>
96 SetChildManifestName(std::forward<ChildManifestNameT>(value));
97 return *this;
98 }
100
102
105 inline int GetManifestWindowSeconds() const { return m_manifestWindowSeconds; }
106 inline bool ManifestWindowSecondsHasBeenSet() const { return m_manifestWindowSecondsHasBeenSet; }
107 inline void SetManifestWindowSeconds(int value) {
108 m_manifestWindowSecondsHasBeenSet = true;
109 m_manifestWindowSeconds = value;
110 }
113 return *this;
114 }
116
118
126 inline int GetProgramDateTimeIntervalSeconds() const { return m_programDateTimeIntervalSeconds; }
127 inline bool ProgramDateTimeIntervalSecondsHasBeenSet() const { return m_programDateTimeIntervalSecondsHasBeenSet; }
128 inline void SetProgramDateTimeIntervalSeconds(int value) {
129 m_programDateTimeIntervalSecondsHasBeenSet = true;
130 m_programDateTimeIntervalSeconds = value;
131 }
134 return *this;
135 }
137
139
140 inline const ScteHls& GetScteHls() const { return m_scteHls; }
141 inline bool ScteHlsHasBeenSet() const { return m_scteHlsHasBeenSet; }
142 template <typename ScteHlsT = ScteHls>
143 void SetScteHls(ScteHlsT&& value) {
144 m_scteHlsHasBeenSet = true;
145 m_scteHls = std::forward<ScteHlsT>(value);
146 }
147 template <typename ScteHlsT = ScteHls>
149 SetScteHls(std::forward<ScteHlsT>(value));
150 return *this;
151 }
153
155
156 inline const FilterConfiguration& GetFilterConfiguration() const { return m_filterConfiguration; }
157 inline bool FilterConfigurationHasBeenSet() const { return m_filterConfigurationHasBeenSet; }
158 template <typename FilterConfigurationT = FilterConfiguration>
159 void SetFilterConfiguration(FilterConfigurationT&& value) {
160 m_filterConfigurationHasBeenSet = true;
161 m_filterConfiguration = std::forward<FilterConfigurationT>(value);
162 }
163 template <typename FilterConfigurationT = FilterConfiguration>
165 SetFilterConfiguration(std::forward<FilterConfigurationT>(value));
166 return *this;
167 }
169
171
172 inline const StartTag& GetStartTag() const { return m_startTag; }
173 inline bool StartTagHasBeenSet() const { return m_startTagHasBeenSet; }
174 template <typename StartTagT = StartTag>
175 void SetStartTag(StartTagT&& value) {
176 m_startTagHasBeenSet = true;
177 m_startTag = std::forward<StartTagT>(value);
178 }
179 template <typename StartTagT = StartTag>
181 SetStartTag(std::forward<StartTagT>(value));
182 return *this;
183 }
185
187
195 inline bool GetUrlEncodeChildManifest() const { return m_urlEncodeChildManifest; }
196 inline bool UrlEncodeChildManifestHasBeenSet() const { return m_urlEncodeChildManifestHasBeenSet; }
197 inline void SetUrlEncodeChildManifest(bool value) {
198 m_urlEncodeChildManifestHasBeenSet = true;
199 m_urlEncodeChildManifest = value;
200 }
203 return *this;
204 }
206 private:
207 Aws::String m_manifestName;
208
209 Aws::String m_url;
210
211 Aws::String m_childManifestName;
212
213 int m_manifestWindowSeconds{0};
214
215 int m_programDateTimeIntervalSeconds{0};
216
217 ScteHls m_scteHls;
218
219 FilterConfiguration m_filterConfiguration;
220
221 StartTag m_startTag;
222
223 bool m_urlEncodeChildManifest{false};
224 bool m_manifestNameHasBeenSet = false;
225 bool m_urlHasBeenSet = false;
226 bool m_childManifestNameHasBeenSet = false;
227 bool m_manifestWindowSecondsHasBeenSet = false;
228 bool m_programDateTimeIntervalSecondsHasBeenSet = false;
229 bool m_scteHlsHasBeenSet = false;
230 bool m_filterConfigurationHasBeenSet = false;
231 bool m_startTagHasBeenSet = false;
232 bool m_urlEncodeChildManifestHasBeenSet = false;
233};
234
235} // namespace Model
236} // namespace mediapackagev2
237} // namespace Aws
AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration(Aws::Utils::Json::JsonView jsonValue)
GetHlsManifestConfiguration & WithStartTag(StartTagT &&value)
GetHlsManifestConfiguration & WithChildManifestName(ChildManifestNameT &&value)
AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GetHlsManifestConfiguration & WithProgramDateTimeIntervalSeconds(int value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
GetHlsManifestConfiguration & WithFilterConfiguration(FilterConfigurationT &&value)
GetHlsManifestConfiguration & WithUrlEncodeChildManifest(bool value)
AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration()=default
GetHlsManifestConfiguration & WithManifestWindowSeconds(int value)
GetHlsManifestConfiguration & WithScteHls(ScteHlsT &&value)
GetHlsManifestConfiguration & WithManifestName(ManifestNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue