AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetOriginEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
13#include <aws/mediapackagev2/model/ContainerType.h>
14#include <aws/mediapackagev2/model/ForceEndpointErrorConfiguration.h>
15#include <aws/mediapackagev2/model/GetDashManifestConfiguration.h>
16#include <aws/mediapackagev2/model/GetHlsManifestConfiguration.h>
17#include <aws/mediapackagev2/model/GetLowLatencyHlsManifestConfiguration.h>
18#include <aws/mediapackagev2/model/GetMssManifestConfiguration.h>
19#include <aws/mediapackagev2/model/Segment.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace mediapackagev2 {
33namespace Model {
35 public:
36 AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult() = default;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
64 template <typename ChannelGroupNameT = Aws::String>
65 void SetChannelGroupName(ChannelGroupNameT&& value) {
66 m_channelGroupNameHasBeenSet = true;
67 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
68 }
69 template <typename ChannelGroupNameT = Aws::String>
70 GetOriginEndpointResult& WithChannelGroupName(ChannelGroupNameT&& value) {
71 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetChannelName() const { return m_channelName; }
83 template <typename ChannelNameT = Aws::String>
84 void SetChannelName(ChannelNameT&& value) {
85 m_channelNameHasBeenSet = true;
86 m_channelName = std::forward<ChannelNameT>(value);
87 }
88 template <typename ChannelNameT = Aws::String>
90 SetChannelName(std::forward<ChannelNameT>(value));
91 return *this;
92 }
94
96
101 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
102 template <typename OriginEndpointNameT = Aws::String>
103 void SetOriginEndpointName(OriginEndpointNameT&& value) {
104 m_originEndpointNameHasBeenSet = true;
105 m_originEndpointName = std::forward<OriginEndpointNameT>(value);
106 }
107 template <typename OriginEndpointNameT = Aws::String>
108 GetOriginEndpointResult& WithOriginEndpointName(OriginEndpointNameT&& value) {
109 SetOriginEndpointName(std::forward<OriginEndpointNameT>(value));
110 return *this;
111 }
113
115
118 inline ContainerType GetContainerType() const { return m_containerType; }
119 inline void SetContainerType(ContainerType value) {
120 m_containerTypeHasBeenSet = true;
121 m_containerType = value;
122 }
124 SetContainerType(value);
125 return *this;
126 }
128
130
131 inline const Segment& GetSegment() const { return m_segment; }
132 template <typename SegmentT = Segment>
133 void SetSegment(SegmentT&& value) {
134 m_segmentHasBeenSet = true;
135 m_segment = std::forward<SegmentT>(value);
136 }
137 template <typename SegmentT = Segment>
139 SetSegment(std::forward<SegmentT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
166 template <typename ModifiedAtT = Aws::Utils::DateTime>
167 void SetModifiedAt(ModifiedAtT&& value) {
168 m_modifiedAtHasBeenSet = true;
169 m_modifiedAt = std::forward<ModifiedAtT>(value);
170 }
171 template <typename ModifiedAtT = Aws::Utils::DateTime>
173 SetModifiedAt(std::forward<ModifiedAtT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
183 template <typename ResetAtT = Aws::Utils::DateTime>
184 void SetResetAt(ResetAtT&& value) {
185 m_resetAtHasBeenSet = true;
186 m_resetAt = std::forward<ResetAtT>(value);
187 }
188 template <typename ResetAtT = Aws::Utils::DateTime>
190 SetResetAt(std::forward<ResetAtT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::String& GetDescription() const { return m_description; }
200 template <typename DescriptionT = Aws::String>
201 void SetDescription(DescriptionT&& value) {
202 m_descriptionHasBeenSet = true;
203 m_description = std::forward<DescriptionT>(value);
204 }
205 template <typename DescriptionT = Aws::String>
207 SetDescription(std::forward<DescriptionT>(value));
208 return *this;
209 }
211
213
218 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
219 inline void SetStartoverWindowSeconds(int value) {
220 m_startoverWindowSecondsHasBeenSet = true;
221 m_startoverWindowSeconds = value;
222 }
225 return *this;
226 }
228
230
233 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
234 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
235 void SetHlsManifests(HlsManifestsT&& value) {
236 m_hlsManifestsHasBeenSet = true;
237 m_hlsManifests = std::forward<HlsManifestsT>(value);
238 }
239 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
241 SetHlsManifests(std::forward<HlsManifestsT>(value));
242 return *this;
243 }
244 template <typename HlsManifestsT = GetHlsManifestConfiguration>
245 GetOriginEndpointResult& AddHlsManifests(HlsManifestsT&& value) {
246 m_hlsManifestsHasBeenSet = true;
247 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
257 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
258 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
259 m_lowLatencyHlsManifestsHasBeenSet = true;
260 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
261 }
262 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
263 GetOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
264 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
265 return *this;
266 }
267 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
268 GetOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
269 m_lowLatencyHlsManifestsHasBeenSet = true;
270 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
280 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
281 void SetDashManifests(DashManifestsT&& value) {
282 m_dashManifestsHasBeenSet = true;
283 m_dashManifests = std::forward<DashManifestsT>(value);
284 }
285 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
287 SetDashManifests(std::forward<DashManifestsT>(value));
288 return *this;
289 }
290 template <typename DashManifestsT = GetDashManifestConfiguration>
291 GetOriginEndpointResult& AddDashManifests(DashManifestsT&& value) {
292 m_dashManifestsHasBeenSet = true;
293 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
294 return *this;
295 }
297
299
303 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
304 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
305 void SetMssManifests(MssManifestsT&& value) {
306 m_mssManifestsHasBeenSet = true;
307 m_mssManifests = std::forward<MssManifestsT>(value);
308 }
309 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
311 SetMssManifests(std::forward<MssManifestsT>(value));
312 return *this;
313 }
314 template <typename MssManifestsT = GetMssManifestConfiguration>
315 GetOriginEndpointResult& AddMssManifests(MssManifestsT&& value) {
316 m_mssManifestsHasBeenSet = true;
317 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
318 return *this;
319 }
321
323
326 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
327 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
328 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
329 m_forceEndpointErrorConfigurationHasBeenSet = true;
330 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
331 }
332 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
333 GetOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
334 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
335 return *this;
336 }
338
340
344 inline const Aws::String& GetETag() const { return m_eTag; }
345 template <typename ETagT = Aws::String>
346 void SetETag(ETagT&& value) {
347 m_eTagHasBeenSet = true;
348 m_eTag = std::forward<ETagT>(value);
349 }
350 template <typename ETagT = Aws::String>
352 SetETag(std::forward<ETagT>(value));
353 return *this;
354 }
356
358
362 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
363 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
364 void SetTags(TagsT&& value) {
365 m_tagsHasBeenSet = true;
366 m_tags = std::forward<TagsT>(value);
367 }
368 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
370 SetTags(std::forward<TagsT>(value));
371 return *this;
372 }
373 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
374 GetOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
375 m_tagsHasBeenSet = true;
376 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
377 return *this;
378 }
380
382
383 inline const Aws::String& GetRequestId() const { return m_requestId; }
384 template <typename RequestIdT = Aws::String>
385 void SetRequestId(RequestIdT&& value) {
386 m_requestIdHasBeenSet = true;
387 m_requestId = std::forward<RequestIdT>(value);
388 }
389 template <typename RequestIdT = Aws::String>
391 SetRequestId(std::forward<RequestIdT>(value));
392 return *this;
393 }
395 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
396
397 private:
398 Aws::String m_arn;
399
400 Aws::String m_channelGroupName;
401
402 Aws::String m_channelName;
403
404 Aws::String m_originEndpointName;
405
406 ContainerType m_containerType{ContainerType::NOT_SET};
407
408 Segment m_segment;
409
410 Aws::Utils::DateTime m_createdAt{};
411
412 Aws::Utils::DateTime m_modifiedAt{};
413
414 Aws::Utils::DateTime m_resetAt{};
415
416 Aws::String m_description;
417
418 int m_startoverWindowSeconds{0};
419
421
423
425
427
428 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
429
430 Aws::String m_eTag;
431
433
434 Aws::String m_requestId;
435 Aws::Http::HttpResponseCode m_HttpResponseCode;
436 bool m_arnHasBeenSet = false;
437 bool m_channelGroupNameHasBeenSet = false;
438 bool m_channelNameHasBeenSet = false;
439 bool m_originEndpointNameHasBeenSet = false;
440 bool m_containerTypeHasBeenSet = false;
441 bool m_segmentHasBeenSet = false;
442 bool m_createdAtHasBeenSet = false;
443 bool m_modifiedAtHasBeenSet = false;
444 bool m_resetAtHasBeenSet = false;
445 bool m_descriptionHasBeenSet = false;
446 bool m_startoverWindowSecondsHasBeenSet = false;
447 bool m_hlsManifestsHasBeenSet = false;
448 bool m_lowLatencyHlsManifestsHasBeenSet = false;
449 bool m_dashManifestsHasBeenSet = false;
450 bool m_mssManifestsHasBeenSet = false;
451 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
452 bool m_eTagHasBeenSet = false;
453 bool m_tagsHasBeenSet = false;
454 bool m_requestIdHasBeenSet = false;
455};
456
457} // namespace Model
458} // namespace mediapackagev2
459} // namespace Aws
GetOriginEndpointResult & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT &&value)
const Aws::Vector< GetLowLatencyHlsManifestConfiguration > & GetGetLowLatencyHlsManifests() const
GetOriginEndpointResult & WithContainerType(ContainerType value)
GetOriginEndpointResult & WithModifiedAt(ModifiedAtT &&value)
GetOriginEndpointResult & AddDashManifests(DashManifestsT &&value)
GetOriginEndpointResult & AddMssManifests(MssManifestsT &&value)
GetOriginEndpointResult & WithTags(TagsT &&value)
GetOriginEndpointResult & WithHlsManifests(HlsManifestsT &&value)
GetOriginEndpointResult & WithResetAt(ResetAtT &&value)
const Aws::Vector< GetDashManifestConfiguration > & GetGetDashManifests() const
GetOriginEndpointResult & WithSegment(SegmentT &&value)
GetOriginEndpointResult & WithCreatedAt(CreatedAtT &&value)
GetOriginEndpointResult & WithDashManifests(DashManifestsT &&value)
GetOriginEndpointResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetOriginEndpointResult & WithChannelGroupName(ChannelGroupNameT &&value)
GetOriginEndpointResult & WithOriginEndpointName(OriginEndpointNameT &&value)
GetOriginEndpointResult & WithRequestId(RequestIdT &&value)
GetOriginEndpointResult & WithStartoverWindowSeconds(int value)
GetOriginEndpointResult & WithETag(ETagT &&value)
GetOriginEndpointResult & WithDescription(DescriptionT &&value)
GetOriginEndpointResult & WithMssManifests(MssManifestsT &&value)
GetOriginEndpointResult & AddLowLatencyHlsManifests(LowLatencyHlsManifestsT &&value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult()=default
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< GetHlsManifestConfiguration > & GetGetHlsManifests() const
void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT &&value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOriginEndpointResult & WithChannelName(ChannelNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetOriginEndpointResult & WithLowLatencyHlsManifests(LowLatencyHlsManifestsT &&value)
GetOriginEndpointResult & AddHlsManifests(HlsManifestsT &&value)
const Aws::Vector< GetMssManifestConfiguration > & GetGetMssManifests() const
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