AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
DescribeOriginEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.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/mediapackage/MediaPackage_EXPORTS.h>
12#include <aws/mediapackage/model/Authorization.h>
13#include <aws/mediapackage/model/CmafPackage.h>
14#include <aws/mediapackage/model/DashPackage.h>
15#include <aws/mediapackage/model/HlsPackage.h>
16#include <aws/mediapackage/model/MssPackage.h>
17#include <aws/mediapackage/model/Origination.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace MediaPackage {
31namespace Model {
33 public:
34 AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
57 inline const Authorization& GetAuthorization() const { return m_authorization; }
58 template <typename AuthorizationT = Authorization>
59 void SetAuthorization(AuthorizationT&& value) {
60 m_authorizationHasBeenSet = true;
61 m_authorization = std::forward<AuthorizationT>(value);
62 }
63 template <typename AuthorizationT = Authorization>
65 SetAuthorization(std::forward<AuthorizationT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetChannelId() const { return m_channelId; }
75 template <typename ChannelIdT = Aws::String>
76 void SetChannelId(ChannelIdT&& value) {
77 m_channelIdHasBeenSet = true;
78 m_channelId = std::forward<ChannelIdT>(value);
79 }
80 template <typename ChannelIdT = Aws::String>
82 SetChannelId(std::forward<ChannelIdT>(value));
83 return *this;
84 }
86
88
89 inline const CmafPackage& GetCmafPackage() const { return m_cmafPackage; }
90 template <typename CmafPackageT = CmafPackage>
91 void SetCmafPackage(CmafPackageT&& value) {
92 m_cmafPackageHasBeenSet = true;
93 m_cmafPackage = std::forward<CmafPackageT>(value);
94 }
95 template <typename CmafPackageT = CmafPackage>
97 SetCmafPackage(std::forward<CmafPackageT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
107 template <typename CreatedAtT = Aws::String>
108 void SetCreatedAt(CreatedAtT&& value) {
109 m_createdAtHasBeenSet = true;
110 m_createdAt = std::forward<CreatedAtT>(value);
111 }
112 template <typename CreatedAtT = Aws::String>
114 SetCreatedAt(std::forward<CreatedAtT>(value));
115 return *this;
116 }
118
120
121 inline const DashPackage& GetDashPackage() const { return m_dashPackage; }
122 template <typename DashPackageT = DashPackage>
123 void SetDashPackage(DashPackageT&& value) {
124 m_dashPackageHasBeenSet = true;
125 m_dashPackage = std::forward<DashPackageT>(value);
126 }
127 template <typename DashPackageT = DashPackage>
129 SetDashPackage(std::forward<DashPackageT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetDescription() const { return m_description; }
139 template <typename DescriptionT = Aws::String>
140 void SetDescription(DescriptionT&& value) {
141 m_descriptionHasBeenSet = true;
142 m_description = std::forward<DescriptionT>(value);
143 }
144 template <typename DescriptionT = Aws::String>
146 SetDescription(std::forward<DescriptionT>(value));
147 return *this;
148 }
150
152
153 inline const HlsPackage& GetHlsPackage() const { return m_hlsPackage; }
154 template <typename HlsPackageT = HlsPackage>
155 void SetHlsPackage(HlsPackageT&& value) {
156 m_hlsPackageHasBeenSet = true;
157 m_hlsPackage = std::forward<HlsPackageT>(value);
158 }
159 template <typename HlsPackageT = HlsPackage>
161 SetHlsPackage(std::forward<HlsPackageT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetId() const { return m_id; }
171 template <typename IdT = Aws::String>
172 void SetId(IdT&& value) {
173 m_idHasBeenSet = true;
174 m_id = std::forward<IdT>(value);
175 }
176 template <typename IdT = Aws::String>
178 SetId(std::forward<IdT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetManifestName() const { return m_manifestName; }
188 template <typename ManifestNameT = Aws::String>
189 void SetManifestName(ManifestNameT&& value) {
190 m_manifestNameHasBeenSet = true;
191 m_manifestName = std::forward<ManifestNameT>(value);
192 }
193 template <typename ManifestNameT = Aws::String>
195 SetManifestName(std::forward<ManifestNameT>(value));
196 return *this;
197 }
199
201
202 inline const MssPackage& GetMssPackage() const { return m_mssPackage; }
203 template <typename MssPackageT = MssPackage>
204 void SetMssPackage(MssPackageT&& value) {
205 m_mssPackageHasBeenSet = true;
206 m_mssPackage = std::forward<MssPackageT>(value);
207 }
208 template <typename MssPackageT = MssPackage>
210 SetMssPackage(std::forward<MssPackageT>(value));
211 return *this;
212 }
214
216
226 inline Origination GetOrigination() const { return m_origination; }
227 inline void SetOrigination(Origination value) {
228 m_originationHasBeenSet = true;
229 m_origination = value;
230 }
232 SetOrigination(value);
233 return *this;
234 }
236
238
244 inline int GetStartoverWindowSeconds() const { return m_startoverWindowSeconds; }
245 inline void SetStartoverWindowSeconds(int value) {
246 m_startoverWindowSecondsHasBeenSet = true;
247 m_startoverWindowSeconds = value;
248 }
251 return *this;
252 }
254
256
257 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
258 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
259 void SetTags(TagsT&& value) {
260 m_tagsHasBeenSet = true;
261 m_tags = std::forward<TagsT>(value);
262 }
263 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
265 SetTags(std::forward<TagsT>(value));
266 return *this;
267 }
268 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
269 DescribeOriginEndpointResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
270 m_tagsHasBeenSet = true;
271 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
272 return *this;
273 }
275
277
283 inline int GetTimeDelaySeconds() const { return m_timeDelaySeconds; }
284 inline void SetTimeDelaySeconds(int value) {
285 m_timeDelaySecondsHasBeenSet = true;
286 m_timeDelaySeconds = value;
287 }
289 SetTimeDelaySeconds(value);
290 return *this;
291 }
293
295
298 inline const Aws::String& GetUrl() const { return m_url; }
299 template <typename UrlT = Aws::String>
300 void SetUrl(UrlT&& value) {
301 m_urlHasBeenSet = true;
302 m_url = std::forward<UrlT>(value);
303 }
304 template <typename UrlT = Aws::String>
306 SetUrl(std::forward<UrlT>(value));
307 return *this;
308 }
310
312
316 inline const Aws::Vector<Aws::String>& GetWhitelist() const { return m_whitelist; }
317 template <typename WhitelistT = Aws::Vector<Aws::String>>
318 void SetWhitelist(WhitelistT&& value) {
319 m_whitelistHasBeenSet = true;
320 m_whitelist = std::forward<WhitelistT>(value);
321 }
322 template <typename WhitelistT = Aws::Vector<Aws::String>>
324 SetWhitelist(std::forward<WhitelistT>(value));
325 return *this;
326 }
327 template <typename WhitelistT = Aws::String>
329 m_whitelistHasBeenSet = true;
330 m_whitelist.emplace_back(std::forward<WhitelistT>(value));
331 return *this;
332 }
334
336
337 inline const Aws::String& GetRequestId() const { return m_requestId; }
338 template <typename RequestIdT = Aws::String>
339 void SetRequestId(RequestIdT&& value) {
340 m_requestIdHasBeenSet = true;
341 m_requestId = std::forward<RequestIdT>(value);
342 }
343 template <typename RequestIdT = Aws::String>
345 SetRequestId(std::forward<RequestIdT>(value));
346 return *this;
347 }
349 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
350
351 private:
352 Aws::String m_arn;
353
354 Authorization m_authorization;
355
356 Aws::String m_channelId;
357
358 CmafPackage m_cmafPackage;
359
360 Aws::String m_createdAt;
361
362 DashPackage m_dashPackage;
363
364 Aws::String m_description;
365
366 HlsPackage m_hlsPackage;
367
368 Aws::String m_id;
369
370 Aws::String m_manifestName;
371
372 MssPackage m_mssPackage;
373
374 Origination m_origination{Origination::NOT_SET};
375
376 int m_startoverWindowSeconds{0};
377
379
380 int m_timeDelaySeconds{0};
381
382 Aws::String m_url;
383
384 Aws::Vector<Aws::String> m_whitelist;
385
386 Aws::String m_requestId;
387 Aws::Http::HttpResponseCode m_HttpResponseCode;
388 bool m_arnHasBeenSet = false;
389 bool m_authorizationHasBeenSet = false;
390 bool m_channelIdHasBeenSet = false;
391 bool m_cmafPackageHasBeenSet = false;
392 bool m_createdAtHasBeenSet = false;
393 bool m_dashPackageHasBeenSet = false;
394 bool m_descriptionHasBeenSet = false;
395 bool m_hlsPackageHasBeenSet = false;
396 bool m_idHasBeenSet = false;
397 bool m_manifestNameHasBeenSet = false;
398 bool m_mssPackageHasBeenSet = false;
399 bool m_originationHasBeenSet = false;
400 bool m_startoverWindowSecondsHasBeenSet = false;
401 bool m_tagsHasBeenSet = false;
402 bool m_timeDelaySecondsHasBeenSet = false;
403 bool m_urlHasBeenSet = false;
404 bool m_whitelistHasBeenSet = false;
405 bool m_requestIdHasBeenSet = false;
406};
407
408} // namespace Model
409} // namespace MediaPackage
410} // namespace Aws
DescribeOriginEndpointResult & WithCmafPackage(CmafPackageT &&value)
DescribeOriginEndpointResult & WithMssPackage(MssPackageT &&value)
DescribeOriginEndpointResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeOriginEndpointResult & WithCreatedAt(CreatedAtT &&value)
AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult()=default
DescribeOriginEndpointResult & WithOrigination(Origination value)
DescribeOriginEndpointResult & WithDescription(DescriptionT &&value)
DescribeOriginEndpointResult & WithAuthorization(AuthorizationT &&value)
DescribeOriginEndpointResult & WithStartoverWindowSeconds(int value)
DescribeOriginEndpointResult & WithWhitelist(WhitelistT &&value)
DescribeOriginEndpointResult & WithChannelId(ChannelIdT &&value)
DescribeOriginEndpointResult & AddWhitelist(WhitelistT &&value)
DescribeOriginEndpointResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeOriginEndpointResult & WithHlsPackage(HlsPackageT &&value)
DescribeOriginEndpointResult & WithManifestName(ManifestNameT &&value)
DescribeOriginEndpointResult & WithDashPackage(DashPackageT &&value)
AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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