AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetOriginEndpointResult.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackagev2/model/ContainerType.h>
10#include <aws/mediapackagev2/model/Segment.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mediapackagev2/model/ForceEndpointErrorConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mediapackagev2/model/GetHlsManifestConfiguration.h>
16#include <aws/mediapackagev2/model/GetLowLatencyHlsManifestConfiguration.h>
17#include <aws/mediapackagev2/model/GetDashManifestConfiguration.h>
18#include <aws/mediapackagev2/model/GetMssManifestConfiguration.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace mediapackagev2
34{
35namespace Model
36{
38 {
39 public:
40 AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult() = default;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 GetOriginEndpointResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
62 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
63 template<typename ChannelGroupNameT = Aws::String>
64 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
65 template<typename ChannelGroupNameT = Aws::String>
66 GetOriginEndpointResult& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
68
70
75 inline const Aws::String& GetChannelName() const { return m_channelName; }
76 template<typename ChannelNameT = Aws::String>
77 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
78 template<typename ChannelNameT = Aws::String>
79 GetOriginEndpointResult& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
81
83
88 inline const Aws::String& GetOriginEndpointName() const { return m_originEndpointName; }
89 template<typename OriginEndpointNameT = Aws::String>
90 void SetOriginEndpointName(OriginEndpointNameT&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::forward<OriginEndpointNameT>(value); }
91 template<typename OriginEndpointNameT = Aws::String>
92 GetOriginEndpointResult& WithOriginEndpointName(OriginEndpointNameT&& value) { SetOriginEndpointName(std::forward<OriginEndpointNameT>(value)); return *this;}
94
96
99 inline ContainerType GetContainerType() const { return m_containerType; }
100 inline void SetContainerType(ContainerType value) { m_containerTypeHasBeenSet = true; m_containerType = value; }
103
105
106 inline const Segment& GetSegment() const { return m_segment; }
107 template<typename SegmentT = Segment>
108 void SetSegment(SegmentT&& value) { m_segmentHasBeenSet = true; m_segment = std::forward<SegmentT>(value); }
109 template<typename SegmentT = Segment>
110 GetOriginEndpointResult& WithSegment(SegmentT&& value) { SetSegment(std::forward<SegmentT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 GetOriginEndpointResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
129 template<typename ModifiedAtT = Aws::Utils::DateTime>
130 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
131 template<typename ModifiedAtT = Aws::Utils::DateTime>
132 GetOriginEndpointResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
140 template<typename ResetAtT = Aws::Utils::DateTime>
141 void SetResetAt(ResetAtT&& value) { m_resetAtHasBeenSet = true; m_resetAt = std::forward<ResetAtT>(value); }
142 template<typename ResetAtT = Aws::Utils::DateTime>
143 GetOriginEndpointResult& WithResetAt(ResetAtT&& value) { SetResetAt(std::forward<ResetAtT>(value)); return *this;}
145
147
150 inline const Aws::String& GetDescription() const { return m_description; }
151 template<typename DescriptionT = Aws::String>
152 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
153 template<typename DescriptionT = Aws::String>
154 GetOriginEndpointResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
156
158
163 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
164 inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSecondsHasBeenSet = true; m_startoverWindowSeconds = value; }
167
169
172 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const { return m_hlsManifests; }
173 template<typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
174 void SetHlsManifests(HlsManifestsT&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = std::forward<HlsManifestsT>(value); }
175 template<typename HlsManifestsT = Aws::Vector<GetHlsManifestConfiguration>>
176 GetOriginEndpointResult& WithHlsManifests(HlsManifestsT&& value) { SetHlsManifests(std::forward<HlsManifestsT>(value)); return *this;}
177 template<typename HlsManifestsT = GetHlsManifestConfiguration>
178 GetOriginEndpointResult& AddHlsManifests(HlsManifestsT&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.emplace_back(std::forward<HlsManifestsT>(value)); return *this; }
180
182
185 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const { return m_lowLatencyHlsManifests; }
186 template<typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
187 void SetLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests = std::forward<LowLatencyHlsManifestsT>(value); }
188 template<typename LowLatencyHlsManifestsT = Aws::Vector<GetLowLatencyHlsManifestConfiguration>>
189 GetOriginEndpointResult& WithLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) { SetLowLatencyHlsManifests(std::forward<LowLatencyHlsManifestsT>(value)); return *this;}
190 template<typename LowLatencyHlsManifestsT = GetLowLatencyHlsManifestConfiguration>
191 GetOriginEndpointResult& AddLowLatencyHlsManifests(LowLatencyHlsManifestsT&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.emplace_back(std::forward<LowLatencyHlsManifestsT>(value)); return *this; }
193
195
198 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const { return m_dashManifests; }
199 template<typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
200 void SetDashManifests(DashManifestsT&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = std::forward<DashManifestsT>(value); }
201 template<typename DashManifestsT = Aws::Vector<GetDashManifestConfiguration>>
202 GetOriginEndpointResult& WithDashManifests(DashManifestsT&& value) { SetDashManifests(std::forward<DashManifestsT>(value)); return *this;}
203 template<typename DashManifestsT = GetDashManifestConfiguration>
204 GetOriginEndpointResult& AddDashManifests(DashManifestsT&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.emplace_back(std::forward<DashManifestsT>(value)); return *this; }
206
208
212 inline const Aws::Vector<GetMssManifestConfiguration>& GetGetMssManifests() const { return m_mssManifests; }
213 template<typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
214 void SetMssManifests(MssManifestsT&& value) { m_mssManifestsHasBeenSet = true; m_mssManifests = std::forward<MssManifestsT>(value); }
215 template<typename MssManifestsT = Aws::Vector<GetMssManifestConfiguration>>
216 GetOriginEndpointResult& WithMssManifests(MssManifestsT&& value) { SetMssManifests(std::forward<MssManifestsT>(value)); return *this;}
217 template<typename MssManifestsT = GetMssManifestConfiguration>
218 GetOriginEndpointResult& AddMssManifests(MssManifestsT&& value) { m_mssManifestsHasBeenSet = true; m_mssManifests.emplace_back(std::forward<MssManifestsT>(value)); return *this; }
220
222
225 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const { return m_forceEndpointErrorConfiguration; }
226 template<typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
227 void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) { m_forceEndpointErrorConfigurationHasBeenSet = true; m_forceEndpointErrorConfiguration = std::forward<ForceEndpointErrorConfigurationT>(value); }
228 template<typename ForceEndpointErrorConfigurationT = ForceEndpointErrorConfiguration>
229 GetOriginEndpointResult& WithForceEndpointErrorConfiguration(ForceEndpointErrorConfigurationT&& value) { SetForceEndpointErrorConfiguration(std::forward<ForceEndpointErrorConfigurationT>(value)); return *this;}
231
233
237 inline const Aws::String& GetETag() const { return m_eTag; }
238 template<typename ETagT = Aws::String>
239 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
240 template<typename ETagT = Aws::String>
241 GetOriginEndpointResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
243
245
249 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
250 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
252 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
253 GetOriginEndpointResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
254 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
255 GetOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
256 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
257 }
259
261
262 inline const Aws::String& GetRequestId() const { return m_requestId; }
263 template<typename RequestIdT = Aws::String>
264 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
265 template<typename RequestIdT = Aws::String>
266 GetOriginEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
268 private:
269
270 Aws::String m_arn;
271 bool m_arnHasBeenSet = false;
272
273 Aws::String m_channelGroupName;
274 bool m_channelGroupNameHasBeenSet = false;
275
276 Aws::String m_channelName;
277 bool m_channelNameHasBeenSet = false;
278
279 Aws::String m_originEndpointName;
280 bool m_originEndpointNameHasBeenSet = false;
281
282 ContainerType m_containerType{ContainerType::NOT_SET};
283 bool m_containerTypeHasBeenSet = false;
284
285 Segment m_segment;
286 bool m_segmentHasBeenSet = false;
287
288 Aws::Utils::DateTime m_createdAt{};
289 bool m_createdAtHasBeenSet = false;
290
291 Aws::Utils::DateTime m_modifiedAt{};
292 bool m_modifiedAtHasBeenSet = false;
293
294 Aws::Utils::DateTime m_resetAt{};
295 bool m_resetAtHasBeenSet = false;
296
297 Aws::String m_description;
298 bool m_descriptionHasBeenSet = false;
299
300 int m_startoverWindowSeconds{0};
301 bool m_startoverWindowSecondsHasBeenSet = false;
302
304 bool m_hlsManifestsHasBeenSet = false;
305
307 bool m_lowLatencyHlsManifestsHasBeenSet = false;
308
310 bool m_dashManifestsHasBeenSet = false;
311
313 bool m_mssManifestsHasBeenSet = false;
314
315 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
316 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
317
318 Aws::String m_eTag;
319 bool m_eTagHasBeenSet = false;
320
322 bool m_tagsHasBeenSet = false;
323
324 Aws::String m_requestId;
325 bool m_requestIdHasBeenSet = false;
326 };
327
328} // namespace Model
329} // namespace mediapackagev2
330} // 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