AWS SDK for C++

AWS SDK for C++ Version 1.11.817

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#include <aws/mediapackagev2/model/UriPathType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mediapackagev2 {
24namespace Model {
25
33 public:
34 AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration() = default;
37 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline const Aws::String& GetManifestName() const { return m_manifestName; }
49 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
50 template <typename ManifestNameT = Aws::String>
51 void SetManifestName(ManifestNameT&& value) {
52 m_manifestNameHasBeenSet = true;
53 m_manifestName = std::forward<ManifestNameT>(value);
54 }
55 template <typename ManifestNameT = Aws::String>
57 SetManifestName(std::forward<ManifestNameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetUrl() const { return m_url; }
67 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
68 template <typename UrlT = Aws::String>
69 void SetUrl(UrlT&& value) {
70 m_urlHasBeenSet = true;
71 m_url = std::forward<UrlT>(value);
72 }
73 template <typename UrlT = Aws::String>
75 SetUrl(std::forward<UrlT>(value));
76 return *this;
77 }
79
81
88 inline const Aws::String& GetChildManifestName() const { return m_childManifestName; }
89 inline bool ChildManifestNameHasBeenSet() const { return m_childManifestNameHasBeenSet; }
90 template <typename ChildManifestNameT = Aws::String>
91 void SetChildManifestName(ChildManifestNameT&& value) {
92 m_childManifestNameHasBeenSet = true;
93 m_childManifestName = std::forward<ChildManifestNameT>(value);
94 }
95 template <typename ChildManifestNameT = Aws::String>
97 SetChildManifestName(std::forward<ChildManifestNameT>(value));
98 return *this;
99 }
101
103
106 inline int GetManifestWindowSeconds() const { return m_manifestWindowSeconds; }
107 inline bool ManifestWindowSecondsHasBeenSet() const { return m_manifestWindowSecondsHasBeenSet; }
108 inline void SetManifestWindowSeconds(int value) {
109 m_manifestWindowSecondsHasBeenSet = true;
110 m_manifestWindowSeconds = value;
111 }
114 return *this;
115 }
117
119
127 inline int GetProgramDateTimeIntervalSeconds() const { return m_programDateTimeIntervalSeconds; }
128 inline bool ProgramDateTimeIntervalSecondsHasBeenSet() const { return m_programDateTimeIntervalSecondsHasBeenSet; }
129 inline void SetProgramDateTimeIntervalSeconds(int value) {
130 m_programDateTimeIntervalSecondsHasBeenSet = true;
131 m_programDateTimeIntervalSeconds = value;
132 }
135 return *this;
136 }
138
140
141 inline const ScteHls& GetScteHls() const { return m_scteHls; }
142 inline bool ScteHlsHasBeenSet() const { return m_scteHlsHasBeenSet; }
143 template <typename ScteHlsT = ScteHls>
144 void SetScteHls(ScteHlsT&& value) {
145 m_scteHlsHasBeenSet = true;
146 m_scteHls = std::forward<ScteHlsT>(value);
147 }
148 template <typename ScteHlsT = ScteHls>
150 SetScteHls(std::forward<ScteHlsT>(value));
151 return *this;
152 }
154
156
157 inline const FilterConfiguration& GetFilterConfiguration() const { return m_filterConfiguration; }
158 inline bool FilterConfigurationHasBeenSet() const { return m_filterConfigurationHasBeenSet; }
159 template <typename FilterConfigurationT = FilterConfiguration>
160 void SetFilterConfiguration(FilterConfigurationT&& value) {
161 m_filterConfigurationHasBeenSet = true;
162 m_filterConfiguration = std::forward<FilterConfigurationT>(value);
163 }
164 template <typename FilterConfigurationT = FilterConfiguration>
166 SetFilterConfiguration(std::forward<FilterConfigurationT>(value));
167 return *this;
168 }
170
172
173 inline const StartTag& GetStartTag() const { return m_startTag; }
174 inline bool StartTagHasBeenSet() const { return m_startTagHasBeenSet; }
175 template <typename StartTagT = StartTag>
176 void SetStartTag(StartTagT&& value) {
177 m_startTagHasBeenSet = true;
178 m_startTag = std::forward<StartTagT>(value);
179 }
180 template <typename StartTagT = StartTag>
182 SetStartTag(std::forward<StartTagT>(value));
183 return *this;
184 }
186
188
196 inline bool GetUrlEncodeChildManifest() const { return m_urlEncodeChildManifest; }
197 inline bool UrlEncodeChildManifestHasBeenSet() const { return m_urlEncodeChildManifestHasBeenSet; }
198 inline void SetUrlEncodeChildManifest(bool value) {
199 m_urlEncodeChildManifestHasBeenSet = true;
200 m_urlEncodeChildManifest = value;
201 }
204 return *this;
205 }
207
209
214 inline UriPathType GetUriPathType() const { return m_uriPathType; }
215 inline bool UriPathTypeHasBeenSet() const { return m_uriPathTypeHasBeenSet; }
216 inline void SetUriPathType(UriPathType value) {
217 m_uriPathTypeHasBeenSet = true;
218 m_uriPathType = value;
219 }
221 SetUriPathType(value);
222 return *this;
223 }
225 private:
226 Aws::String m_manifestName;
227
228 Aws::String m_url;
229
230 Aws::String m_childManifestName;
231
232 int m_manifestWindowSeconds{0};
233
234 int m_programDateTimeIntervalSeconds{0};
235
236 ScteHls m_scteHls;
237
238 FilterConfiguration m_filterConfiguration;
239
240 StartTag m_startTag;
241
242 bool m_urlEncodeChildManifest{false};
243
244 UriPathType m_uriPathType{UriPathType::NOT_SET};
245 bool m_manifestNameHasBeenSet = false;
246 bool m_urlHasBeenSet = false;
247 bool m_childManifestNameHasBeenSet = false;
248 bool m_manifestWindowSecondsHasBeenSet = false;
249 bool m_programDateTimeIntervalSecondsHasBeenSet = false;
250 bool m_scteHlsHasBeenSet = false;
251 bool m_filterConfigurationHasBeenSet = false;
252 bool m_startTagHasBeenSet = false;
253 bool m_urlEncodeChildManifestHasBeenSet = false;
254 bool m_uriPathTypeHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace mediapackagev2
259} // namespace Aws
AWS_MEDIAPACKAGEV2_API GetHlsManifestConfiguration(Aws::Utils::Json::JsonView jsonValue)
GetHlsManifestConfiguration & WithUriPathType(UriPathType value)
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