AWS SDK for C++

AWS SDK for C++ Version 1.11.871

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#include <aws/mediapackagev2/model/StreamNameOutputMode.h>
21#include <aws/mediapackagev2/model/UriSeparator.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace mediapackagev2 {
35namespace Model {
37 public:
38 AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult() = default;
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template <typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) {
49 m_arnHasBeenSet = true;
50 m_arn = std::forward<ArnT>(value);
51 }
52 template <typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
66 template <typename ChannelGroupNameT = Aws::String>
67 void SetChannelGroupName(ChannelGroupNameT&& value) {
68 m_channelGroupNameHasBeenSet = true;
69 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
70 }
71 template <typename ChannelGroupNameT = Aws::String>
72 GetOriginEndpointResult& WithChannelGroupName(ChannelGroupNameT&& value) {
73 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetChannelName() const { return m_channelName; }
85 template <typename ChannelNameT = Aws::String>
86 void SetChannelName(ChannelNameT&& value) {
87 m_channelNameHasBeenSet = true;
88 m_channelName = std::forward<ChannelNameT>(value);
89 }
90 template <typename ChannelNameT = Aws::String>
92 SetChannelName(std::forward<ChannelNameT>(value));
93 return *this;
94 }
96
98
103 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
104 template <typename OriginEndpointNameT = Aws::String>
105 void SetOriginEndpointName(OriginEndpointNameT&& value) {
106 m_originEndpointNameHasBeenSet = true;
107 m_originEndpointName = std::forward<OriginEndpointNameT>(value);
108 }
109 template <typename OriginEndpointNameT = Aws::String>
110 GetOriginEndpointResult& WithOriginEndpointName(OriginEndpointNameT&& value) {
111 SetOriginEndpointName(std::forward<OriginEndpointNameT>(value));
112 return *this;
113 }
115
117
120 inline ContainerType GetContainerType() const { return m_containerType; }
121 inline void SetContainerType(ContainerType value) {
122 m_containerTypeHasBeenSet = true;
123 m_containerType = value;
124 }
126 SetContainerType(value);
127 return *this;
128 }
130
132
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::Utils::DateTime& GetResetAt() const { return m_resetAt; }
185 template <typename ResetAtT = Aws::Utils::DateTime>
186 void SetResetAt(ResetAtT&& value) {
187 m_resetAtHasBeenSet = true;
188 m_resetAt = std::forward<ResetAtT>(value);
189 }
190 template <typename ResetAtT = Aws::Utils::DateTime>
192 SetResetAt(std::forward<ResetAtT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetDescription() const { return m_description; }
202 template <typename DescriptionT = Aws::String>
203 void SetDescription(DescriptionT&& value) {
204 m_descriptionHasBeenSet = true;
205 m_description = std::forward<DescriptionT>(value);
206 }
207 template <typename DescriptionT = Aws::String>
209 SetDescription(std::forward<DescriptionT>(value));
210 return *this;
211 }
213
215
220 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
221 inline void SetStartoverWindowSeconds(int value) {
222 m_startoverWindowSecondsHasBeenSet = true;
223 m_startoverWindowSeconds = value;
224 }
227 return *this;
228 }
230
232
235 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
236 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
237 void SetHlsManifests(HlsManifestsT&& value) {
238 m_hlsManifestsHasBeenSet = true;
239 m_hlsManifests = std::forward<HlsManifestsT>(value);
240 }
241 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
243 SetHlsManifests(std::forward<HlsManifestsT>(value));
244 return *this;
245 }
246 template <typename HlsManifestsT = GetHlsManifestConfiguration>
247 GetOriginEndpointResult& AddHlsManifests(HlsManifestsT&& value) {
248 m_hlsManifestsHasBeenSet = true;
249 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
259 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
260 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
261 m_lowLatencyHlsManifestsHasBeenSet = true;
262 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
263 }
264 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
265 GetOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
266 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
267 return *this;
268 }
269 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
270 GetOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
271 m_lowLatencyHlsManifestsHasBeenSet = true;
272 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
273 return *this;
274 }
276
278
281 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
282 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
283 void SetDashManifests(DashManifestsT&& value) {
284 m_dashManifestsHasBeenSet = true;
285 m_dashManifests = std::forward<DashManifestsT>(value);
286 }
287 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
289 SetDashManifests(std::forward<DashManifestsT>(value));
290 return *this;
291 }
292 template <typename DashManifestsT = GetDashManifestConfiguration>
293 GetOriginEndpointResult& AddDashManifests(DashManifestsT&& value) {
294 m_dashManifestsHasBeenSet = true;
295 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
296 return *this;
297 }
299
301
305 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
306 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
307 void SetMssManifests(MssManifestsT&& value) {
308 m_mssManifestsHasBeenSet = true;
309 m_mssManifests = std::forward<MssManifestsT>(value);
310 }
311 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
313 SetMssManifests(std::forward<MssManifestsT>(value));
314 return *this;
315 }
316 template <typename MssManifestsT = GetMssManifestConfiguration>
317 GetOriginEndpointResult& AddMssManifests(MssManifestsT&& value) {
318 m_mssManifestsHasBeenSet = true;
319 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
320 return *this;
321 }
323
325
328 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
329 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
330 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
331 m_forceEndpointErrorConfigurationHasBeenSet = true;
332 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
333 }
334 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
335 GetOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
336 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
337 return *this;
338 }
340
342
345 inline UriSeparator GetUriSeparator() const { return m_uriSeparator; }
346 inline void SetUriSeparator(UriSeparator value) {
347 m_uriSeparatorHasBeenSet = true;
348 m_uriSeparator = value;
349 }
351 SetUriSeparator(value);
352 return *this;
353 }
355
357
361 inline StreamNameOutputMode GetStreamNameOutputMode() const { return m_streamNameOutputMode; }
363 m_streamNameOutputModeHasBeenSet = true;
364 m_streamNameOutputMode = value;
365 }
368 return *this;
369 }
371
373
377 inline const Aws::String& GetETag() const { return m_eTag; }
378 template <typename ETagT = Aws::String>
379 void SetETag(ETagT&& value) {
380 m_eTagHasBeenSet = true;
381 m_eTag = std::forward<ETagT>(value);
382 }
383 template <typename ETagT = Aws::String>
385 SetETag(std::forward<ETagT>(value));
386 return *this;
387 }
389
391
395 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
396 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
397 void SetTags(TagsT&& value) {
398 m_tagsHasBeenSet = true;
399 m_tags = std::forward<TagsT>(value);
400 }
401 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
403 SetTags(std::forward<TagsT>(value));
404 return *this;
405 }
406 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
407 GetOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
408 m_tagsHasBeenSet = true;
409 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
410 return *this;
411 }
413
415
416 inline const Aws::String& GetRequestId() const { return m_requestId; }
417 template <typename RequestIdT = Aws::String>
418 void SetRequestId(RequestIdT&& value) {
419 m_requestIdHasBeenSet = true;
420 m_requestId = std::forward<RequestIdT>(value);
421 }
422 template <typename RequestIdT = Aws::String>
424 SetRequestId(std::forward<RequestIdT>(value));
425 return *this;
426 }
428 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
429
430 private:
431 Aws::String m_arn;
432
433 Aws::String m_channelGroupName;
434
435 Aws::String m_channelName;
436
437 Aws::String m_originEndpointName;
438
439 ContainerType m_containerType{ContainerType::NOT_SET};
440
441 Segment m_segment;
442
443 Aws::Utils::DateTime m_createdAt{};
444
445 Aws::Utils::DateTime m_modifiedAt{};
446
447 Aws::Utils::DateTime m_resetAt{};
448
449 Aws::String m_description;
450
451 int m_startoverWindowSeconds{0};
452
454
456
458
460
461 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
462
463 UriSeparator m_uriSeparator{UriSeparator::NOT_SET};
464
466
467 Aws::String m_eTag;
468
470
471 Aws::String m_requestId;
472 Aws::Http::HttpResponseCode m_HttpResponseCode;
473 bool m_arnHasBeenSet = false;
474 bool m_channelGroupNameHasBeenSet = false;
475 bool m_channelNameHasBeenSet = false;
476 bool m_originEndpointNameHasBeenSet = false;
477 bool m_containerTypeHasBeenSet = false;
478 bool m_segmentHasBeenSet = false;
479 bool m_createdAtHasBeenSet = false;
480 bool m_modifiedAtHasBeenSet = false;
481 bool m_resetAtHasBeenSet = false;
482 bool m_descriptionHasBeenSet = false;
483 bool m_startoverWindowSecondsHasBeenSet = false;
484 bool m_hlsManifestsHasBeenSet = false;
485 bool m_lowLatencyHlsManifestsHasBeenSet = false;
486 bool m_dashManifestsHasBeenSet = false;
487 bool m_mssManifestsHasBeenSet = false;
488 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
489 bool m_uriSeparatorHasBeenSet = false;
490 bool m_streamNameOutputModeHasBeenSet = false;
491 bool m_eTagHasBeenSet = false;
492 bool m_tagsHasBeenSet = false;
493 bool m_requestIdHasBeenSet = false;
494};
495
496} // namespace Model
497} // namespace mediapackagev2
498} // 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 & WithUriSeparator(UriSeparator 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 & WithStreamNameOutputMode(StreamNameOutputMode value)
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