AWS SDK for C++

AWS SDK for C++ Version 1.11.854

Loading...
Searching...
No Matches
UpdateChannelResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
13#include <aws/mediapackagev2/model/IngestEndpoint.h>
14#include <aws/mediapackagev2/model/InputSwitchConfiguration.h>
15#include <aws/mediapackagev2/model/InputType.h>
16#include <aws/mediapackagev2/model/OutputHeaderConfiguration.h>
17#include <aws/mediapackagev2/model/OutputLockingMode.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace mediapackagev2 {
31namespace Model {
33 public:
34 AWS_MEDIAPACKAGEV2_API UpdateChannelResult() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetChannelName() const { return m_channelName; }
62 template <typename ChannelNameT = Aws::String>
63 void SetChannelName(ChannelNameT&& value) {
64 m_channelNameHasBeenSet = true;
65 m_channelName = std::forward<ChannelNameT>(value);
66 }
67 template <typename ChannelNameT = Aws::String>
68 UpdateChannelResult& WithChannelName(ChannelNameT&& value) {
69 SetChannelName(std::forward<ChannelNameT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
81 template <typename ChannelGroupNameT = Aws::String>
82 void SetChannelGroupName(ChannelGroupNameT&& value) {
83 m_channelGroupNameHasBeenSet = true;
84 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
85 }
86 template <typename ChannelGroupNameT = Aws::String>
87 UpdateChannelResult& WithChannelGroupName(ChannelGroupNameT&& value) {
88 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
98 template <typename CreatedAtT = Aws::Utils::DateTime>
99 void SetCreatedAt(CreatedAtT&& value) {
100 m_createdAtHasBeenSet = true;
101 m_createdAt = std::forward<CreatedAtT>(value);
102 }
103 template <typename CreatedAtT = Aws::Utils::DateTime>
104 UpdateChannelResult& WithCreatedAt(CreatedAtT&& value) {
105 SetCreatedAt(std::forward<CreatedAtT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
115 template <typename ModifiedAtT = Aws::Utils::DateTime>
116 void SetModifiedAt(ModifiedAtT&& value) {
117 m_modifiedAtHasBeenSet = true;
118 m_modifiedAt = std::forward<ModifiedAtT>(value);
119 }
120 template <typename ModifiedAtT = Aws::Utils::DateTime>
121 UpdateChannelResult& WithModifiedAt(ModifiedAtT&& value) {
122 SetModifiedAt(std::forward<ModifiedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 template <typename DescriptionT = Aws::String>
133 void SetDescription(DescriptionT&& value) {
134 m_descriptionHasBeenSet = true;
135 m_description = std::forward<DescriptionT>(value);
136 }
137 template <typename DescriptionT = Aws::String>
138 UpdateChannelResult& WithDescription(DescriptionT&& value) {
139 SetDescription(std::forward<DescriptionT>(value));
140 return *this;
141 }
143
145
146 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const { return m_ingestEndpoints; }
147 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
148 void SetIngestEndpoints(IngestEndpointsT&& value) {
149 m_ingestEndpointsHasBeenSet = true;
150 m_ingestEndpoints = std::forward<IngestEndpointsT>(value);
151 }
152 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
153 UpdateChannelResult& WithIngestEndpoints(IngestEndpointsT&& value) {
154 SetIngestEndpoints(std::forward<IngestEndpointsT>(value));
155 return *this;
156 }
157 template <typename IngestEndpointsT = IngestEndpoint>
158 UpdateChannelResult& AddIngestEndpoints(IngestEndpointsT&& value) {
159 m_ingestEndpointsHasBeenSet = true;
160 m_ingestEndpoints.emplace_back(std::forward<IngestEndpointsT>(value));
161 return *this;
162 }
164
166
175 inline InputType GetInputType() const { return m_inputType; }
176 inline void SetInputType(InputType value) {
177 m_inputTypeHasBeenSet = true;
178 m_inputType = value;
179 }
181 SetInputType(value);
182 return *this;
183 }
185
187
191 inline const Aws::String& GetETag() const { return m_eTag; }
192 template <typename ETagT = Aws::String>
193 void SetETag(ETagT&& value) {
194 m_eTagHasBeenSet = true;
195 m_eTag = std::forward<ETagT>(value);
196 }
197 template <typename ETagT = Aws::String>
199 SetETag(std::forward<ETagT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
209 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 void SetTags(TagsT&& value) {
211 m_tagsHasBeenSet = true;
212 m_tags = std::forward<TagsT>(value);
213 }
214 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 SetTags(std::forward<TagsT>(value));
217 return *this;
218 }
219 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
220 UpdateChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
221 m_tagsHasBeenSet = true;
222 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
223 return *this;
224 }
226
228
233 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
234 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
235 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
236 m_inputSwitchConfigurationHasBeenSet = true;
237 m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value);
238 }
239 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
240 UpdateChannelResult& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
241 SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value));
242 return *this;
243 }
245
247
252 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
253 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
254 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
255 m_outputHeaderConfigurationHasBeenSet = true;
256 m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value);
257 }
258 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
259 UpdateChannelResult& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
260 SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value));
261 return *this;
262 }
264
266
275 inline OutputLockingMode GetOutputLockingMode() const { return m_outputLockingMode; }
277 m_outputLockingModeHasBeenSet = true;
278 m_outputLockingMode = value;
279 }
282 return *this;
283 }
285
287
288 inline const Aws::String& GetRequestId() const { return m_requestId; }
289 template <typename RequestIdT = Aws::String>
290 void SetRequestId(RequestIdT&& value) {
291 m_requestIdHasBeenSet = true;
292 m_requestId = std::forward<RequestIdT>(value);
293 }
294 template <typename RequestIdT = Aws::String>
295 UpdateChannelResult& WithRequestId(RequestIdT&& value) {
296 SetRequestId(std::forward<RequestIdT>(value));
297 return *this;
298 }
300 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
301
302 private:
303 Aws::String m_arn;
304
305 Aws::String m_channelName;
306
307 Aws::String m_channelGroupName;
308
309 Aws::Utils::DateTime m_createdAt{};
310
311 Aws::Utils::DateTime m_modifiedAt{};
312
313 Aws::String m_description;
314
315 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
316
317 InputType m_inputType{InputType::NOT_SET};
318
319 Aws::String m_eTag;
320
322
323 InputSwitchConfiguration m_inputSwitchConfiguration;
324
325 OutputHeaderConfiguration m_outputHeaderConfiguration;
326
328
329 Aws::String m_requestId;
330 Aws::Http::HttpResponseCode m_HttpResponseCode;
331 bool m_arnHasBeenSet = false;
332 bool m_channelNameHasBeenSet = false;
333 bool m_channelGroupNameHasBeenSet = false;
334 bool m_createdAtHasBeenSet = false;
335 bool m_modifiedAtHasBeenSet = false;
336 bool m_descriptionHasBeenSet = false;
337 bool m_ingestEndpointsHasBeenSet = false;
338 bool m_inputTypeHasBeenSet = false;
339 bool m_eTagHasBeenSet = false;
340 bool m_tagsHasBeenSet = false;
341 bool m_inputSwitchConfigurationHasBeenSet = false;
342 bool m_outputHeaderConfigurationHasBeenSet = false;
343 bool m_outputLockingModeHasBeenSet = false;
344 bool m_requestIdHasBeenSet = false;
345};
346
347} // namespace Model
348} // namespace mediapackagev2
349} // namespace Aws
UpdateChannelResult & WithETag(ETagT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateChannelResult & WithTags(TagsT &&value)
UpdateChannelResult & WithChannelGroupName(ChannelGroupNameT &&value)
UpdateChannelResult & WithInputSwitchConfiguration(InputSwitchConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChannelResult & WithModifiedAt(ModifiedAtT &&value)
const OutputHeaderConfiguration & GetOutputHeaderConfiguration() const
const Aws::Vector< IngestEndpoint > & GetIngestEndpoints() const
const Aws::Utils::DateTime & GetModifiedAt() const
UpdateChannelResult & WithCreatedAt(CreatedAtT &&value)
void SetChannelGroupName(ChannelGroupNameT &&value)
UpdateChannelResult & WithInputType(InputType value)
UpdateChannelResult & WithOutputLockingMode(OutputLockingMode value)
UpdateChannelResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateChannelResult & AddIngestEndpoints(IngestEndpointsT &&value)
UpdateChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const InputSwitchConfiguration & GetInputSwitchConfiguration() const
void SetInputSwitchConfiguration(InputSwitchConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIAPACKAGEV2_API UpdateChannelResult()=default
UpdateChannelResult & WithChannelName(ChannelNameT &&value)
UpdateChannelResult & WithRequestId(RequestIdT &&value)
void SetOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateChannelResult & WithArn(ArnT &&value)
UpdateChannelResult & WithOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
UpdateChannelResult & WithIngestEndpoints(IngestEndpointsT &&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