AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateOriginEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
12#include <aws/mediapackagev2/model/ContainerType.h>
13#include <aws/mediapackagev2/model/ForceEndpointErrorConfiguration.h>
14#include <aws/mediapackagev2/model/GetDashManifestConfiguration.h>
15#include <aws/mediapackagev2/model/GetHlsManifestConfiguration.h>
16#include <aws/mediapackagev2/model/GetLowLatencyHlsManifestConfiguration.h>
17#include <aws/mediapackagev2/model/GetMssManifestConfiguration.h>
18#include <aws/mediapackagev2/model/Segment.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace mediapackagev2 {
32namespace Model {
34 public:
35 AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointResult() = default;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
63 template <typename ChannelGroupNameT = Aws::String>
64 void SetChannelGroupName(ChannelGroupNameT&& value) {
65 m_channelGroupNameHasBeenSet = true;
66 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
67 }
68 template <typename ChannelGroupNameT = Aws::String>
70 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetChannelName() const { return m_channelName; }
82 template <typename ChannelNameT = Aws::String>
83 void SetChannelName(ChannelNameT&& value) {
84 m_channelNameHasBeenSet = true;
85 m_channelName = std::forward<ChannelNameT>(value);
86 }
87 template <typename ChannelNameT = Aws::String>
89 SetChannelName(std::forward<ChannelNameT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
101 template <typename OriginEndpointNameT = Aws::String>
102 void SetOriginEndpointName(OriginEndpointNameT&& value) {
103 m_originEndpointNameHasBeenSet = true;
104 m_originEndpointName = std::forward<OriginEndpointNameT>(value);
105 }
106 template <typename OriginEndpointNameT = Aws::String>
108 SetOriginEndpointName(std::forward<OriginEndpointNameT>(value));
109 return *this;
110 }
112
114
117 inline ContainerType GetContainerType() const { return m_containerType; }
118 inline void SetContainerType(ContainerType value) {
119 m_containerTypeHasBeenSet = true;
120 m_containerType = value;
121 }
123 SetContainerType(value);
124 return *this;
125 }
127
129
133 inline const Segment& GetSegment() const { return m_segment; }
134 template <typename SegmentT = Segment>
135 void SetSegment(SegmentT&& value) {
136 m_segmentHasBeenSet = true;
137 m_segment = std::forward<SegmentT>(value);
138 }
139 template <typename SegmentT = Segment>
141 SetSegment(std::forward<SegmentT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
151 template <typename CreatedAtT = Aws::Utils::DateTime>
152 void SetCreatedAt(CreatedAtT&& value) {
153 m_createdAtHasBeenSet = true;
154 m_createdAt = std::forward<CreatedAtT>(value);
155 }
156 template <typename CreatedAtT = Aws::Utils::DateTime>
158 SetCreatedAt(std::forward<CreatedAtT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
168 template <typename ModifiedAtT = Aws::Utils::DateTime>
169 void SetModifiedAt(ModifiedAtT&& value) {
170 m_modifiedAtHasBeenSet = true;
171 m_modifiedAt = std::forward<ModifiedAtT>(value);
172 }
173 template <typename ModifiedAtT = Aws::Utils::DateTime>
175 SetModifiedAt(std::forward<ModifiedAtT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetDescription() const { return m_description; }
185 template <typename DescriptionT = Aws::String>
186 void SetDescription(DescriptionT&& value) {
187 m_descriptionHasBeenSet = true;
188 m_description = std::forward<DescriptionT>(value);
189 }
190 template <typename DescriptionT = Aws::String>
192 SetDescription(std::forward<DescriptionT>(value));
193 return *this;
194 }
196
198
203 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
204 inline void SetStartoverWindowSeconds(int value) {
205 m_startoverWindowSecondsHasBeenSet = true;
206 m_startoverWindowSeconds = value;
207 }
210 return *this;
211 }
213
215
218 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
219 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
220 void SetHlsManifests(HlsManifestsT&& value) {
221 m_hlsManifestsHasBeenSet = true;
222 m_hlsManifests = std::forward<HlsManifestsT>(value);
223 }
224 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
226 SetHlsManifests(std::forward<HlsManifestsT>(value));
227 return *this;
228 }
229 template <typename HlsManifestsT = GetHlsManifestConfiguration>
231 m_hlsManifestsHasBeenSet = true;
232 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
242 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
243 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
244 m_lowLatencyHlsManifestsHasBeenSet = true;
245 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
246 }
247 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
248 UpdateOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
249 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
250 return *this;
251 }
252 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
253 UpdateOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
254 m_lowLatencyHlsManifestsHasBeenSet = true;
255 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
256 return *this;
257 }
259
261
265 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
266 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
267 void SetMssManifests(MssManifestsT&& value) {
268 m_mssManifestsHasBeenSet = true;
269 m_mssManifests = std::forward<MssManifestsT>(value);
270 }
271 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
273 SetMssManifests(std::forward<MssManifestsT>(value));
274 return *this;
275 }
276 template <typename MssManifestsT = GetMssManifestConfiguration>
278 m_mssManifestsHasBeenSet = true;
279 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
280 return *this;
281 }
283
285
288 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
289 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
290 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
291 m_forceEndpointErrorConfigurationHasBeenSet = true;
292 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
293 }
294 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
295 UpdateOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
296 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
297 return *this;
298 }
300
302
306 inline const Aws::String& GetETag() const { return m_eTag; }
307 template <typename ETagT = Aws::String>
308 void SetETag(ETagT&& value) {
309 m_eTagHasBeenSet = true;
310 m_eTag = std::forward<ETagT>(value);
311 }
312 template <typename ETagT = Aws::String>
314 SetETag(std::forward<ETagT>(value));
315 return *this;
316 }
318
320
324 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
325 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
326 void SetTags(TagsT&& value) {
327 m_tagsHasBeenSet = true;
328 m_tags = std::forward<TagsT>(value);
329 }
330 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
332 SetTags(std::forward<TagsT>(value));
333 return *this;
334 }
335 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
336 UpdateOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
337 m_tagsHasBeenSet = true;
338 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
339 return *this;
340 }
342
344
347 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
348 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
349 void SetDashManifests(DashManifestsT&& value) {
350 m_dashManifestsHasBeenSet = true;
351 m_dashManifests = std::forward<DashManifestsT>(value);
352 }
353 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
355 SetDashManifests(std::forward<DashManifestsT>(value));
356 return *this;
357 }
358 template <typename DashManifestsT = GetDashManifestConfiguration>
360 m_dashManifestsHasBeenSet = true;
361 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
362 return *this;
363 }
365
367
368 inline const Aws::String& GetRequestId() const { return m_requestId; }
369 template <typename RequestIdT = Aws::String>
370 void SetRequestId(RequestIdT&& value) {
371 m_requestIdHasBeenSet = true;
372 m_requestId = std::forward<RequestIdT>(value);
373 }
374 template <typename RequestIdT = Aws::String>
376 SetRequestId(std::forward<RequestIdT>(value));
377 return *this;
378 }
380 private:
381 Aws::String m_arn;
382
383 Aws::String m_channelGroupName;
384
385 Aws::String m_channelName;
386
387 Aws::String m_originEndpointName;
388
389 ContainerType m_containerType{ContainerType::NOT_SET};
390
391 Segment m_segment;
392
393 Aws::Utils::DateTime m_createdAt{};
394
395 Aws::Utils::DateTime m_modifiedAt{};
396
397 Aws::String m_description;
398
399 int m_startoverWindowSeconds{0};
400
402
404
406
407 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
408
409 Aws::String m_eTag;
410
412
414
415 Aws::String m_requestId;
416 bool m_arnHasBeenSet = false;
417 bool m_channelGroupNameHasBeenSet = false;
418 bool m_channelNameHasBeenSet = false;
419 bool m_originEndpointNameHasBeenSet = false;
420 bool m_containerTypeHasBeenSet = false;
421 bool m_segmentHasBeenSet = false;
422 bool m_createdAtHasBeenSet = false;
423 bool m_modifiedAtHasBeenSet = false;
424 bool m_descriptionHasBeenSet = false;
425 bool m_startoverWindowSecondsHasBeenSet = false;
426 bool m_hlsManifestsHasBeenSet = false;
427 bool m_lowLatencyHlsManifestsHasBeenSet = false;
428 bool m_mssManifestsHasBeenSet = false;
429 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
430 bool m_eTagHasBeenSet = false;
431 bool m_tagsHasBeenSet = false;
432 bool m_dashManifestsHasBeenSet = false;
433 bool m_requestIdHasBeenSet = false;
434};
435
436} // namespace Model
437} // namespace mediapackagev2
438} // namespace Aws
UpdateOriginEndpointResult & WithChannelName(ChannelNameT &&value)
AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOriginEndpointResult & WithSegment(SegmentT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointResult()=default
UpdateOriginEndpointResult & AddLowLatencyHlsManifests(LowLatencyHlsManifestsT &&value)
UpdateOriginEndpointResult & AddHlsManifests(HlsManifestsT &&value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT &&value)
const Aws::Vector< GetMssManifestConfiguration > & GetGetMssManifests() const
UpdateOriginEndpointResult & WithRequestId(RequestIdT &&value)
UpdateOriginEndpointResult & WithModifiedAt(ModifiedAtT &&value)
UpdateOriginEndpointResult & WithMssManifests(MssManifestsT &&value)
UpdateOriginEndpointResult & WithStartoverWindowSeconds(int value)
UpdateOriginEndpointResult & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT &&value)
UpdateOriginEndpointResult & WithOriginEndpointName(OriginEndpointNameT &&value)
UpdateOriginEndpointResult & WithDescription(DescriptionT &&value)
UpdateOriginEndpointResult & WithLowLatencyHlsManifests(LowLatencyHlsManifestsT &&value)
const Aws::Vector< GetLowLatencyHlsManifestConfiguration > & GetGetLowLatencyHlsManifests() const
UpdateOriginEndpointResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateOriginEndpointResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< GetHlsManifestConfiguration > & GetGetHlsManifests() const
UpdateOriginEndpointResult & AddDashManifests(DashManifestsT &&value)
UpdateOriginEndpointResult & AddMssManifests(MssManifestsT &&value)
UpdateOriginEndpointResult & WithDashManifests(DashManifestsT &&value)
UpdateOriginEndpointResult & WithChannelGroupName(ChannelGroupNameT &&value)
UpdateOriginEndpointResult & WithContainerType(ContainerType value)
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
const Aws::Vector< GetDashManifestConfiguration > & GetGetDashManifests() const
UpdateOriginEndpointResult & WithHlsManifests(HlsManifestsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue