AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateOriginEndpointRequest.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/model/ContainerType.h>
11#include <aws/mediapackagev2/model/Segment.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mediapackagev2/model/ForceEndpointErrorConfiguration.h>
14#include <aws/mediapackagev2/model/CreateHlsManifestConfiguration.h>
15#include <aws/mediapackagev2/model/CreateLowLatencyHlsManifestConfiguration.h>
16#include <aws/mediapackagev2/model/CreateDashManifestConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21namespace mediapackagev2
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_MEDIAPACKAGEV2_API UpdateOriginEndpointRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateOriginEndpoint"; }
38
39 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
40
41 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
50 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
51 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
52 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
53 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
54 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
56 inline UpdateOriginEndpointRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
57 inline UpdateOriginEndpointRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
59
61
66 inline const Aws::String& GetChannelName() const{ return m_channelName; }
67 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
68 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
69 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
70 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
71 inline UpdateOriginEndpointRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
72 inline UpdateOriginEndpointRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
73 inline UpdateOriginEndpointRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
75
77
82 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
83 inline bool OriginEndpointNameHasBeenSet() const { return m_originEndpointNameHasBeenSet; }
84 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = value; }
85 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName = std::move(value); }
86 inline void SetOriginEndpointName(const char* value) { m_originEndpointNameHasBeenSet = true; m_originEndpointName.assign(value); }
88 inline UpdateOriginEndpointRequest& WithOriginEndpointName(Aws::String&& value) { SetOriginEndpointName(std::move(value)); return *this;}
89 inline UpdateOriginEndpointRequest& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
91
93
98 inline const ContainerType& GetContainerType() const{ return m_containerType; }
99 inline bool ContainerTypeHasBeenSet() const { return m_containerTypeHasBeenSet; }
100 inline void SetContainerType(const ContainerType& value) { m_containerTypeHasBeenSet = true; m_containerType = value; }
101 inline void SetContainerType(ContainerType&& value) { m_containerTypeHasBeenSet = true; m_containerType = std::move(value); }
103 inline UpdateOriginEndpointRequest& WithContainerType(ContainerType&& value) { SetContainerType(std::move(value)); return *this;}
105
107
111 inline const Segment& GetSegment() const{ return m_segment; }
112 inline bool SegmentHasBeenSet() const { return m_segmentHasBeenSet; }
113 inline void SetSegment(const Segment& value) { m_segmentHasBeenSet = true; m_segment = value; }
114 inline void SetSegment(Segment&& value) { m_segmentHasBeenSet = true; m_segment = std::move(value); }
115 inline UpdateOriginEndpointRequest& WithSegment(const Segment& value) { SetSegment(value); return *this;}
116 inline UpdateOriginEndpointRequest& WithSegment(Segment&& value) { SetSegment(std::move(value)); return *this;}
118
120
124 inline const Aws::String& GetDescription() const{ return m_description; }
125 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
127 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
128 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
129 inline UpdateOriginEndpointRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
130 inline UpdateOriginEndpointRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
131 inline UpdateOriginEndpointRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
133
135
141 inline int GetStartoverWindowSeconds() const{ return m_startoverWindowSeconds; }
142 inline bool StartoverWindowSecondsHasBeenSet() const { return m_startoverWindowSecondsHasBeenSet; }
143 inline void SetStartoverWindowSeconds(int value) { m_startoverWindowSecondsHasBeenSet = true; m_startoverWindowSeconds = value; }
146
148
151 inline const Aws::Vector<CreateHlsManifestConfiguration>& GetHlsManifests() const{ return m_hlsManifests; }
152 inline bool HlsManifestsHasBeenSet() const { return m_hlsManifestsHasBeenSet; }
153 inline void SetHlsManifests(const Aws::Vector<CreateHlsManifestConfiguration>& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = value; }
154 inline void SetHlsManifests(Aws::Vector<CreateHlsManifestConfiguration>&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests = std::move(value); }
157 inline UpdateOriginEndpointRequest& AddHlsManifests(const CreateHlsManifestConfiguration& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(value); return *this; }
158 inline UpdateOriginEndpointRequest& AddHlsManifests(CreateHlsManifestConfiguration&& value) { m_hlsManifestsHasBeenSet = true; m_hlsManifests.push_back(std::move(value)); return *this; }
160
162
165 inline const Aws::Vector<CreateLowLatencyHlsManifestConfiguration>& GetLowLatencyHlsManifests() const{ return m_lowLatencyHlsManifests; }
166 inline bool LowLatencyHlsManifestsHasBeenSet() const { return m_lowLatencyHlsManifestsHasBeenSet; }
167 inline void SetLowLatencyHlsManifests(const Aws::Vector<CreateLowLatencyHlsManifestConfiguration>& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests = value; }
168 inline void SetLowLatencyHlsManifests(Aws::Vector<CreateLowLatencyHlsManifestConfiguration>&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests = std::move(value); }
171 inline UpdateOriginEndpointRequest& AddLowLatencyHlsManifests(const CreateLowLatencyHlsManifestConfiguration& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(value); return *this; }
172 inline UpdateOriginEndpointRequest& AddLowLatencyHlsManifests(CreateLowLatencyHlsManifestConfiguration&& value) { m_lowLatencyHlsManifestsHasBeenSet = true; m_lowLatencyHlsManifests.push_back(std::move(value)); return *this; }
174
176
179 inline const Aws::Vector<CreateDashManifestConfiguration>& GetDashManifests() const{ return m_dashManifests; }
180 inline bool DashManifestsHasBeenSet() const { return m_dashManifestsHasBeenSet; }
181 inline void SetDashManifests(const Aws::Vector<CreateDashManifestConfiguration>& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = value; }
182 inline void SetDashManifests(Aws::Vector<CreateDashManifestConfiguration>&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests = std::move(value); }
185 inline UpdateOriginEndpointRequest& AddDashManifests(const CreateDashManifestConfiguration& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(value); return *this; }
186 inline UpdateOriginEndpointRequest& AddDashManifests(CreateDashManifestConfiguration&& value) { m_dashManifestsHasBeenSet = true; m_dashManifests.push_back(std::move(value)); return *this; }
188
190
193 inline const ForceEndpointErrorConfiguration& GetForceEndpointErrorConfiguration() const{ return m_forceEndpointErrorConfiguration; }
194 inline bool ForceEndpointErrorConfigurationHasBeenSet() const { return m_forceEndpointErrorConfigurationHasBeenSet; }
195 inline void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration& value) { m_forceEndpointErrorConfigurationHasBeenSet = true; m_forceEndpointErrorConfiguration = value; }
196 inline void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration&& value) { m_forceEndpointErrorConfigurationHasBeenSet = true; m_forceEndpointErrorConfiguration = std::move(value); }
200
202
207 inline const Aws::String& GetETag() const{ return m_eTag; }
208 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
209 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
210 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
211 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
212 inline UpdateOriginEndpointRequest& WithETag(const Aws::String& value) { SetETag(value); return *this;}
213 inline UpdateOriginEndpointRequest& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
214 inline UpdateOriginEndpointRequest& WithETag(const char* value) { SetETag(value); return *this;}
216 private:
217
218 Aws::String m_channelGroupName;
219 bool m_channelGroupNameHasBeenSet = false;
220
221 Aws::String m_channelName;
222 bool m_channelNameHasBeenSet = false;
223
224 Aws::String m_originEndpointName;
225 bool m_originEndpointNameHasBeenSet = false;
226
227 ContainerType m_containerType;
228 bool m_containerTypeHasBeenSet = false;
229
230 Segment m_segment;
231 bool m_segmentHasBeenSet = false;
232
233 Aws::String m_description;
234 bool m_descriptionHasBeenSet = false;
235
236 int m_startoverWindowSeconds;
237 bool m_startoverWindowSecondsHasBeenSet = false;
238
240 bool m_hlsManifestsHasBeenSet = false;
241
243 bool m_lowLatencyHlsManifestsHasBeenSet = false;
244
246 bool m_dashManifestsHasBeenSet = false;
247
248 ForceEndpointErrorConfiguration m_forceEndpointErrorConfiguration;
249 bool m_forceEndpointErrorConfigurationHasBeenSet = false;
250
251 Aws::String m_eTag;
252 bool m_eTagHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace mediapackagev2
257} // namespace Aws
void SetDashManifests(Aws::Vector< CreateDashManifestConfiguration > &&value)
UpdateOriginEndpointRequest & WithDashManifests(const Aws::Vector< CreateDashManifestConfiguration > &value)
void SetHlsManifests(Aws::Vector< CreateHlsManifestConfiguration > &&value)
UpdateOriginEndpointRequest & WithChannelGroupName(const Aws::String &value)
UpdateOriginEndpointRequest & AddHlsManifests(CreateHlsManifestConfiguration &&value)
UpdateOriginEndpointRequest & WithChannelName(const char *value)
UpdateOriginEndpointRequest & WithContainerType(ContainerType &&value)
UpdateOriginEndpointRequest & WithHlsManifests(Aws::Vector< CreateHlsManifestConfiguration > &&value)
UpdateOriginEndpointRequest & WithDescription(Aws::String &&value)
UpdateOriginEndpointRequest & WithETag(const char *value)
UpdateOriginEndpointRequest & WithLowLatencyHlsManifests(const Aws::Vector< CreateLowLatencyHlsManifestConfiguration > &value)
const Aws::Vector< CreateHlsManifestConfiguration > & GetHlsManifests() const
void SetLowLatencyHlsManifests(Aws::Vector< CreateLowLatencyHlsManifestConfiguration > &&value)
UpdateOriginEndpointRequest & WithChannelGroupName(const char *value)
UpdateOriginEndpointRequest & WithDescription(const Aws::String &value)
UpdateOriginEndpointRequest & WithDashManifests(Aws::Vector< CreateDashManifestConfiguration > &&value)
UpdateOriginEndpointRequest & WithETag(const Aws::String &value)
UpdateOriginEndpointRequest & WithStartoverWindowSeconds(int value)
UpdateOriginEndpointRequest & WithForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
UpdateOriginEndpointRequest & WithSegment(const Segment &value)
UpdateOriginEndpointRequest & WithSegment(Segment &&value)
UpdateOriginEndpointRequest & AddHlsManifests(const CreateHlsManifestConfiguration &value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateOriginEndpointRequest & WithChannelName(const Aws::String &value)
UpdateOriginEndpointRequest & AddDashManifests(const CreateDashManifestConfiguration &value)
UpdateOriginEndpointRequest & WithDescription(const char *value)
UpdateOriginEndpointRequest & WithChannelName(Aws::String &&value)
UpdateOriginEndpointRequest & WithETag(Aws::String &&value)
void SetForceEndpointErrorConfiguration(ForceEndpointErrorConfiguration &&value)
UpdateOriginEndpointRequest & AddLowLatencyHlsManifests(CreateLowLatencyHlsManifestConfiguration &&value)
UpdateOriginEndpointRequest & WithChannelGroupName(Aws::String &&value)
UpdateOriginEndpointRequest & AddDashManifests(CreateDashManifestConfiguration &&value)
UpdateOriginEndpointRequest & WithLowLatencyHlsManifests(Aws::Vector< CreateLowLatencyHlsManifestConfiguration > &&value)
const Aws::Vector< CreateDashManifestConfiguration > & GetDashManifests() const
const ForceEndpointErrorConfiguration & GetForceEndpointErrorConfiguration() const
void SetLowLatencyHlsManifests(const Aws::Vector< CreateLowLatencyHlsManifestConfiguration > &value)
UpdateOriginEndpointRequest & WithHlsManifests(const Aws::Vector< CreateHlsManifestConfiguration > &value)
UpdateOriginEndpointRequest & WithForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
UpdateOriginEndpointRequest & AddLowLatencyHlsManifests(const CreateLowLatencyHlsManifestConfiguration &value)
UpdateOriginEndpointRequest & WithOriginEndpointName(const char *value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateOriginEndpointRequest & WithOriginEndpointName(const Aws::String &value)
void SetDashManifests(const Aws::Vector< CreateDashManifestConfiguration > &value)
void SetHlsManifests(const Aws::Vector< CreateHlsManifestConfiguration > &value)
UpdateOriginEndpointRequest & WithOriginEndpointName(Aws::String &&value)
void SetForceEndpointErrorConfiguration(const ForceEndpointErrorConfiguration &value)
UpdateOriginEndpointRequest & WithContainerType(const ContainerType &value)
const Aws::Vector< CreateLowLatencyHlsManifestConfiguration > & GetLowLatencyHlsManifests() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector