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/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 <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace mediapackagev2
33{
34namespace Model
35{
37 {
38 public:
39 AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointResult();
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline void SetArn(const Aws::String& value) { m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arn.assign(value); }
52 inline UpdateOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline UpdateOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline UpdateOriginEndpointResult& WithArn(const char* value) { SetArn(value); return *this;}
56
58
63 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
64 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; }
65 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); }
66 inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); }
68 inline UpdateOriginEndpointResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
69 inline UpdateOriginEndpointResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
71
73
78 inline const Aws::String& GetChannelName() const{ return m_channelName; }
79 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
80 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
81 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
82 inline UpdateOriginEndpointResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
83 inline UpdateOriginEndpointResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
84 inline UpdateOriginEndpointResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
86
88
93 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
94 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointName = value; }
95 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointName = std::move(value); }
96 inline void SetOriginEndpointName(const char* value) { m_originEndpointName.assign(value); }
98 inline UpdateOriginEndpointResult& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
99 inline UpdateOriginEndpointResult& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
101
103
106 inline const ContainerType& GetContainerType() const{ return m_containerType; }
107 inline void SetContainerType(const ContainerType& value) { m_containerType = value; }
108 inline void SetContainerType(ContainerType&& value) { m_containerType = std::move(value); }
109 inline UpdateOriginEndpointResult& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;}
110 inline UpdateOriginEndpointResult& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;}
112
114
118 inline const Segment& GetSegment() const{ return m_segment; }
119 inline void SetSegment(const Segment& value) { m_segment = value; }
120 inline void SetSegment(Segment&& value) { m_segment = std::move(value); }
121 inline UpdateOriginEndpointResult& WithSegment(const Segment& value) { SetSegment(value); return *this;}
122 inline UpdateOriginEndpointResult& WithSegment(Segment&& value) { SetSegment(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
130 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
131 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
132 inline UpdateOriginEndpointResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
133 inline UpdateOriginEndpointResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
141 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
142 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
144 inline UpdateOriginEndpointResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
146
148
151 inline const Aws::String& GetDescription() const{ return m_description; }
152 inline void SetDescription(const Aws::String& value) { m_description = value; }
153 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
154 inline void SetDescription(const char* value) { m_description.assign(value); }
155 inline UpdateOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 inline UpdateOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 inline UpdateOriginEndpointResult& WithDescription(const char* value) { SetDescription(value); return *this;}
159
161
166 inline int GetStartoverWindowSeconds() const{ return m_startoverWindowSeconds; }
167 inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSeconds = value; }
170
172
175 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const{ return m_hlsManifests; }
176 inline void SetHlsManifests(const Aws::Vector<GetHlsManifestConfiguration>& value) { m_hlsManifests = value; }
177 inline void SetHlsManifests(Aws::Vector<GetHlsManifestConfiguration>&& value) { m_hlsManifests = std::move(value); }
180 inline UpdateOriginEndpointResult& AddHlsManifests(const GetHlsManifestConfiguration& value) { m_hlsManifests.push_back(value); return *this; }
181 inline UpdateOriginEndpointResult& AddHlsManifests(GetHlsManifestConfiguration&& value) { m_hlsManifests.push_back(std::move(value)); return *this; }
183
185
188 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const{ return m_lowLatencyHlsManifests; }
189 inline void SetLowLatencyHlsManifests(const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& value) { m_lowLatencyHlsManifests = value; }
190 inline void SetLowLatencyHlsManifests(Aws::Vector<GetLowLatencyHlsManifestConfiguration>&& value) { m_lowLatencyHlsManifests = std::move(value); }
193 inline UpdateOriginEndpointResult& AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifests.push_back(value); return *this; }
194 inline UpdateOriginEndpointResult& AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; }
196
198
201 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const{ return m_forceEndpointErrorConfiguration; }
202 inline void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration& value) { m_forceEndpointErrorConfiguration = value; }
203 inline void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration&& value) { m_forceEndpointErrorConfiguration = std::move(value); }
207
209
213 inline const Aws::String& GetETag() const{ return m_eTag; }
214 inline void SetETag(const Aws::String& value) { m_eTag = value; }
215 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
216 inline void SetETag(const char* value) { m_eTag.assign(value); }
217 inline UpdateOriginEndpointResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
218 inline UpdateOriginEndpointResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
219 inline UpdateOriginEndpointResult& WithETag(const char* value) { SetETag(value); return *this;}
221
223
227 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
228 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
229 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
231 inline UpdateOriginEndpointResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
232 inline UpdateOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
233 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
234 inline UpdateOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
235 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
236 inline UpdateOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
237 inline UpdateOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
238 inline UpdateOriginEndpointResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
240
242
245 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const{ return m_dashManifests; }
246 inline void SetDashManifests(const Aws::Vector<GetDashManifestConfiguration>& value) { m_dashManifests = value; }
247 inline void SetDashManifests(Aws::Vector<GetDashManifestConfiguration>&& value) { m_dashManifests = std::move(value); }
250 inline UpdateOriginEndpointResult& AddDashManifests(const GetDashManifestConfiguration& value) { m_dashManifests.push_back(value); return *this; }
251 inline UpdateOriginEndpointResult& AddDashManifests(GetDashManifestConfiguration&& value) { m_dashManifests.push_back(std::move(value)); return *this; }
253
255
256 inline const Aws::String& GetRequestId() const{ return m_requestId; }
257 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
258 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
259 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
260 inline UpdateOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
261 inline UpdateOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline UpdateOriginEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
264 private:
265
266 Aws::String m_arn;
267
268 Aws::String m_channelGroupName;
269
270 Aws::String m_channelName;
271
272 Aws::String m_originEndpointName;
273
274 ContainerType m_containerType;
275
276 Segment m_segment;
277
278 Aws::Utils::DateTime m_createdAt;
279
280 Aws::Utils::DateTime m_modifiedAt;
281
282 Aws::String m_description;
283
284 int m_startoverWindowSeconds;
285
287
289
290 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
291
292 Aws::String m_eTag;
293
295
297
298 Aws::String m_requestId;
299 };
300
301} // namespace Model
302} // namespace mediapackagev2
303} // namespace Aws
UpdateOriginEndpointResult & WithHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
UpdateOriginEndpointResult & WithChannelGroupName(const Aws::String &value)
UpdateOriginEndpointResult & WithETag(const Aws::String &value)
UpdateOriginEndpointResult & WithChannelGroupName(Aws::String &&value)
UpdateOriginEndpointResult & WithSegment(Segment &&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 & WithArn(Aws::String &&value)
UpdateOriginEndpointResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateOriginEndpointResult & AddHlsManifests(GetHlsManifestConfiguration &&value)
UpdateOriginEndpointResult & WithDashManifests(Aws::Vector< GetDashManifestConfiguration > &&value)
UpdateOriginEndpointResult & WithOriginEndpointName(Aws::String &&value)
UpdateOriginEndpointResult & WithRequestId(const char *value)
void SetHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
UpdateOriginEndpointResult & WithChannelName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateOriginEndpointResult & AddDashManifests(GetDashManifestConfiguration &&value)
UpdateOriginEndpointResult & WithArn(const Aws::String &value)
UpdateOriginEndpointResult & WithModifiedAt(Aws::Utils::DateTime &&value)
UpdateOriginEndpointResult & WithOriginEndpointName(const char *value)
UpdateOriginEndpointResult & WithArn(const char *value)
UpdateOriginEndpointResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateOriginEndpointResult & WithRequestId(const Aws::String &value)
void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
UpdateOriginEndpointResult & WithHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
void SetLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateOriginEndpointResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateOriginEndpointResult & WithStartoverWindowSeconds(int value)
UpdateOriginEndpointResult & AddTags(const char *key, const char *value)
UpdateOriginEndpointResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateOriginEndpointResult & AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration &value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
UpdateOriginEndpointResult & WithDescription(Aws::String &&value)
void SetHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
UpdateOriginEndpointResult & WithContainerType(ContainerType &&value)
UpdateOriginEndpointResult & WithContainerType(const ContainerType &value)
UpdateOriginEndpointResult & WithChannelGroupName(const char *value)
UpdateOriginEndpointResult & AddTags(const char *key, Aws::String &&value)
UpdateOriginEndpointResult & WithRequestId(Aws::String &&value)
UpdateOriginEndpointResult & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< GetLowLatencyHlsManifestConfiguration > & GetGetLowLatencyHlsManifests() const
UpdateOriginEndpointResult & WithChannelName(Aws::String &&value)
UpdateOriginEndpointResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateOriginEndpointResult & AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration &&value)
UpdateOriginEndpointResult & WithETag(const char *value)
UpdateOriginEndpointResult & WithDescription(const char *value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
UpdateOriginEndpointResult & WithLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
const Aws::Vector< GetHlsManifestConfiguration > & GetGetHlsManifests() const
UpdateOriginEndpointResult & WithOriginEndpointName(const Aws::String &value)
UpdateOriginEndpointResult & WithDescription(const Aws::String &value)
UpdateOriginEndpointResult & WithModifiedAt(const Aws::Utils::DateTime &value)
UpdateOriginEndpointResult & WithSegment(const Segment &value)
UpdateOriginEndpointResult & WithETag(Aws::String &&value)
void SetDashManifests(Aws::Vector< GetDashManifestConfiguration > &&value)
UpdateOriginEndpointResult & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
UpdateOriginEndpointResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
UpdateOriginEndpointResult & WithDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
UpdateOriginEndpointResult & WithChannelName(const char *value)
UpdateOriginEndpointResult & WithForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
const Aws::Vector< GetDashManifestConfiguration > & GetGetDashManifests() const
UpdateOriginEndpointResult & WithLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateOriginEndpointResult & AddDashManifests(const GetDashManifestConfiguration &value)
UpdateOriginEndpointResult & AddHlsManifests(const GetHlsManifestConfiguration &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