AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOriginEndpointResult.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/model/Authorization.h>
10#include <aws/mediapackage/model/CmafPackage.h>
11#include <aws/mediapackage/model/DashPackage.h>
12#include <aws/mediapackage/model/HlsPackage.h>
13#include <aws/mediapackage/model/MssPackage.h>
14#include <aws/mediapackage/model/Origination.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace MediaPackage
32{
33namespace Model
34{
36 {
37 public:
38 AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult();
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline void SetArn(const Aws::String& value) { m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arn.assign(value); }
51 inline DescribeOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DescribeOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DescribeOriginEndpointResult& WithArn(const char* value) { SetArn(value); return *this;}
55
57
58 inline const Authorization& GetAuthorization() const{ return m_authorization; }
59 inline void SetAuthorization(const Authorization& value) { m_authorization = value; }
60 inline void SetAuthorization(Authorization&& value) { m_authorization = std::move(value); }
62 inline DescribeOriginEndpointResult& WithAuthorization(Authorization&& value) { SetAuthorization(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetChannelId() const{ return m_channelId; }
70 inline void SetChannelId(const Aws::String& value) { m_channelId = value; }
71 inline void SetChannelId(Aws::String&& value) { m_channelId = std::move(value); }
72 inline void SetChannelId(const char* value) { m_channelId.assign(value); }
73 inline DescribeOriginEndpointResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
74 inline DescribeOriginEndpointResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
75 inline DescribeOriginEndpointResult& WithChannelId(const char* value) { SetChannelId(value); return *this;}
77
79
80 inline const CmafPackage& GetCmafPackage() const{ return m_cmafPackage; }
81 inline void SetCmafPackage(const CmafPackage& value) { m_cmafPackage = value; }
82 inline void SetCmafPackage(CmafPackage&& value) { m_cmafPackage = std::move(value); }
83 inline DescribeOriginEndpointResult& WithCmafPackage(const CmafPackage& value) { SetCmafPackage(value); return *this;}
84 inline DescribeOriginEndpointResult& WithCmafPackage(CmafPackage&& value) { SetCmafPackage(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
92 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
93 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
94 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
95 inline DescribeOriginEndpointResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
96 inline DescribeOriginEndpointResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
97 inline DescribeOriginEndpointResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
99
101
102 inline const DashPackage& GetDashPackage() const{ return m_dashPackage; }
103 inline void SetDashPackage(const DashPackage& value) { m_dashPackage = value; }
104 inline void SetDashPackage(DashPackage&& value) { m_dashPackage = std::move(value); }
105 inline DescribeOriginEndpointResult& WithDashPackage(const DashPackage& value) { SetDashPackage(value); return *this;}
106 inline DescribeOriginEndpointResult& WithDashPackage(DashPackage&& value) { SetDashPackage(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetDescription() const{ return m_description; }
114 inline void SetDescription(const Aws::String& value) { m_description = value; }
115 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
116 inline void SetDescription(const char* value) { m_description.assign(value); }
117 inline DescribeOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
118 inline DescribeOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 inline DescribeOriginEndpointResult& WithDescription(const char* value) { SetDescription(value); return *this;}
121
123
124 inline const HlsPackage& GetHlsPackage() const{ return m_hlsPackage; }
125 inline void SetHlsPackage(const HlsPackage& value) { m_hlsPackage = value; }
126 inline void SetHlsPackage(HlsPackage&& value) { m_hlsPackage = std::move(value); }
127 inline DescribeOriginEndpointResult& WithHlsPackage(const HlsPackage& value) { SetHlsPackage(value); return *this;}
128 inline DescribeOriginEndpointResult& WithHlsPackage(HlsPackage&& value) { SetHlsPackage(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetId() const{ return m_id; }
136 inline void SetId(const Aws::String& value) { m_id = value; }
137 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
138 inline void SetId(const char* value) { m_id.assign(value); }
139 inline DescribeOriginEndpointResult& WithId(const Aws::String& value) { SetId(value); return *this;}
140 inline DescribeOriginEndpointResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
141 inline DescribeOriginEndpointResult& WithId(const char* value) { SetId(value); return *this;}
143
145
148 inline const Aws::String& GetManifestName() const{ return m_manifestName; }
149 inline void SetManifestName(const Aws::String& value) { m_manifestName = value; }
150 inline void SetManifestName(Aws::String&& value) { m_manifestName = std::move(value); }
151 inline void SetManifestName(const char* value) { m_manifestName.assign(value); }
152 inline DescribeOriginEndpointResult& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;}
153 inline DescribeOriginEndpointResult& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;}
154 inline DescribeOriginEndpointResult& WithManifestName(const char* value) { SetManifestName(value); return *this;}
156
158
159 inline const MssPackage& GetMssPackage() const{ return m_mssPackage; }
160 inline void SetMssPackage(const MssPackage& value) { m_mssPackage = value; }
161 inline void SetMssPackage(MssPackage&& value) { m_mssPackage = std::move(value); }
162 inline DescribeOriginEndpointResult& WithMssPackage(const MssPackage& value) { SetMssPackage(value); return *this;}
163 inline DescribeOriginEndpointResult& WithMssPackage(MssPackage&& value) { SetMssPackage(std::move(value)); return *this;}
165
167
177 inline const Origination& GetOrigination() const{ return m_origination; }
178 inline void SetOrigination(const Origination& value) { m_origination = value; }
179 inline void SetOrigination(Origination&& value) { m_origination = std::move(value); }
180 inline DescribeOriginEndpointResult& WithOrigination(const Origination& value) { SetOrigination(value); return *this;}
181 inline DescribeOriginEndpointResult& WithOrigination(Origination&& value) { SetOrigination(std::move(value)); return *this;}
183
185
191 inline int GetStartoverWindowSeconds() const{ return m_startoverWindowSeconds; }
192 inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSeconds = value; }
195
197
198 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
199 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
200 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
202 inline DescribeOriginEndpointResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
203 inline DescribeOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
204 inline DescribeOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
205 inline DescribeOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
206 inline DescribeOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline DescribeOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
208 inline DescribeOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
209 inline DescribeOriginEndpointResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
211
213
219 inline int GetTimeDelaySeconds() const{ return m_timeDelaySeconds; }
220 inline void SetTimeDelaySeconds(int value) { m_timeDelaySeconds = value; }
223
225
228 inline const Aws::String& GetUrl() const{ return m_url; }
229 inline void SetUrl(const Aws::String& value) { m_url = value; }
230 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
231 inline void SetUrl(const char* value) { m_url.assign(value); }
232 inline DescribeOriginEndpointResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
233 inline DescribeOriginEndpointResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
234 inline DescribeOriginEndpointResult& WithUrl(const char* value) { SetUrl(value); return *this;}
236
238
242 inline const Aws::Vector<Aws::String>& GetWhitelist() const{ return m_whitelist; }
243 inline void SetWhitelist(const Aws::Vector<Aws::String>& value) { m_whitelist = value; }
244 inline void SetWhitelist(Aws::Vector<Aws::String>&& value) { m_whitelist = std::move(value); }
246 inline DescribeOriginEndpointResult& WithWhitelist(Aws::Vector<Aws::String>&& value) { SetWhitelist(std::move(value)); return *this;}
247 inline DescribeOriginEndpointResult& AddWhitelist(const Aws::String& value) { m_whitelist.push_back(value); return *this; }
248 inline DescribeOriginEndpointResult& AddWhitelist(Aws::String&& value) { m_whitelist.push_back(std::move(value)); return *this; }
249 inline DescribeOriginEndpointResult& AddWhitelist(const char* value) { m_whitelist.push_back(value); return *this; }
251
253
254 inline const Aws::String& GetRequestId() const{ return m_requestId; }
255 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
256 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
257 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
258 inline DescribeOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
259 inline DescribeOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
260 inline DescribeOriginEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
262 private:
263
264 Aws::String m_arn;
265
266 Authorization m_authorization;
267
268 Aws::String m_channelId;
269
270 CmafPackage m_cmafPackage;
271
272 Aws::String m_createdAt;
273
274 DashPackage m_dashPackage;
275
276 Aws::String m_description;
277
278 HlsPackage m_hlsPackage;
279
280 Aws::String m_id;
281
282 Aws::String m_manifestName;
283
284 MssPackage m_mssPackage;
285
286 Origination m_origination;
287
288 int m_startoverWindowSeconds;
289
291
292 int m_timeDelaySeconds;
293
294 Aws::String m_url;
295
296 Aws::Vector<Aws::String> m_whitelist;
297
298 Aws::String m_requestId;
299 };
300
301} // namespace Model
302} // namespace MediaPackage
303} // namespace Aws
DescribeOriginEndpointResult & WithAuthorization(const Authorization &value)
DescribeOriginEndpointResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeOriginEndpointResult & AddTags(const char *key, Aws::String &&value)
DescribeOriginEndpointResult & WithChannelId(Aws::String &&value)
DescribeOriginEndpointResult & WithArn(Aws::String &&value)
void SetWhitelist(const Aws::Vector< Aws::String > &value)
DescribeOriginEndpointResult & WithHlsPackage(const HlsPackage &value)
DescribeOriginEndpointResult & WithOrigination(Origination &&value)
DescribeOriginEndpointResult & WithAuthorization(Authorization &&value)
DescribeOriginEndpointResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeOriginEndpointResult & WithCmafPackage(const CmafPackage &value)
DescribeOriginEndpointResult & WithManifestName(const Aws::String &value)
DescribeOriginEndpointResult & AddWhitelist(const Aws::String &value)
AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeOriginEndpointResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeOriginEndpointResult & AddTags(const char *key, const char *value)
DescribeOriginEndpointResult & WithUrl(Aws::String &&value)
DescribeOriginEndpointResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeOriginEndpointResult & WithDescription(const char *value)
DescribeOriginEndpointResult & WithRequestId(const char *value)
DescribeOriginEndpointResult & WithMssPackage(MssPackage &&value)
DescribeOriginEndpointResult & WithRequestId(const Aws::String &value)
DescribeOriginEndpointResult & WithUrl(const char *value)
DescribeOriginEndpointResult & WithStartoverWindowSeconds(int value)
DescribeOriginEndpointResult & WithCreatedAt(const Aws::String &value)
DescribeOriginEndpointResult & WithId(const Aws::String &value)
DescribeOriginEndpointResult & WithWhitelist(Aws::Vector< Aws::String > &&value)
DescribeOriginEndpointResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeOriginEndpointResult & WithId(const char *value)
DescribeOriginEndpointResult & WithDashPackage(const DashPackage &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeOriginEndpointResult & WithCreatedAt(Aws::String &&value)
DescribeOriginEndpointResult & WithDescription(Aws::String &&value)
DescribeOriginEndpointResult & WithRequestId(Aws::String &&value)
DescribeOriginEndpointResult & WithChannelId(const Aws::String &value)
DescribeOriginEndpointResult & WithUrl(const Aws::String &value)
DescribeOriginEndpointResult & WithCmafPackage(CmafPackage &&value)
DescribeOriginEndpointResult & WithId(Aws::String &&value)
DescribeOriginEndpointResult & WithManifestName(Aws::String &&value)
DescribeOriginEndpointResult & AddWhitelist(Aws::String &&value)
DescribeOriginEndpointResult & WithChannelId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeOriginEndpointResult & WithDashPackage(DashPackage &&value)
DescribeOriginEndpointResult & WithMssPackage(const MssPackage &value)
DescribeOriginEndpointResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeOriginEndpointResult & WithOrigination(const Origination &value)
DescribeOriginEndpointResult & WithArn(const Aws::String &value)
DescribeOriginEndpointResult & WithManifestName(const char *value)
DescribeOriginEndpointResult & WithArn(const char *value)
DescribeOriginEndpointResult & WithWhitelist(const Aws::Vector< Aws::String > &value)
DescribeOriginEndpointResult & WithDescription(const Aws::String &value)
AWS_MEDIAPACKAGE_API DescribeOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOriginEndpointResult & AddTags(Aws::String &&key, const char *value)
DescribeOriginEndpointResult & WithHlsPackage(HlsPackage &&value)
DescribeOriginEndpointResult & AddWhitelist(const char *value)
DescribeOriginEndpointResult & WithCreatedAt(const char *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