AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateOriginEndpointResult.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 UpdateOriginEndpointResult();
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 UpdateOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline UpdateOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline UpdateOriginEndpointResult& 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); }
61 inline UpdateOriginEndpointResult& WithAuthorization(const Authorization& value) { SetAuthorization(value); return *this;}
62 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
74 inline UpdateOriginEndpointResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
75 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithCmafPackage(const CmafPackage& value) { SetCmafPackage(value); return *this;}
84 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
96 inline UpdateOriginEndpointResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
97 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithDashPackage(const DashPackage& value) { SetDashPackage(value); return *this;}
106 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
118 inline UpdateOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithHlsPackage(const HlsPackage& value) { SetHlsPackage(value); return *this;}
128 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithId(const Aws::String& value) { SetId(value); return *this;}
140 inline UpdateOriginEndpointResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
141 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;}
153 inline UpdateOriginEndpointResult& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;}
154 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithMssPackage(const MssPackage& value) { SetMssPackage(value); return *this;}
163 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithOrigination(const Origination& value) { SetOrigination(value); return *this;}
181 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
203 inline UpdateOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
204 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
205 inline UpdateOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
206 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline UpdateOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
208 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
209 inline UpdateOriginEndpointResult& 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; }
221 inline UpdateOriginEndpointResult& WithTimeDelaySeconds(int value) { SetTimeDelaySeconds(value); return *this;}
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 UpdateOriginEndpointResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
233 inline UpdateOriginEndpointResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
234 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithWhitelist(Aws::Vector<Aws::String>&& value) { SetWhitelist(std::move(value)); return *this;}
247 inline UpdateOriginEndpointResult& AddWhitelist(const Aws::String& value) { m_whitelist.push_back(value); return *this; }
248 inline UpdateOriginEndpointResult& AddWhitelist(Aws::String&& value) { m_whitelist.push_back(std::move(value)); return *this; }
249 inline UpdateOriginEndpointResult& 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 UpdateOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
259 inline UpdateOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
260 inline UpdateOriginEndpointResult& 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
UpdateOriginEndpointResult & WithMssPackage(const MssPackage &value)
UpdateOriginEndpointResult & WithStartoverWindowSeconds(int value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateOriginEndpointResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateOriginEndpointResult & WithWhitelist(Aws::Vector< Aws::String > &&value)
UpdateOriginEndpointResult & WithHlsPackage(HlsPackage &&value)
UpdateOriginEndpointResult & WithCreatedAt(Aws::String &&value)
UpdateOriginEndpointResult & WithTimeDelaySeconds(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateOriginEndpointResult & AddWhitelist(const Aws::String &value)
AWS_MEDIAPACKAGE_API UpdateOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOriginEndpointResult & WithArn(const char *value)
UpdateOriginEndpointResult & WithDescription(Aws::String &&value)
UpdateOriginEndpointResult & WithChannelId(const Aws::String &value)
UpdateOriginEndpointResult & WithDescription(const char *value)
UpdateOriginEndpointResult & WithRequestId(Aws::String &&value)
UpdateOriginEndpointResult & WithManifestName(const Aws::String &value)
UpdateOriginEndpointResult & AddWhitelist(Aws::String &&value)
UpdateOriginEndpointResult & WithId(const Aws::String &value)
UpdateOriginEndpointResult & WithRequestId(const char *value)
UpdateOriginEndpointResult & WithManifestName(Aws::String &&value)
UpdateOriginEndpointResult & WithOrigination(const Origination &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateOriginEndpointResult & WithCmafPackage(CmafPackage &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateOriginEndpointResult & AddTags(const char *key, const char *value)
UpdateOriginEndpointResult & WithCmafPackage(const CmafPackage &value)
UpdateOriginEndpointResult & WithUrl(Aws::String &&value)
UpdateOriginEndpointResult & WithCreatedAt(const Aws::String &value)
UpdateOriginEndpointResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateOriginEndpointResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateOriginEndpointResult & WithDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetWhitelist() const
UpdateOriginEndpointResult & WithChannelId(Aws::String &&value)
UpdateOriginEndpointResult & WithAuthorization(Authorization &&value)
UpdateOriginEndpointResult & WithDashPackage(DashPackage &&value)
UpdateOriginEndpointResult & AddTags(const char *key, Aws::String &&value)
UpdateOriginEndpointResult & WithCreatedAt(const char *value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, const char *value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateOriginEndpointResult & WithAuthorization(const Authorization &value)
UpdateOriginEndpointResult & WithOrigination(Origination &&value)
UpdateOriginEndpointResult & AddWhitelist(const char *value)
UpdateOriginEndpointResult & WithManifestName(const char *value)
void SetWhitelist(const Aws::Vector< Aws::String > &value)
UpdateOriginEndpointResult & WithUrl(const char *value)
UpdateOriginEndpointResult & WithUrl(const Aws::String &value)
UpdateOriginEndpointResult & WithMssPackage(MssPackage &&value)
UpdateOriginEndpointResult & WithChannelId(const char *value)
UpdateOriginEndpointResult & WithArn(Aws::String &&value)
UpdateOriginEndpointResult & WithHlsPackage(const HlsPackage &value)
UpdateOriginEndpointResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateOriginEndpointResult & WithDashPackage(const DashPackage &value)
UpdateOriginEndpointResult & WithId(const char *value)
UpdateOriginEndpointResult & WithArn(const Aws::String &value)
AWS_MEDIAPACKAGE_API UpdateOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateOriginEndpointResult & WithRequestId(const Aws::String &value)
UpdateOriginEndpointResult & WithWhitelist(const Aws::Vector< Aws::String > &value)
UpdateOriginEndpointResult & WithId(Aws::String &&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