AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateChannelResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
12#include <aws/mediapackagev2/model/IngestEndpoint.h>
13#include <aws/mediapackagev2/model/InputSwitchConfiguration.h>
14#include <aws/mediapackagev2/model/InputType.h>
15#include <aws/mediapackagev2/model/OutputHeaderConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace mediapackagev2 {
29namespace Model {
31 public:
32 AWS_MEDIAPACKAGEV2_API UpdateChannelResult() = default;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetChannelName() const { return m_channelName; }
60 template <typename ChannelNameT = Aws::String>
61 void SetChannelName(ChannelNameT&& value) {
62 m_channelNameHasBeenSet = true;
63 m_channelName = std::forward<ChannelNameT>(value);
64 }
65 template <typename ChannelNameT = Aws::String>
66 UpdateChannelResult& WithChannelName(ChannelNameT&& value) {
67 SetChannelName(std::forward<ChannelNameT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
79 template <typename ChannelGroupNameT = Aws::String>
80 void SetChannelGroupName(ChannelGroupNameT&& value) {
81 m_channelGroupNameHasBeenSet = true;
82 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
83 }
84 template <typename ChannelGroupNameT = Aws::String>
85 UpdateChannelResult& WithChannelGroupName(ChannelGroupNameT&& value) {
86 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 UpdateChannelResult& WithCreatedAt(CreatedAtT&& value) {
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
113 template <typename ModifiedAtT = Aws::Utils::DateTime>
114 void SetModifiedAt(ModifiedAtT&& value) {
115 m_modifiedAtHasBeenSet = true;
116 m_modifiedAt = std::forward<ModifiedAtT>(value);
117 }
118 template <typename ModifiedAtT = Aws::Utils::DateTime>
119 UpdateChannelResult& WithModifiedAt(ModifiedAtT&& value) {
120 SetModifiedAt(std::forward<ModifiedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDescription() const { return m_description; }
130 template <typename DescriptionT = Aws::String>
131 void SetDescription(DescriptionT&& value) {
132 m_descriptionHasBeenSet = true;
133 m_description = std::forward<DescriptionT>(value);
134 }
135 template <typename DescriptionT = Aws::String>
136 UpdateChannelResult& WithDescription(DescriptionT&& value) {
137 SetDescription(std::forward<DescriptionT>(value));
138 return *this;
139 }
141
143
144 inline const Aws::Vector<IngestEndpoint>& GetIngestEndpoints() const { return m_ingestEndpoints; }
145 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
146 void SetIngestEndpoints(IngestEndpointsT&& value) {
147 m_ingestEndpointsHasBeenSet = true;
148 m_ingestEndpoints = std::forward<IngestEndpointsT>(value);
149 }
150 template <typename IngestEndpointsT = Aws::Vector<IngestEndpoint>>
151 UpdateChannelResult& WithIngestEndpoints(IngestEndpointsT&& value) {
152 SetIngestEndpoints(std::forward<IngestEndpointsT>(value));
153 return *this;
154 }
155 template <typename IngestEndpointsT = IngestEndpoint>
156 UpdateChannelResult& AddIngestEndpoints(IngestEndpointsT&& value) {
157 m_ingestEndpointsHasBeenSet = true;
158 m_ingestEndpoints.emplace_back(std::forward<IngestEndpointsT>(value));
159 return *this;
160 }
162
164
173 inline InputType GetInputType() const { return m_inputType; }
174 inline void SetInputType(InputType value) {
175 m_inputTypeHasBeenSet = true;
176 m_inputType = value;
177 }
179 SetInputType(value);
180 return *this;
181 }
183
185
189 inline const Aws::String& GetETag() const { return m_eTag; }
190 template <typename ETagT = Aws::String>
191 void SetETag(ETagT&& value) {
192 m_eTagHasBeenSet = true;
193 m_eTag = std::forward<ETagT>(value);
194 }
195 template <typename ETagT = Aws::String>
197 SetETag(std::forward<ETagT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
207 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 void SetTags(TagsT&& value) {
209 m_tagsHasBeenSet = true;
210 m_tags = std::forward<TagsT>(value);
211 }
212 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 SetTags(std::forward<TagsT>(value));
215 return *this;
216 }
217 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
218 UpdateChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
219 m_tagsHasBeenSet = true;
220 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
221 return *this;
222 }
224
226
231 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
232 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
233 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
234 m_inputSwitchConfigurationHasBeenSet = true;
235 m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value);
236 }
237 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
238 UpdateChannelResult& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
239 SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value));
240 return *this;
241 }
243
245
250 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
251 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
252 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
253 m_outputHeaderConfigurationHasBeenSet = true;
254 m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value);
255 }
256 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
257 UpdateChannelResult& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
258 SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value));
259 return *this;
260 }
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template <typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) {
268 m_requestIdHasBeenSet = true;
269 m_requestId = std::forward<RequestIdT>(value);
270 }
271 template <typename RequestIdT = Aws::String>
272 UpdateChannelResult& WithRequestId(RequestIdT&& value) {
273 SetRequestId(std::forward<RequestIdT>(value));
274 return *this;
275 }
277 private:
278 Aws::String m_arn;
279
280 Aws::String m_channelName;
281
282 Aws::String m_channelGroupName;
283
284 Aws::Utils::DateTime m_createdAt{};
285
286 Aws::Utils::DateTime m_modifiedAt{};
287
288 Aws::String m_description;
289
290 Aws::Vector<IngestEndpoint> m_ingestEndpoints;
291
292 InputType m_inputType{InputType::NOT_SET};
293
294 Aws::String m_eTag;
295
297
298 InputSwitchConfiguration m_inputSwitchConfiguration;
299
300 OutputHeaderConfiguration m_outputHeaderConfiguration;
301
302 Aws::String m_requestId;
303 bool m_arnHasBeenSet = false;
304 bool m_channelNameHasBeenSet = false;
305 bool m_channelGroupNameHasBeenSet = false;
306 bool m_createdAtHasBeenSet = false;
307 bool m_modifiedAtHasBeenSet = false;
308 bool m_descriptionHasBeenSet = false;
309 bool m_ingestEndpointsHasBeenSet = false;
310 bool m_inputTypeHasBeenSet = false;
311 bool m_eTagHasBeenSet = false;
312 bool m_tagsHasBeenSet = false;
313 bool m_inputSwitchConfigurationHasBeenSet = false;
314 bool m_outputHeaderConfigurationHasBeenSet = false;
315 bool m_requestIdHasBeenSet = false;
316};
317
318} // namespace Model
319} // namespace mediapackagev2
320} // namespace Aws
UpdateChannelResult & WithETag(ETagT &&value)
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 & 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