AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOriginEndpointResult.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 GetOriginEndpointResult();
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 GetOriginEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline GetOriginEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline GetOriginEndpointResult& 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); }
67 inline GetOriginEndpointResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
68 inline GetOriginEndpointResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
69 inline GetOriginEndpointResult& 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 GetOriginEndpointResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
83 inline GetOriginEndpointResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
84 inline GetOriginEndpointResult& 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 GetOriginEndpointResult& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
99 inline GetOriginEndpointResult& 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 GetOriginEndpointResult& WithContainerType(const ContainerType& value) { SetContainerType(value); return *this;}
110 inline GetOriginEndpointResult& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;}
112
114
115 inline const Segment& GetSegment() const{ return m_segment; }
116 inline void SetSegment(const Segment& value) { m_segment = value; }
117 inline void SetSegment(Segment&& value) { m_segment = std::move(value); }
118 inline GetOriginEndpointResult& WithSegment(const Segment& value) { SetSegment(value); return *this;}
119 inline GetOriginEndpointResult& WithSegment(Segment&& value) { SetSegment(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
127 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
128 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
129 inline GetOriginEndpointResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
130 inline GetOriginEndpointResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
138 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
139 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
140 inline GetOriginEndpointResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
141 inline GetOriginEndpointResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetDescription() const{ return m_description; }
149 inline void SetDescription(const Aws::String& value) { m_description = value; }
150 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
151 inline void SetDescription(const char* value) { m_description.assign(value); }
152 inline GetOriginEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 inline GetOriginEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 inline GetOriginEndpointResult& WithDescription(const char* value) { SetDescription(value); return *this;}
156
158
163 inline int GetStartoverWindowSeconds() const{ return m_startoverWindowSeconds; }
164 inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSeconds = value; }
167
169
172 inline const Aws::Vector<GetHlsManifestConfiguration>& GetGetHlsManifests() const{ return m_hlsManifests; }
173 inline void SetHlsManifests(const Aws::Vector<GetHlsManifestConfiguration>& value) { m_hlsManifests = value; }
174 inline void SetHlsManifests(Aws::Vector<GetHlsManifestConfiguration>&& value) { m_hlsManifests = std::move(value); }
177 inline GetOriginEndpointResult& AddHlsManifests(const GetHlsManifestConfiguration& value) { m_hlsManifests.push_back(value); return *this; }
178 inline GetOriginEndpointResult& AddHlsManifests(GetHlsManifestConfiguration&& value) { m_hlsManifests.push_back(std::move(value)); return *this; }
180
182
185 inline const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& GetGetLowLatencyHlsManifests() const{ return m_lowLatencyHlsManifests; }
186 inline void SetLowLatencyHlsManifests(const Aws::Vector<GetLowLatencyHlsManifestConfiguration>& value) { m_lowLatencyHlsManifests = value; }
187 inline void SetLowLatencyHlsManifests(Aws::Vector<GetLowLatencyHlsManifestConfiguration>&& value) { m_lowLatencyHlsManifests = std::move(value); }
190 inline GetOriginEndpointResult& AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifests.push_back(value); return *this; }
191 inline GetOriginEndpointResult& AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; }
193
195
198 inline const Aws::Vector<GetDashManifestConfiguration>& GetGetDashManifests() const{ return m_dashManifests; }
199 inline void SetDashManifests(const Aws::Vector<GetDashManifestConfiguration>& value) { m_dashManifests = value; }
200 inline void SetDashManifests(Aws::Vector<GetDashManifestConfiguration>&& value) { m_dashManifests = std::move(value); }
203 inline GetOriginEndpointResult& AddDashManifests(const GetDashManifestConfiguration& value) { m_dashManifests.push_back(value); return *this; }
204 inline GetOriginEndpointResult& AddDashManifests(GetDashManifestConfiguration&& value) { m_dashManifests.push_back(std::move(value)); return *this; }
206
208
211 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const{ return m_forceEndpointErrorConfiguration; }
212 inline void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration& value) { m_forceEndpointErrorConfiguration = value; }
213 inline void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration&& value) { m_forceEndpointErrorConfiguration = std::move(value); }
217
219
223 inline const Aws::String& GetETag() const{ return m_eTag; }
224 inline void SetETag(const Aws::String& value) { m_eTag = value; }
225 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
226 inline void SetETag(const char* value) { m_eTag.assign(value); }
227 inline GetOriginEndpointResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
228 inline GetOriginEndpointResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
229 inline GetOriginEndpointResult& WithETag(const char* value) { SetETag(value); return *this;}
231
233
237 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
238 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
239 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
240 inline GetOriginEndpointResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
241 inline GetOriginEndpointResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
242 inline GetOriginEndpointResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
243 inline GetOriginEndpointResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
244 inline GetOriginEndpointResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
245 inline GetOriginEndpointResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
246 inline GetOriginEndpointResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
247 inline GetOriginEndpointResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
248 inline GetOriginEndpointResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
250
252
253 inline const Aws::String& GetRequestId() const{ return m_requestId; }
254 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
255 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
256 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
257 inline GetOriginEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
258 inline GetOriginEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
259 inline GetOriginEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
261 private:
262
263 Aws::String m_arn;
264
265 Aws::String m_channelGroupName;
266
267 Aws::String m_channelName;
268
269 Aws::String m_originEndpointName;
270
271 ContainerType m_containerType;
272
273 Segment m_segment;
274
275 Aws::Utils::DateTime m_createdAt;
276
277 Aws::Utils::DateTime m_modifiedAt;
278
279 Aws::String m_description;
280
281 int m_startoverWindowSeconds;
282
284
286
288
289 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
290
291 Aws::String m_eTag;
292
294
295 Aws::String m_requestId;
296 };
297
298} // namespace Model
299} // namespace mediapackagev2
300} // namespace Aws
void SetModifiedAt(const Aws::Utils::DateTime &value)
GetOriginEndpointResult & WithContainerType(ContainerType &&value)
GetOriginEndpointResult & WithDashManifests(Aws::Vector< GetDashManifestConfiguration > &&value)
const Aws::Vector< GetLowLatencyHlsManifestConfiguration > & GetGetLowLatencyHlsManifests() const
GetOriginEndpointResult & WithRequestId(Aws::String &&value)
void SetHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
GetOriginEndpointResult & WithHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
GetOriginEndpointResult & WithArn(const char *value)
GetOriginEndpointResult & AddTags(const Aws::String &key, Aws::String &&value)
GetOriginEndpointResult & WithChannelGroupName(const char *value)
GetOriginEndpointResult & WithETag(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetOriginEndpointResult & WithArn(Aws::String &&value)
GetOriginEndpointResult & WithDescription(const Aws::String &value)
GetOriginEndpointResult & WithSegment(Segment &&value)
const Aws::Vector< GetDashManifestConfiguration > & GetGetDashManifests() const
GetOriginEndpointResult & WithOriginEndpointName(Aws::String &&value)
GetOriginEndpointResult & WithChannelName(const char *value)
GetOriginEndpointResult & WithLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
void SetDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
GetOriginEndpointResult & AddTags(Aws::String &&key, const char *value)
GetOriginEndpointResult & WithChannelGroupName(Aws::String &&value)
GetOriginEndpointResult & WithETag(Aws::String &&value)
GetOriginEndpointResult & WithChannelName(const Aws::String &value)
GetOriginEndpointResult & AddTags(const char *key, const char *value)
GetOriginEndpointResult & WithStartoverWindowSeconds(int value)
GetOriginEndpointResult & WithForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
GetOriginEndpointResult & WithModifiedAt(const Aws::Utils::DateTime &value)
GetOriginEndpointResult & WithDashManifests(const Aws::Vector< GetDashManifestConfiguration > &value)
GetOriginEndpointResult & WithHlsManifests(const Aws::Vector< GetHlsManifestConfiguration > &value)
GetOriginEndpointResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLowLatencyHlsManifests(Aws::Vector< GetLowLatencyHlsManifestConfiguration > &&value)
GetOriginEndpointResult & WithModifiedAt(Aws::Utils::DateTime &&value)
GetOriginEndpointResult & WithChannelGroupName(const Aws::String &value)
GetOriginEndpointResult & AddHlsManifests(GetHlsManifestConfiguration &&value)
GetOriginEndpointResult & AddDashManifests(const GetDashManifestConfiguration &value)
GetOriginEndpointResult & WithRequestId(const char *value)
GetOriginEndpointResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetOriginEndpointResult & AddTags(Aws::String &&key, Aws::String &&value)
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
GetOriginEndpointResult & AddDashManifests(GetDashManifestConfiguration &&value)
GetOriginEndpointResult & WithOriginEndpointName(const char *value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOriginEndpointResult & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
const Aws::Vector< GetHlsManifestConfiguration > & GetGetHlsManifests() const
void SetLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
GetOriginEndpointResult & WithChannelName(Aws::String &&value)
GetOriginEndpointResult & AddTags(const char *key, Aws::String &&value)
GetOriginEndpointResult & WithOriginEndpointName(const Aws::String &value)
void SetHlsManifests(Aws::Vector< GetHlsManifestConfiguration > &&value)
GetOriginEndpointResult & WithSegment(const Segment &value)
GetOriginEndpointResult & WithDescription(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOriginEndpointResult & WithLowLatencyHlsManifests(const Aws::Vector< GetLowLatencyHlsManifestConfiguration > &value)
GetOriginEndpointResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetOriginEndpointResult & AddHlsManifests(const GetHlsManifestConfiguration &value)
GetOriginEndpointResult & WithRequestId(const Aws::String &value)
GetOriginEndpointResult & WithContainerType(const ContainerType &value)
GetOriginEndpointResult & AddLowLatencyHlsManifests(GetLowLatencyHlsManifestConfiguration &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetOriginEndpointResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetOriginEndpointResult & WithArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetOriginEndpointResult & WithETag(const Aws::String &value)
GetOriginEndpointResult & WithDescription(const char *value)
GetOriginEndpointResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
GetOriginEndpointResult & AddTags(Aws::String &&key, const Aws::String &value)
GetOriginEndpointResult & AddLowLatencyHlsManifests(const GetLowLatencyHlsManifestConfiguration &value)
void SetDashManifests(Aws::Vector< GetDashManifestConfiguration > &&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