AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetOriginEndpointResult.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 GetOriginEndpointResult() = 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>
69 GetOriginEndpointResult& WithChannelGroupName(ChannelGroupNameT&& value) {
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>
107 GetOriginEndpointResult& WithOriginEndpointName(OriginEndpointNameT&& value) {
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
130 inline const Segment& GetSegment() const { return m_segment; }
131 template <typename SegmentT = Segment>
132 void SetSegment(SegmentT&& value) {
133 m_segmentHasBeenSet = true;
134 m_segment = std::forward<SegmentT>(value);
135 }
136 template <typename SegmentT = Segment>
138 SetSegment(std::forward<SegmentT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 template <typename CreatedAtT = Aws::Utils::DateTime>
149 void SetCreatedAt(CreatedAtT&& value) {
150 m_createdAtHasBeenSet = true;
151 m_createdAt = std::forward<CreatedAtT>(value);
152 }
153 template <typename CreatedAtT = Aws::Utils::DateTime>
155 SetCreatedAt(std::forward<CreatedAtT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
165 template <typename ModifiedAtT = Aws::Utils::DateTime>
166 void SetModifiedAt(ModifiedAtT&& value) {
167 m_modifiedAtHasBeenSet = true;
168 m_modifiedAt = std::forward<ModifiedAtT>(value);
169 }
170 template <typename ModifiedAtT = Aws::Utils::DateTime>
172 SetModifiedAt(std::forward<ModifiedAtT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
182 template <typename ResetAtT = Aws::Utils::DateTime>
183 void SetResetAt(ResetAtT&& value) {
184 m_resetAtHasBeenSet = true;
185 m_resetAt = std::forward<ResetAtT>(value);
186 }
187 template <typename ResetAtT = Aws::Utils::DateTime>
189 SetResetAt(std::forward<ResetAtT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetDescription() const { return m_description; }
199 template <typename DescriptionT = Aws::String>
200 void SetDescription(DescriptionT&& value) {
201 m_descriptionHasBeenSet = true;
202 m_description = std::forward<DescriptionT>(value);
203 }
204 template <typename DescriptionT = Aws::String>
206 SetDescription(std::forward<DescriptionT>(value));
207 return *this;
208 }
210
212
217 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
218 inline void SetStartoverWindowSeconds(int value) {
219 m_startoverWindowSecondsHasBeenSet = true;
220 m_startoverWindowSeconds = value;
221 }
224 return *this;
225 }
227
229
232 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
233 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
234 void SetHlsManifests(HlsManifestsT&& value) {
235 m_hlsManifestsHasBeenSet = true;
236 m_hlsManifests = std::forward<HlsManifestsT>(value);
237 }
238 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
240 SetHlsManifests(std::forward<HlsManifestsT>(value));
241 return *this;
242 }
243 template <typename HlsManifestsT = GetHlsManifestConfiguration>
244 GetOriginEndpointResult& AddHlsManifests(HlsManifestsT&& value) {
245 m_hlsManifestsHasBeenSet = true;
246 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
256 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
257 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
258 m_lowLatencyHlsManifestsHasBeenSet = true;
259 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
260 }
261 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
262 GetOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
263 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
264 return *this;
265 }
266 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
267 GetOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
268 m_lowLatencyHlsManifestsHasBeenSet = true;
269 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
270 return *this;
271 }
273
275
278 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
279 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
280 void SetDashManifests(DashManifestsT&& value) {
281 m_dashManifestsHasBeenSet = true;
282 m_dashManifests = std::forward<DashManifestsT>(value);
283 }
284 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
286 SetDashManifests(std::forward<DashManifestsT>(value));
287 return *this;
288 }
289 template <typename DashManifestsT = GetDashManifestConfiguration>
290 GetOriginEndpointResult& AddDashManifests(DashManifestsT&& value) {
291 m_dashManifestsHasBeenSet = true;
292 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
293 return *this;
294 }
296
298
302 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
303 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
304 void SetMssManifests(MssManifestsT&& value) {
305 m_mssManifestsHasBeenSet = true;
306 m_mssManifests = std::forward<MssManifestsT>(value);
307 }
308 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
310 SetMssManifests(std::forward<MssManifestsT>(value));
311 return *this;
312 }
313 template <typename MssManifestsT = GetMssManifestConfiguration>
314 GetOriginEndpointResult& AddMssManifests(MssManifestsT&& value) {
315 m_mssManifestsHasBeenSet = true;
316 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
317 return *this;
318 }
320
322
325 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
326 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
327 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
328 m_forceEndpointErrorConfigurationHasBeenSet = true;
329 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
330 }
331 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
332 GetOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
333 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
334 return *this;
335 }
337
339
343 inline const Aws::String& GetETag() const { return m_eTag; }
344 template <typename ETagT = Aws::String>
345 void SetETag(ETagT&& value) {
346 m_eTagHasBeenSet = true;
347 m_eTag = std::forward<ETagT>(value);
348 }
349 template <typename ETagT = Aws::String>
351 SetETag(std::forward<ETagT>(value));
352 return *this;
353 }
355
357
361 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
362 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
363 void SetTags(TagsT&& value) {
364 m_tagsHasBeenSet = true;
365 m_tags = std::forward<TagsT>(value);
366 }
367 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
369 SetTags(std::forward<TagsT>(value));
370 return *this;
371 }
372 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
373 GetOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
374 m_tagsHasBeenSet = true;
375 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
376 return *this;
377 }
379
381
382 inline const Aws::String& GetRequestId() const { return m_requestId; }
383 template <typename RequestIdT = Aws::String>
384 void SetRequestId(RequestIdT&& value) {
385 m_requestIdHasBeenSet = true;
386 m_requestId = std::forward<RequestIdT>(value);
387 }
388 template <typename RequestIdT = Aws::String>
390 SetRequestId(std::forward<RequestIdT>(value));
391 return *this;
392 }
394 private:
395 Aws::String m_arn;
396
397 Aws::String m_channelGroupName;
398
399 Aws::String m_channelName;
400
401 Aws::String m_originEndpointName;
402
403 ContainerType m_containerType{ContainerType::NOT_SET};
404
405 Segment m_segment;
406
407 Aws::Utils::DateTime m_createdAt{};
408
409 Aws::Utils::DateTime m_modifiedAt{};
410
411 Aws::Utils::DateTime m_resetAt{};
412
413 Aws::String m_description;
414
415 int m_startoverWindowSeconds{0};
416
418
420
422
424
425 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
426
427 Aws::String m_eTag;
428
430
431 Aws::String m_requestId;
432 bool m_arnHasBeenSet = false;
433 bool m_channelGroupNameHasBeenSet = false;
434 bool m_channelNameHasBeenSet = false;
435 bool m_originEndpointNameHasBeenSet = false;
436 bool m_containerTypeHasBeenSet = false;
437 bool m_segmentHasBeenSet = false;
438 bool m_createdAtHasBeenSet = false;
439 bool m_modifiedAtHasBeenSet = false;
440 bool m_resetAtHasBeenSet = false;
441 bool m_descriptionHasBeenSet = false;
442 bool m_startoverWindowSecondsHasBeenSet = false;
443 bool m_hlsManifestsHasBeenSet = false;
444 bool m_lowLatencyHlsManifestsHasBeenSet = false;
445 bool m_dashManifestsHasBeenSet = false;
446 bool m_mssManifestsHasBeenSet = false;
447 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
448 bool m_eTagHasBeenSet = false;
449 bool m_tagsHasBeenSet = false;
450 bool m_requestIdHasBeenSet = false;
451};
452
453} // namespace Model
454} // namespace mediapackagev2
455} // 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