AWS SDK for C++

AWS SDK for C++ Version 1.11.818

Loading...
Searching...
No Matches
UpdateOriginEndpointResult.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 UpdateOriginEndpointResult() = 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>
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>
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
135 inline const Segment& GetSegment() const { return m_segment; }
136 template <typename SegmentT = Segment>
137 void SetSegment(SegmentT&& value) {
138 m_segmentHasBeenSet = true;
139 m_segment = std::forward<SegmentT>(value);
140 }
141 template <typename SegmentT = Segment>
143 SetSegment(std::forward<SegmentT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 template <typename CreatedAtT = Aws::Utils::DateTime>
154 void SetCreatedAt(CreatedAtT&& value) {
155 m_createdAtHasBeenSet = true;
156 m_createdAt = std::forward<CreatedAtT>(value);
157 }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
160 SetCreatedAt(std::forward<CreatedAtT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
170 template <typename ModifiedAtT = Aws::Utils::DateTime>
171 void SetModifiedAt(ModifiedAtT&& value) {
172 m_modifiedAtHasBeenSet = true;
173 m_modifiedAt = std::forward<ModifiedAtT>(value);
174 }
175 template <typename ModifiedAtT = Aws::Utils::DateTime>
177 SetModifiedAt(std::forward<ModifiedAtT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetDescription() const { return m_description; }
187 template <typename DescriptionT = Aws::String>
188 void SetDescription(DescriptionT&& value) {
189 m_descriptionHasBeenSet = true;
190 m_description = std::forward<DescriptionT>(value);
191 }
192 template <typename DescriptionT = Aws::String>
194 SetDescription(std::forward<DescriptionT>(value));
195 return *this;
196 }
198
200
205 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
206 inline void SetStartoverWindowSeconds(int value) {
207 m_startoverWindowSecondsHasBeenSet = true;
208 m_startoverWindowSeconds = value;
209 }
212 return *this;
213 }
215
217
220 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
221 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
222 void SetHlsManifests(HlsManifestsT&& value) {
223 m_hlsManifestsHasBeenSet = true;
224 m_hlsManifests = std::forward<HlsManifestsT>(value);
225 }
226 template <typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
228 SetHlsManifests(std::forward<HlsManifestsT>(value));
229 return *this;
230 }
231 template <typename HlsManifestsT = GetHlsManifestConfiguration>
233 m_hlsManifestsHasBeenSet = true;
234 m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
244 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
245 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
246 m_lowLatencyHlsManifestsHasBeenSet = true;
247 m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value);
248 }
249 template <typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
250 UpdateOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
251 SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value));
252 return *this;
253 }
254 template <typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
255 UpdateOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) {
256 m_lowLatencyHlsManifestsHasBeenSet = true;
257 m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value));
258 return *this;
259 }
261
263
267 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
268 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
269 void SetMssManifests(MssManifestsT&& value) {
270 m_mssManifestsHasBeenSet = true;
271 m_mssManifests = std::forward<MssManifestsT>(value);
272 }
273 template <typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
275 SetMssManifests(std::forward<MssManifestsT>(value));
276 return *this;
277 }
278 template <typename MssManifestsT = GetMssManifestConfiguration>
280 m_mssManifestsHasBeenSet = true;
281 m_mssManifests.emplace_back(std::forward<MssManifestsT>(value));
282 return *this;
283 }
285
287
290 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
291 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
292 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
293 m_forceEndpointErrorConfigurationHasBeenSet = true;
294 m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value);
295 }
296 template <typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
297 UpdateOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) {
298 SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value));
299 return *this;
300 }
302
304
307 inline UriSeparator GetUriSeparator() const { return m_uriSeparator; }
308 inline void SetUriSeparator(UriSeparator value) {
309 m_uriSeparatorHasBeenSet = true;
310 m_uriSeparator = value;
311 }
313 SetUriSeparator(value);
314 return *this;
315 }
317
319
323 inline const Aws::String& GetETag() const { return m_eTag; }
324 template <typename ETagT = Aws::String>
325 void SetETag(ETagT&& value) {
326 m_eTagHasBeenSet = true;
327 m_eTag = std::forward<ETagT>(value);
328 }
329 template <typename ETagT = Aws::String>
331 SetETag(std::forward<ETagT>(value));
332 return *this;
333 }
335
337
341 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
342 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
343 void SetTags(TagsT&& value) {
344 m_tagsHasBeenSet = true;
345 m_tags = std::forward<TagsT>(value);
346 }
347 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
349 SetTags(std::forward<TagsT>(value));
350 return *this;
351 }
352 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
353 UpdateOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
354 m_tagsHasBeenSet = true;
355 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
356 return *this;
357 }
359
361
364 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
365 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
366 void SetDashManifests(DashManifestsT&& value) {
367 m_dashManifestsHasBeenSet = true;
368 m_dashManifests = std::forward<DashManifestsT>(value);
369 }
370 template <typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
372 SetDashManifests(std::forward<DashManifestsT>(value));
373 return *this;
374 }
375 template <typename DashManifestsT = GetDashManifestConfiguration>
377 m_dashManifestsHasBeenSet = true;
378 m_dashManifests.emplace_back(std::forward<DashManifestsT>(value));
379 return *this;
380 }
382
384
385 inline const Aws::String& GetRequestId() const { return m_requestId; }
386 template <typename RequestIdT = Aws::String>
387 void SetRequestId(RequestIdT&& value) {
388 m_requestIdHasBeenSet = true;
389 m_requestId = std::forward<RequestIdT>(value);
390 }
391 template <typename RequestIdT = Aws::String>
393 SetRequestId(std::forward<RequestIdT>(value));
394 return *this;
395 }
397 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
398
399 private:
400 Aws::String m_arn;
401
402 Aws::String m_channelGroupName;
403
404 Aws::String m_channelName;
405
406 Aws::String m_originEndpointName;
407
408 ContainerType m_containerType{ContainerType::NOT_SET};
409
410 Segment m_segment;
411
412 Aws::Utils::DateTime m_createdAt{};
413
414 Aws::Utils::DateTime m_modifiedAt{};
415
416 Aws::String m_description;
417
418 int m_startoverWindowSeconds{0};
419
421
423
425
426 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
427
428 UriSeparator m_uriSeparator{UriSeparator::NOT_SET};
429
430 Aws::String m_eTag;
431
433
435
436 Aws::String m_requestId;
437 Aws::Http::HttpResponseCode m_HttpResponseCode;
438 bool m_arnHasBeenSet = false;
439 bool m_channelGroupNameHasBeenSet = false;
440 bool m_channelNameHasBeenSet = false;
441 bool m_originEndpointNameHasBeenSet = false;
442 bool m_containerTypeHasBeenSet = false;
443 bool m_segmentHasBeenSet = false;
444 bool m_createdAtHasBeenSet = false;
445 bool m_modifiedAtHasBeenSet = false;
446 bool m_descriptionHasBeenSet = false;
447 bool m_startoverWindowSecondsHasBeenSet = false;
448 bool m_hlsManifestsHasBeenSet = false;
449 bool m_lowLatencyHlsManifestsHasBeenSet = false;
450 bool m_mssManifestsHasBeenSet = false;
451 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
452 bool m_uriSeparatorHasBeenSet = false;
453 bool m_eTagHasBeenSet = false;
454 bool m_tagsHasBeenSet = false;
455 bool m_dashManifestsHasBeenSet = false;
456 bool m_requestIdHasBeenSet = false;
457};
458
459} // namespace Model
460} // namespace mediapackagev2
461} // 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 & WithUriSeparator(UriSeparator value)
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