AWS SDK for C++

AWS SDK for C++ Version 1.11.813

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/UriSeparator.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace mediapackagev2 {
34namespace Model {
36 public:
37 AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult() = default;
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
65 template <typename ChannelGroupNameT = Aws::String>
66 void SetChannelGroupName(ChannelGroupNameT&& value) {
67 m_channelGroupNameHasBeenSet = true;
68 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
69 }
70 template <typename ChannelGroupNameT = Aws::String>
71 GetOriginEndpointResult& WithChannelGroupName(ChannelGroupNameT&& value) {
72 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetChannelName() const { return m_channelName; }
84 template <typename ChannelNameT = Aws::String>
85 void SetChannelName(ChannelNameT&& value) {
86 m_channelNameHasBeenSet = true;
87 m_channelName = std::forward<ChannelNameT>(value);
88 }
89 template <typename ChannelNameT = Aws::String>
91 SetChannelName(std::forward<ChannelNameT>(value));
92 return *this;
93 }
95
97
102 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
103 template <typename OriginEndpointNameT = Aws::String>
104 void SetOriginEndpointName(OriginEndpointNameT&& value) {
105 m_originEndpointNameHasBeenSet = true;
106 m_originEndpointName = std::forward<OriginEndpointNameT>(value);
107 }
108 template <typename OriginEndpointNameT = Aws::String>
109 GetOriginEndpointResult& WithOriginEndpointName(OriginEndpointNameT&& value) {
110 SetOriginEndpointName(std::forward<OriginEndpointNameT>(value));
111 return *this;
112 }
114
116
119 inline ContainerType GetContainerType() const { return m_containerType; }
120 inline void SetContainerType(ContainerType value) {
121 m_containerTypeHasBeenSet = true;
122 m_containerType = value;
123 }
125 SetContainerType(value);
126 return *this;
127 }
129
131
132 inline const Segment& GetSegment() const { return m_segment; }
133 template <typename SegmentT = Segment>
134 void SetSegment(SegmentT&& value) {
135 m_segmentHasBeenSet = true;
136 m_segment = std::forward<SegmentT>(value);
137 }
138 template <typename SegmentT = Segment>
140 SetSegment(std::forward<SegmentT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
150 template <typename CreatedAtT = Aws::Utils::DateTime>
151 void SetCreatedAt(CreatedAtT&& value) {
152 m_createdAtHasBeenSet = true;
153 m_createdAt = std::forward<CreatedAtT>(value);
154 }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
157 SetCreatedAt(std::forward<CreatedAtT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
167 template <typename ModifiedAtT = Aws::Utils::DateTime>
168 void SetModifiedAt(ModifiedAtT&& value) {
169 m_modifiedAtHasBeenSet = true;
170 m_modifiedAt = std::forward<ModifiedAtT>(value);
171 }
172 template <typename ModifiedAtT = Aws::Utils::DateTime>
174 SetModifiedAt(std::forward<ModifiedAtT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
184 template <typename ResetAtT = Aws::Utils::DateTime>
185 void SetResetAt(ResetAtT&& value) {
186 m_resetAtHasBeenSet = true;
187 m_resetAt = std::forward<ResetAtT>(value);
188 }
189 template <typename ResetAtT = Aws::Utils::DateTime>
191 SetResetAt(std::forward<ResetAtT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::String& GetDescription() const { return m_description; }
201 template <typename DescriptionT = Aws::String>
202 void SetDescription(DescriptionT&& value) {
203 m_descriptionHasBeenSet = true;
204 m_description = std::forward<DescriptionT>(value);
205 }
206 template <typename DescriptionT = Aws::String>
208 SetDescription(std::forward<DescriptionT>(value));
209 return *this;
210 }
212
214
219 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
220 inline void SetStartoverWindowSeconds(int value) {
221 m_startoverWindowSecondsHasBeenSet = true;
222 m_startoverWindowSeconds = value;
223 }
226 return *this;
227 }
229
231
234 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
235 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
236 void SetHlsManifests(HlsManifestsT&& value) {
237 m_hlsManifestsHasBeenSet = true;
238 m_hlsManifests = std::forward<HlsManifestsT>(value);
239 }
240 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
242 SetHlsManifests(std::forward<HlsManifestsT>(value));
243 return *this;
244 }
245 template <typename HlsManifestsT = GetHlsManifestConfiguration>
246 GetOriginEndpointResult& AddHlsManifests(HlsManifestsT&& value) {
247 m_hlsManifestsHasBeenSet = true;
248 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
258 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
259 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
260 m_lowLatencyHlsManifestsHasBeenSet = true;
261 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
262 }
263 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
264 GetOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
265 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
266 return *this;
267 }
268 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
269 GetOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
270 m_lowLatencyHlsManifestsHasBeenSet = true;
271 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
281 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
282 void SetDashManifests(DashManifestsT&& value) {
283 m_dashManifestsHasBeenSet = true;
284 m_dashManifests = std::forward<DashManifestsT>(value);
285 }
286 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
288 SetDashManifests(std::forward<DashManifestsT>(value));
289 return *this;
290 }
291 template <typename DashManifestsT = GetDashManifestConfiguration>
292 GetOriginEndpointResult& AddDashManifests(DashManifestsT&& value) {
293 m_dashManifestsHasBeenSet = true;
294 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
295 return *this;
296 }
298
300
304 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
305 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
306 void SetMssManifests(MssManifestsT&& value) {
307 m_mssManifestsHasBeenSet = true;
308 m_mssManifests = std::forward<MssManifestsT>(value);
309 }
310 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
312 SetMssManifests(std::forward<MssManifestsT>(value));
313 return *this;
314 }
315 template <typename MssManifestsT = GetMssManifestConfiguration>
316 GetOriginEndpointResult& AddMssManifests(MssManifestsT&& value) {
317 m_mssManifestsHasBeenSet = true;
318 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
319 return *this;
320 }
322
324
327 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
328 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
329 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
330 m_forceEndpointErrorConfigurationHasBeenSet = true;
331 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
332 }
333 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
334 GetOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
335 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
336 return *this;
337 }
339
341
344 inline UriSeparator GetUriSeparator() const { return m_uriSeparator; }
345 inline void SetUriSeparator(UriSeparator value) {
346 m_uriSeparatorHasBeenSet = true;
347 m_uriSeparator = value;
348 }
350 SetUriSeparator(value);
351 return *this;
352 }
354
356
360 inline const Aws::String& GetETag() const { return m_eTag; }
361 template <typename ETagT = Aws::String>
362 void SetETag(ETagT&& value) {
363 m_eTagHasBeenSet = true;
364 m_eTag = std::forward<ETagT>(value);
365 }
366 template <typename ETagT = Aws::String>
368 SetETag(std::forward<ETagT>(value));
369 return *this;
370 }
372
374
378 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
379 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
380 void SetTags(TagsT&& value) {
381 m_tagsHasBeenSet = true;
382 m_tags = std::forward<TagsT>(value);
383 }
384 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
386 SetTags(std::forward<TagsT>(value));
387 return *this;
388 }
389 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
390 GetOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
391 m_tagsHasBeenSet = true;
392 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
393 return *this;
394 }
396
398
399 inline const Aws::String& GetRequestId() const { return m_requestId; }
400 template <typename RequestIdT = Aws::String>
401 void SetRequestId(RequestIdT&& value) {
402 m_requestIdHasBeenSet = true;
403 m_requestId = std::forward<RequestIdT>(value);
404 }
405 template <typename RequestIdT = Aws::String>
407 SetRequestId(std::forward<RequestIdT>(value));
408 return *this;
409 }
411 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
412
413 private:
414 Aws::String m_arn;
415
416 Aws::String m_channelGroupName;
417
418 Aws::String m_channelName;
419
420 Aws::String m_originEndpointName;
421
422 ContainerType m_containerType{ContainerType::NOT_SET};
423
424 Segment m_segment;
425
426 Aws::Utils::DateTime m_createdAt{};
427
428 Aws::Utils::DateTime m_modifiedAt{};
429
430 Aws::Utils::DateTime m_resetAt{};
431
432 Aws::String m_description;
433
434 int m_startoverWindowSeconds{0};
435
437
439
441
443
444 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
445
446 UriSeparator m_uriSeparator{UriSeparator::NOT_SET};
447
448 Aws::String m_eTag;
449
451
452 Aws::String m_requestId;
453 Aws::Http::HttpResponseCode m_HttpResponseCode;
454 bool m_arnHasBeenSet = false;
455 bool m_channelGroupNameHasBeenSet = false;
456 bool m_channelNameHasBeenSet = false;
457 bool m_originEndpointNameHasBeenSet = false;
458 bool m_containerTypeHasBeenSet = false;
459 bool m_segmentHasBeenSet = false;
460 bool m_createdAtHasBeenSet = false;
461 bool m_modifiedAtHasBeenSet = false;
462 bool m_resetAtHasBeenSet = false;
463 bool m_descriptionHasBeenSet = false;
464 bool m_startoverWindowSecondsHasBeenSet = false;
465 bool m_hlsManifestsHasBeenSet = false;
466 bool m_lowLatencyHlsManifestsHasBeenSet = false;
467 bool m_dashManifestsHasBeenSet = false;
468 bool m_mssManifestsHasBeenSet = false;
469 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
470 bool m_uriSeparatorHasBeenSet = false;
471 bool m_eTagHasBeenSet = false;
472 bool m_tagsHasBeenSet = false;
473 bool m_requestIdHasBeenSet = false;
474};
475
476} // namespace Model
477} // namespace mediapackagev2
478} // 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 & 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