AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DescribeChannelResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11#include <aws/medialive/model/CdiInputSpecification.h>
12#include <aws/medialive/model/ChannelClass.h>
13#include <aws/medialive/model/ChannelEgressEndpoint.h>
14#include <aws/medialive/model/ChannelEngineVersionResponse.h>
15#include <aws/medialive/model/ChannelState.h>
16#include <aws/medialive/model/DescribeAnywhereSettings.h>
17#include <aws/medialive/model/DescribeLinkedChannelSettings.h>
18#include <aws/medialive/model/EncoderSettings.h>
19#include <aws/medialive/model/InputAttachment.h>
20#include <aws/medialive/model/InputSpecification.h>
21#include <aws/medialive/model/LogLevel.h>
22#include <aws/medialive/model/MaintenanceStatus.h>
23#include <aws/medialive/model/OutputDestination.h>
24#include <aws/medialive/model/PipelineDetail.h>
25#include <aws/medialive/model/VpcOutputSettingsDescription.h>
26
27#include <utility>
28
29namespace Aws {
30template <typename RESULT_TYPE>
31class AmazonWebServiceResult;
32
33namespace Utils {
34namespace Json {
35class JsonValue;
36} // namespace Json
37} // namespace Utils
38namespace MediaLive {
39namespace Model {
46 public:
47 AWS_MEDIALIVE_API DescribeChannelResult() = default;
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
72 inline const CdiInputSpecification& GetCdiInputSpecification() const { return m_cdiInputSpecification; }
73 template <typename CdiInputSpecificationT = CdiInputSpecification>
74 void SetCdiInputSpecification(CdiInputSpecificationT&& value) {
75 m_cdiInputSpecificationHasBeenSet = true;
76 m_cdiInputSpecification = std::forward<CdiInputSpecificationT>(value);
77 }
78 template <typename CdiInputSpecificationT = CdiInputSpecification>
79 DescribeChannelResult& WithCdiInputSpecification(CdiInputSpecificationT&& value) {
80 SetCdiInputSpecification(std::forward<CdiInputSpecificationT>(value));
81 return *this;
82 }
84
86
90 inline ChannelClass GetChannelClass() const { return m_channelClass; }
91 inline void SetChannelClass(ChannelClass value) {
92 m_channelClassHasBeenSet = true;
93 m_channelClass = value;
94 }
96 SetChannelClass(value);
97 return *this;
98 }
100
102
109 inline const Aws::Vector<OutputDestination>& GetDestinations() const { return m_destinations; }
110 template <typename DestinationsT = Aws::Vector<OutputDestination>>
111 void SetDestinations(DestinationsT&& value) {
112 m_destinationsHasBeenSet = true;
113 m_destinations = std::forward<DestinationsT>(value);
114 }
115 template <typename DestinationsT = Aws::Vector<OutputDestination>>
116 DescribeChannelResult& WithDestinations(DestinationsT&& value) {
117 SetDestinations(std::forward<DestinationsT>(value));
118 return *this;
119 }
120 template <typename DestinationsT = OutputDestination>
121 DescribeChannelResult& AddDestinations(DestinationsT&& value) {
122 m_destinationsHasBeenSet = true;
123 m_destinations.emplace_back(std::forward<DestinationsT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const { return m_egressEndpoints; }
133 template <typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
134 void SetEgressEndpoints(EgressEndpointsT&& value) {
135 m_egressEndpointsHasBeenSet = true;
136 m_egressEndpoints = std::forward<EgressEndpointsT>(value);
137 }
138 template <typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
139 DescribeChannelResult& WithEgressEndpoints(EgressEndpointsT&& value) {
140 SetEgressEndpoints(std::forward<EgressEndpointsT>(value));
141 return *this;
142 }
143 template <typename EgressEndpointsT = ChannelEgressEndpoint>
144 DescribeChannelResult& AddEgressEndpoints(EgressEndpointsT&& value) {
145 m_egressEndpointsHasBeenSet = true;
146 m_egressEndpoints.emplace_back(std::forward<EgressEndpointsT>(value));
147 return *this;
148 }
150
152
153 inline const EncoderSettings& GetEncoderSettings() const { return m_encoderSettings; }
154 template <typename EncoderSettingsT = EncoderSettings>
155 void SetEncoderSettings(EncoderSettingsT&& value) {
156 m_encoderSettingsHasBeenSet = true;
157 m_encoderSettings = std::forward<EncoderSettingsT>(value);
158 }
159 template <typename EncoderSettingsT = EncoderSettings>
160 DescribeChannelResult& WithEncoderSettings(EncoderSettingsT&& value) {
161 SetEncoderSettings(std::forward<EncoderSettingsT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetId() const { return m_id; }
171 template <typename IdT = Aws::String>
172 void SetId(IdT&& value) {
173 m_idHasBeenSet = true;
174 m_id = std::forward<IdT>(value);
175 }
176 template <typename IdT = Aws::String>
178 SetId(std::forward<IdT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const { return m_inputAttachments; }
188 template <typename InputAttachmentsT = Aws::Vector<InputAttachment>>
189 void SetInputAttachments(InputAttachmentsT&& value) {
190 m_inputAttachmentsHasBeenSet = true;
191 m_inputAttachments = std::forward<InputAttachmentsT>(value);
192 }
193 template <typename InputAttachmentsT = Aws::Vector<InputAttachment>>
194 DescribeChannelResult& WithInputAttachments(InputAttachmentsT&& value) {
195 SetInputAttachments(std::forward<InputAttachmentsT>(value));
196 return *this;
197 }
198 template <typename InputAttachmentsT = InputAttachment>
199 DescribeChannelResult& AddInputAttachments(InputAttachmentsT&& value) {
200 m_inputAttachmentsHasBeenSet = true;
201 m_inputAttachments.emplace_back(std::forward<InputAttachmentsT>(value));
202 return *this;
203 }
205
207
210 inline const InputSpecification& GetInputSpecification() const { return m_inputSpecification; }
211 template <typename InputSpecificationT = InputSpecification>
212 void SetInputSpecification(InputSpecificationT&& value) {
213 m_inputSpecificationHasBeenSet = true;
214 m_inputSpecification = std::forward<InputSpecificationT>(value);
215 }
216 template <typename InputSpecificationT = InputSpecification>
217 DescribeChannelResult& WithInputSpecification(InputSpecificationT&& value) {
218 SetInputSpecification(std::forward<InputSpecificationT>(value));
219 return *this;
220 }
222
224
227 inline LogLevel GetLogLevel() const { return m_logLevel; }
228 inline void SetLogLevel(LogLevel value) {
229 m_logLevelHasBeenSet = true;
230 m_logLevel = value;
231 }
233 SetLogLevel(value);
234 return *this;
235 }
237
239
242 inline const MaintenanceStatus& GetMaintenance() const { return m_maintenance; }
243 template <typename MaintenanceT = MaintenanceStatus>
244 void SetMaintenance(MaintenanceT&& value) {
245 m_maintenanceHasBeenSet = true;
246 m_maintenance = std::forward<MaintenanceT>(value);
247 }
248 template <typename MaintenanceT = MaintenanceStatus>
249 DescribeChannelResult& WithMaintenance(MaintenanceT&& value) {
250 SetMaintenance(std::forward<MaintenanceT>(value));
251 return *this;
252 }
254
256
259 inline const Aws::String& GetName() const { return m_name; }
260 template <typename NameT = Aws::String>
261 void SetName(NameT&& value) {
262 m_nameHasBeenSet = true;
263 m_name = std::forward<NameT>(value);
264 }
265 template <typename NameT = Aws::String>
267 SetName(std::forward<NameT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
277 template <typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
278 void SetPipelineDetails(PipelineDetailsT&& value) {
279 m_pipelineDetailsHasBeenSet = true;
280 m_pipelineDetails = std::forward<PipelineDetailsT>(value);
281 }
282 template <typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
283 DescribeChannelResult& WithPipelineDetails(PipelineDetailsT&& value) {
284 SetPipelineDetails(std::forward<PipelineDetailsT>(value));
285 return *this;
286 }
287 template <typename PipelineDetailsT = PipelineDetail>
288 DescribeChannelResult& AddPipelineDetails(PipelineDetailsT&& value) {
289 m_pipelineDetailsHasBeenSet = true;
290 m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value));
291 return *this;
292 }
294
296
299 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
300 inline void SetPipelinesRunningCount(int value) {
301 m_pipelinesRunningCountHasBeenSet = true;
302 m_pipelinesRunningCount = value;
303 }
306 return *this;
307 }
309
311
314 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
315 template <typename RoleArnT = Aws::String>
316 void SetRoleArn(RoleArnT&& value) {
317 m_roleArnHasBeenSet = true;
318 m_roleArn = std::forward<RoleArnT>(value);
319 }
320 template <typename RoleArnT = Aws::String>
322 SetRoleArn(std::forward<RoleArnT>(value));
323 return *this;
324 }
326
328
329 inline ChannelState GetState() const { return m_state; }
330 inline void SetState(ChannelState value) {
331 m_stateHasBeenSet = true;
332 m_state = value;
333 }
335 SetState(value);
336 return *this;
337 }
339
341
344 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
345 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
346 void SetTags(TagsT&& value) {
347 m_tagsHasBeenSet = true;
348 m_tags = std::forward<TagsT>(value);
349 }
350 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
352 SetTags(std::forward<TagsT>(value));
353 return *this;
354 }
355 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
356 DescribeChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
357 m_tagsHasBeenSet = true;
358 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
359 return *this;
360 }
362
364
367 inline const VpcOutputSettingsDescription& GetVpc() const { return m_vpc; }
368 template <typename VpcT = VpcOutputSettingsDescription>
369 void SetVpc(VpcT&& value) {
370 m_vpcHasBeenSet = true;
371 m_vpc = std::forward<VpcT>(value);
372 }
373 template <typename VpcT = VpcOutputSettingsDescription>
375 SetVpc(std::forward<VpcT>(value));
376 return *this;
377 }
379
381
384 inline const DescribeAnywhereSettings& GetAnywhereSettings() const { return m_anywhereSettings; }
385 template <typename AnywhereSettingsT = DescribeAnywhereSettings>
386 void SetAnywhereSettings(AnywhereSettingsT&& value) {
387 m_anywhereSettingsHasBeenSet = true;
388 m_anywhereSettings = std::forward<AnywhereSettingsT>(value);
389 }
390 template <typename AnywhereSettingsT = DescribeAnywhereSettings>
391 DescribeChannelResult& WithAnywhereSettings(AnywhereSettingsT&& value) {
392 SetAnywhereSettings(std::forward<AnywhereSettingsT>(value));
393 return *this;
394 }
396
398
401 inline const ChannelEngineVersionResponse& GetChannelEngineVersion() const { return m_channelEngineVersion; }
402 template <typename ChannelEngineVersionT = ChannelEngineVersionResponse>
403 void SetChannelEngineVersion(ChannelEngineVersionT&& value) {
404 m_channelEngineVersionHasBeenSet = true;
405 m_channelEngineVersion = std::forward<ChannelEngineVersionT>(value);
406 }
407 template <typename ChannelEngineVersionT = ChannelEngineVersionResponse>
408 DescribeChannelResult& WithChannelEngineVersion(ChannelEngineVersionT&& value) {
409 SetChannelEngineVersion(std::forward<ChannelEngineVersionT>(value));
410 return *this;
411 }
413
415
418 inline const DescribeLinkedChannelSettings& GetLinkedChannelSettings() const { return m_linkedChannelSettings; }
419 template <typename LinkedChannelSettingsT = DescribeLinkedChannelSettings>
420 void SetLinkedChannelSettings(LinkedChannelSettingsT&& value) {
421 m_linkedChannelSettingsHasBeenSet = true;
422 m_linkedChannelSettings = std::forward<LinkedChannelSettingsT>(value);
423 }
424 template <typename LinkedChannelSettingsT = DescribeLinkedChannelSettings>
425 DescribeChannelResult& WithLinkedChannelSettings(LinkedChannelSettingsT&& value) {
426 SetLinkedChannelSettings(std::forward<LinkedChannelSettingsT>(value));
427 return *this;
428 }
430
432
435 inline const Aws::Vector<Aws::String>& GetChannelSecurityGroups() const { return m_channelSecurityGroups; }
436 template <typename ChannelSecurityGroupsT = Aws::Vector<Aws::String>>
437 void SetChannelSecurityGroups(ChannelSecurityGroupsT&& value) {
438 m_channelSecurityGroupsHasBeenSet = true;
439 m_channelSecurityGroups = std::forward<ChannelSecurityGroupsT>(value);
440 }
441 template <typename ChannelSecurityGroupsT = Aws::Vector<Aws::String>>
442 DescribeChannelResult& WithChannelSecurityGroups(ChannelSecurityGroupsT&& value) {
443 SetChannelSecurityGroups(std::forward<ChannelSecurityGroupsT>(value));
444 return *this;
445 }
446 template <typename ChannelSecurityGroupsT = Aws::String>
447 DescribeChannelResult& AddChannelSecurityGroups(ChannelSecurityGroupsT&& value) {
448 m_channelSecurityGroupsHasBeenSet = true;
449 m_channelSecurityGroups.emplace_back(std::forward<ChannelSecurityGroupsT>(value));
450 return *this;
451 }
453
455
456 inline const Aws::String& GetRequestId() const { return m_requestId; }
457 template <typename RequestIdT = Aws::String>
458 void SetRequestId(RequestIdT&& value) {
459 m_requestIdHasBeenSet = true;
460 m_requestId = std::forward<RequestIdT>(value);
461 }
462 template <typename RequestIdT = Aws::String>
464 SetRequestId(std::forward<RequestIdT>(value));
465 return *this;
466 }
468 private:
469 Aws::String m_arn;
470
471 CdiInputSpecification m_cdiInputSpecification;
472
473 ChannelClass m_channelClass{ChannelClass::NOT_SET};
474
475 Aws::Vector<OutputDestination> m_destinations;
476
477 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
478
479 EncoderSettings m_encoderSettings;
480
481 Aws::String m_id;
482
483 Aws::Vector<InputAttachment> m_inputAttachments;
484
485 InputSpecification m_inputSpecification;
486
487 LogLevel m_logLevel{LogLevel::NOT_SET};
488
489 MaintenanceStatus m_maintenance;
490
491 Aws::String m_name;
492
493 Aws::Vector<PipelineDetail> m_pipelineDetails;
494
495 int m_pipelinesRunningCount{0};
496
497 Aws::String m_roleArn;
498
500
502
503 VpcOutputSettingsDescription m_vpc;
504
505 DescribeAnywhereSettings m_anywhereSettings;
506
507 ChannelEngineVersionResponse m_channelEngineVersion;
508
509 DescribeLinkedChannelSettings m_linkedChannelSettings;
510
511 Aws::Vector<Aws::String> m_channelSecurityGroups;
512
513 Aws::String m_requestId;
514 bool m_arnHasBeenSet = false;
515 bool m_cdiInputSpecificationHasBeenSet = false;
516 bool m_channelClassHasBeenSet = false;
517 bool m_destinationsHasBeenSet = false;
518 bool m_egressEndpointsHasBeenSet = false;
519 bool m_encoderSettingsHasBeenSet = false;
520 bool m_idHasBeenSet = false;
521 bool m_inputAttachmentsHasBeenSet = false;
522 bool m_inputSpecificationHasBeenSet = false;
523 bool m_logLevelHasBeenSet = false;
524 bool m_maintenanceHasBeenSet = false;
525 bool m_nameHasBeenSet = false;
526 bool m_pipelineDetailsHasBeenSet = false;
527 bool m_pipelinesRunningCountHasBeenSet = false;
528 bool m_roleArnHasBeenSet = false;
529 bool m_stateHasBeenSet = false;
530 bool m_tagsHasBeenSet = false;
531 bool m_vpcHasBeenSet = false;
532 bool m_anywhereSettingsHasBeenSet = false;
533 bool m_channelEngineVersionHasBeenSet = false;
534 bool m_linkedChannelSettingsHasBeenSet = false;
535 bool m_channelSecurityGroupsHasBeenSet = false;
536 bool m_requestIdHasBeenSet = false;
537};
538
539} // namespace Model
540} // namespace MediaLive
541} // namespace Aws
DescribeChannelResult & WithRequestId(RequestIdT &&value)
DescribeChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeChannelResult & WithVpc(VpcT &&value)
DescribeChannelResult & WithLinkedChannelSettings(LinkedChannelSettingsT &&value)
const Aws::Vector< PipelineDetail > & GetPipelineDetails() const
DescribeChannelResult & WithMaintenance(MaintenanceT &&value)
const DescribeAnywhereSettings & GetAnywhereSettings() const
DescribeChannelResult & AddInputAttachments(InputAttachmentsT &&value)
DescribeChannelResult & WithInputAttachments(InputAttachmentsT &&value)
DescribeChannelResult & WithEncoderSettings(EncoderSettingsT &&value)
void SetInputAttachments(InputAttachmentsT &&value)
void SetInputSpecification(InputSpecificationT &&value)
void SetLinkedChannelSettings(LinkedChannelSettingsT &&value)
DescribeChannelResult & WithAnywhereSettings(AnywhereSettingsT &&value)
DescribeChannelResult & WithName(NameT &&value)
DescribeChannelResult & WithChannelEngineVersion(ChannelEngineVersionT &&value)
const InputSpecification & GetInputSpecification() const
DescribeChannelResult & WithState(ChannelState value)
void SetCdiInputSpecification(CdiInputSpecificationT &&value)
const Aws::Vector< Aws::String > & GetChannelSecurityGroups() const
const EncoderSettings & GetEncoderSettings() const
DescribeChannelResult & AddEgressEndpoints(EgressEndpointsT &&value)
void SetAnywhereSettings(AnywhereSettingsT &&value)
const VpcOutputSettingsDescription & GetVpc() const
DescribeChannelResult & AddDestinations(DestinationsT &&value)
DescribeChannelResult & WithPipelinesRunningCount(int value)
DescribeChannelResult & AddPipelineDetails(PipelineDetailsT &&value)
DescribeChannelResult & WithDestinations(DestinationsT &&value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
DescribeChannelResult & WithEgressEndpoints(EgressEndpointsT &&value)
AWS_MEDIALIVE_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CdiInputSpecification & GetCdiInputSpecification() const
DescribeChannelResult & WithCdiInputSpecification(CdiInputSpecificationT &&value)
DescribeChannelResult & WithId(IdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeChannelResult & WithTags(TagsT &&value)
const ChannelEngineVersionResponse & GetChannelEngineVersion() const
DescribeChannelResult & WithArn(ArnT &&value)
DescribeChannelResult & WithInputSpecification(InputSpecificationT &&value)
DescribeChannelResult & AddChannelSecurityGroups(ChannelSecurityGroupsT &&value)
const DescribeLinkedChannelSettings & GetLinkedChannelSettings() const
AWS_MEDIALIVE_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChannelResult & WithChannelClass(ChannelClass value)
const MaintenanceStatus & GetMaintenance() const
void SetChannelSecurityGroups(ChannelSecurityGroupsT &&value)
DescribeChannelResult & WithChannelSecurityGroups(ChannelSecurityGroupsT &&value)
DescribeChannelResult & WithLogLevel(LogLevel value)
DescribeChannelResult & WithRoleArn(RoleArnT &&value)
AWS_MEDIALIVE_API DescribeChannelResult()=default
void SetChannelEngineVersion(ChannelEngineVersionT &&value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
DescribeChannelResult & WithPipelineDetails(PipelineDetailsT &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
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