AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateOriginEndpointResult.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 CreateOriginEndpointResult();
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 CreateOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CreateOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
69 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
83 inline CreateOriginEndpointResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
84 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
99 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;}
110 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithSegment(const Segment& value) { SetSegment(value); return *this;}
122 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
133 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& 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 CreateOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 inline CreateOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& AddHlsManifests(const GetHlsManifestConfiguration& value) { m_hlsManifests.push_back(value); return *this; }
181 inline CreateOriginEndpointResult& 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 CreateOriginEndpointResult& AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifests.push_back(value); return *this; }
194 inline CreateOriginEndpointResult& AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; }
196
198
201 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const{ return m_dashManifests; }
202 inline void SetDashManifests(const Aws::Vector<GetDashManifestConfiguration>& value) { m_dashManifests = value; }
203 inline void SetDashManifests(Aws::Vector<GetDashManifestConfiguration>&& value) { m_dashManifests = std::move(value); }
206 inline CreateOriginEndpointResult& AddDashManifests(const GetDashManifestConfiguration& value) { m_dashManifests.push_back(value); return *this; }
207 inline CreateOriginEndpointResult& AddDashManifests(GetDashManifestConfiguration&& value) { m_dashManifests.push_back(std::move(value)); return *this; }
209
211
214 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const{ return m_forceEndpointErrorConfiguration; }
215 inline void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration& value) { m_forceEndpointErrorConfiguration = value; }
216 inline void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration&& value) { m_forceEndpointErrorConfiguration = std::move(value); }
220
222
226 inline const Aws::String& GetETag() const{ return m_eTag; }
227 inline void SetETag(const Aws::String& value) { m_eTag = value; }
228 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
229 inline void SetETag(const char* value) { m_eTag.assign(value); }
230 inline CreateOriginEndpointResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
231 inline CreateOriginEndpointResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
232 inline CreateOriginEndpointResult& WithETag(const char* value) { SetETag(value); return *this;}
234
236
240 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
241 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
242 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
244 inline CreateOriginEndpointResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
245 inline CreateOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
246 inline CreateOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
247 inline CreateOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
248 inline CreateOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
249 inline CreateOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
250 inline CreateOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
251 inline CreateOriginEndpointResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 CreateOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
261 inline CreateOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline CreateOriginEndpointResult& 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
291
292 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
293
294 Aws::String m_eTag;
295
297
298 Aws::String m_requestId;
299 };
300
301} // namespace Model
302} // namespace mediapackagev2
303} // namespace Aws
AWS_MEDIAPACKAGEV2_API CreateOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOriginEndpointResult & WithContainerType(ContainerType &&value)
CreateOriginEndpointResult & WithOriginEndpointName(Aws::String &&value)
CreateOriginEndpointResult & AddTags(Aws::String &&key, const char *value)
void SetDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateOriginEndpointResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateOriginEndpointResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateOriginEndpointResult & WithETag(const Aws::String &value)
void SetLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
const Aws::Vector< GetDashManifestConfiguration > & GetGetDashManifests() const
CreateOriginEndpointResult & AddHlsManifests(const GetHlsManifestConfiguration &value)
CreateOriginEndpointResult & WithChannelName(const Aws::String &value)
CreateOriginEndpointResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateOriginEndpointResult & AddDashManifests(const GetDashManifestConfiguration &value)
CreateOriginEndpointResult & AddTags(const char *key, const char *value)
CreateOriginEndpointResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateOriginEndpointResult & WithChannelName(const char *value)
CreateOriginEndpointResult & WithRequestId(const char *value)
CreateOriginEndpointResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateOriginEndpointResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateOriginEndpointResult & WithChannelName(Aws::String &&value)
CreateOriginEndpointResult & AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration &value)
CreateOriginEndpointResult & WithArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateOriginEndpointResult & AddTags(const char *key, Aws::String &&value)
CreateOriginEndpointResult & WithOriginEndpointName(const Aws::String &value)
CreateOriginEndpointResult & WithContainerType(const ContainerType &value)
CreateOriginEndpointResult & WithDashManifests(Aws::Vector< GetDashManifestConfiguration > &&value)
CreateOriginEndpointResult & WithArn(Aws::String &&value)
CreateOriginEndpointResult & WithDescription(Aws::String &&value)
CreateOriginEndpointResult & WithETag(const char *value)
CreateOriginEndpointResult & AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration &&value)
CreateOriginEndpointResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateOriginEndpointResult & WithRequestId(Aws::String &&value)
CreateOriginEndpointResult & WithDescription(const char *value)
CreateOriginEndpointResult & AddHlsManifests(GetHlsManifestConfiguration &&value)
CreateOriginEndpointResult & WithRequestId(const Aws::String &value)
CreateOriginEndpointResult & WithHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
const Aws::Vector< GetHlsManifestConfiguration > & GetGetHlsManifests() const
CreateOriginEndpointResult & WithHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
void SetLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
CreateOriginEndpointResult & WithDescription(const Aws::String &value)
CreateOriginEndpointResult & WithSegment(Segment &&value)
void SetHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
CreateOriginEndpointResult & WithDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
void SetHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
CreateOriginEndpointResult & WithChannelGroupName(Aws::String &&value)
CreateOriginEndpointResult & WithETag(Aws::String &&value)
CreateOriginEndpointResult & WithOriginEndpointName(const char *value)
CreateOriginEndpointResult & WithChannelGroupName(const char *value)
CreateOriginEndpointResult & WithLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
const Aws::Vector< GetLowLatencyHlsManifestConfiguration > & GetGetLowLatencyHlsManifests() const
CreateOriginEndpointResult & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
CreateOriginEndpointResult & WithModifiedAt(const Aws::Utils::DateTime &value)
CreateOriginEndpointResult & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateOriginEndpointResult & WithChannelGroupName(const Aws::String &value)
CreateOriginEndpointResult & WithModifiedAt(Aws::Utils::DateTime &&value)
AWS_MEDIAPACKAGEV2_API CreateOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateOriginEndpointResult & AddDashManifests(GetDashManifestConfiguration &&value)
CreateOriginEndpointResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateOriginEndpointResult & WithForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
void SetDashManifests(Aws::Vector< GetDashManifestConfiguration > &&value)
CreateOriginEndpointResult & WithLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
CreateOriginEndpointResult & WithStartoverWindowSeconds(int value)
CreateOriginEndpointResult & WithSegment(const Segment &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