AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
RestartChannelPipelinesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.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/medialive/MediaLive_EXPORTS.h>
12#include <aws/medialive/model/CdiInputSpecification.h>
13#include <aws/medialive/model/ChannelClass.h>
14#include <aws/medialive/model/ChannelEgressEndpoint.h>
15#include <aws/medialive/model/ChannelEngineVersionResponse.h>
16#include <aws/medialive/model/ChannelState.h>
17#include <aws/medialive/model/DescribeAnywhereSettings.h>
18#include <aws/medialive/model/DescribeInferenceSettings.h>
19#include <aws/medialive/model/DescribeLinkedChannelSettings.h>
20#include <aws/medialive/model/EncoderSettings.h>
21#include <aws/medialive/model/InputAttachment.h>
22#include <aws/medialive/model/InputSpecification.h>
23#include <aws/medialive/model/LogLevel.h>
24#include <aws/medialive/model/MaintenanceStatus.h>
25#include <aws/medialive/model/OutputDestination.h>
26#include <aws/medialive/model/PipelineDetail.h>
27#include <aws/medialive/model/VpcOutputSettingsDescription.h>
28
29#include <utility>
30
31namespace Aws {
32template <typename RESULT_TYPE>
33class AmazonWebServiceResult;
34
35namespace Utils {
36namespace Json {
37class JsonValue;
38} // namespace Json
39} // namespace Utils
40namespace MediaLive {
41namespace Model {
49 public:
50 AWS_MEDIALIVE_API RestartChannelPipelinesResult() = default;
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const CdiInputSpecification& GetCdiInputSpecification() const { return m_cdiInputSpecification; }
76 template <typename CdiInputSpecificationT = CdiInputSpecification>
77 void SetCdiInputSpecification(CdiInputSpecificationT&& value) {
78 m_cdiInputSpecificationHasBeenSet = true;
79 m_cdiInputSpecification = std::forward<CdiInputSpecificationT>(value);
80 }
81 template <typename CdiInputSpecificationT = CdiInputSpecification>
83 SetCdiInputSpecification(std::forward<CdiInputSpecificationT>(value));
84 return *this;
85 }
87
89
93 inline ChannelClass GetChannelClass() const { return m_channelClass; }
94 inline void SetChannelClass(ChannelClass value) {
95 m_channelClassHasBeenSet = true;
96 m_channelClass = value;
97 }
99 SetChannelClass(value);
100 return *this;
101 }
103
105
112 inline const Aws::Vector<OutputDestination>& GetDestinations() const { return m_destinations; }
113 template <typename DestinationsT = Aws::Vector<OutputDestination>>
114 void SetDestinations(DestinationsT&& value) {
115 m_destinationsHasBeenSet = true;
116 m_destinations = std::forward<DestinationsT>(value);
117 }
118 template <typename DestinationsT = Aws::Vector<OutputDestination>>
120 SetDestinations(std::forward<DestinationsT>(value));
121 return *this;
122 }
123 template <typename DestinationsT = OutputDestination>
125 m_destinationsHasBeenSet = true;
126 m_destinations.emplace_back(std::forward<DestinationsT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const { return m_egressEndpoints; }
136 template <typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
137 void SetEgressEndpoints(EgressEndpointsT&& value) {
138 m_egressEndpointsHasBeenSet = true;
139 m_egressEndpoints = std::forward<EgressEndpointsT>(value);
140 }
141 template <typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
143 SetEgressEndpoints(std::forward<EgressEndpointsT>(value));
144 return *this;
145 }
146 template <typename EgressEndpointsT = ChannelEgressEndpoint>
148 m_egressEndpointsHasBeenSet = true;
149 m_egressEndpoints.emplace_back(std::forward<EgressEndpointsT>(value));
150 return *this;
151 }
153
155
156 inline const EncoderSettings& GetEncoderSettings() const { return m_encoderSettings; }
157 template <typename EncoderSettingsT = EncoderSettings>
158 void SetEncoderSettings(EncoderSettingsT&& value) {
159 m_encoderSettingsHasBeenSet = true;
160 m_encoderSettings = std::forward<EncoderSettingsT>(value);
161 }
162 template <typename EncoderSettingsT = EncoderSettings>
164 SetEncoderSettings(std::forward<EncoderSettingsT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetId() const { return m_id; }
174 template <typename IdT = Aws::String>
175 void SetId(IdT&& value) {
176 m_idHasBeenSet = true;
177 m_id = std::forward<IdT>(value);
178 }
179 template <typename IdT = Aws::String>
181 SetId(std::forward<IdT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const { return m_inputAttachments; }
191 template <typename InputAttachmentsT = Aws::Vector<InputAttachment>>
192 void SetInputAttachments(InputAttachmentsT&& value) {
193 m_inputAttachmentsHasBeenSet = true;
194 m_inputAttachments = std::forward<InputAttachmentsT>(value);
195 }
196 template <typename InputAttachmentsT = Aws::Vector<InputAttachment>>
198 SetInputAttachments(std::forward<InputAttachmentsT>(value));
199 return *this;
200 }
201 template <typename InputAttachmentsT = InputAttachment>
203 m_inputAttachmentsHasBeenSet = true;
204 m_inputAttachments.emplace_back(std::forward<InputAttachmentsT>(value));
205 return *this;
206 }
208
210
213 inline const InputSpecification& GetInputSpecification() const { return m_inputSpecification; }
214 template <typename InputSpecificationT = InputSpecification>
215 void SetInputSpecification(InputSpecificationT&& value) {
216 m_inputSpecificationHasBeenSet = true;
217 m_inputSpecification = std::forward<InputSpecificationT>(value);
218 }
219 template <typename InputSpecificationT = InputSpecification>
221 SetInputSpecification(std::forward<InputSpecificationT>(value));
222 return *this;
223 }
225
227
230 inline LogLevel GetLogLevel() const { return m_logLevel; }
231 inline void SetLogLevel(LogLevel value) {
232 m_logLevelHasBeenSet = true;
233 m_logLevel = value;
234 }
236 SetLogLevel(value);
237 return *this;
238 }
240
242
245 inline const MaintenanceStatus& GetMaintenance() const { return m_maintenance; }
246 template <typename MaintenanceT = MaintenanceStatus>
247 void SetMaintenance(MaintenanceT&& value) {
248 m_maintenanceHasBeenSet = true;
249 m_maintenance = std::forward<MaintenanceT>(value);
250 }
251 template <typename MaintenanceT = MaintenanceStatus>
253 SetMaintenance(std::forward<MaintenanceT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetMaintenanceStatus() const { return m_maintenanceStatus; }
263 template <typename MaintenanceStatusT = Aws::String>
264 void SetMaintenanceStatus(MaintenanceStatusT&& value) {
265 m_maintenanceStatusHasBeenSet = true;
266 m_maintenanceStatus = std::forward<MaintenanceStatusT>(value);
267 }
268 template <typename MaintenanceStatusT = Aws::String>
270 SetMaintenanceStatus(std::forward<MaintenanceStatusT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::String& GetName() const { return m_name; }
280 template <typename NameT = Aws::String>
281 void SetName(NameT&& value) {
282 m_nameHasBeenSet = true;
283 m_name = std::forward<NameT>(value);
284 }
285 template <typename NameT = Aws::String>
287 SetName(std::forward<NameT>(value));
288 return *this;
289 }
291
293
296 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
297 template <typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
298 void SetPipelineDetails(PipelineDetailsT&& value) {
299 m_pipelineDetailsHasBeenSet = true;
300 m_pipelineDetails = std::forward<PipelineDetailsT>(value);
301 }
302 template <typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
304 SetPipelineDetails(std::forward<PipelineDetailsT>(value));
305 return *this;
306 }
307 template <typename PipelineDetailsT = PipelineDetail>
309 m_pipelineDetailsHasBeenSet = true;
310 m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value));
311 return *this;
312 }
314
316
319 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
320 inline void SetPipelinesRunningCount(int value) {
321 m_pipelinesRunningCountHasBeenSet = true;
322 m_pipelinesRunningCount = value;
323 }
326 return *this;
327 }
329
331
334 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
335 template <typename RoleArnT = Aws::String>
336 void SetRoleArn(RoleArnT&& value) {
337 m_roleArnHasBeenSet = true;
338 m_roleArn = std::forward<RoleArnT>(value);
339 }
340 template <typename RoleArnT = Aws::String>
342 SetRoleArn(std::forward<RoleArnT>(value));
343 return *this;
344 }
346
348
349 inline ChannelState GetState() const { return m_state; }
350 inline void SetState(ChannelState value) {
351 m_stateHasBeenSet = true;
352 m_state = value;
353 }
355 SetState(value);
356 return *this;
357 }
359
361
364 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
365 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
366 void SetTags(TagsT&& value) {
367 m_tagsHasBeenSet = true;
368 m_tags = std::forward<TagsT>(value);
369 }
370 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
372 SetTags(std::forward<TagsT>(value));
373 return *this;
374 }
375 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
376 RestartChannelPipelinesResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
377 m_tagsHasBeenSet = true;
378 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
379 return *this;
380 }
382
384
387 inline const VpcOutputSettingsDescription& GetVpc() const { return m_vpc; }
388 template <typename VpcT = VpcOutputSettingsDescription>
389 void SetVpc(VpcT&& value) {
390 m_vpcHasBeenSet = true;
391 m_vpc = std::forward<VpcT>(value);
392 }
393 template <typename VpcT = VpcOutputSettingsDescription>
395 SetVpc(std::forward<VpcT>(value));
396 return *this;
397 }
399
401
404 inline const DescribeAnywhereSettings& GetAnywhereSettings() const { return m_anywhereSettings; }
405 template <typename AnywhereSettingsT = DescribeAnywhereSettings>
406 void SetAnywhereSettings(AnywhereSettingsT&& value) {
407 m_anywhereSettingsHasBeenSet = true;
408 m_anywhereSettings = std::forward<AnywhereSettingsT>(value);
409 }
410 template <typename AnywhereSettingsT = DescribeAnywhereSettings>
412 SetAnywhereSettings(std::forward<AnywhereSettingsT>(value));
413 return *this;
414 }
416
418
421 inline const ChannelEngineVersionResponse& GetChannelEngineVersion() const { return m_channelEngineVersion; }
422 template <typename ChannelEngineVersionT = ChannelEngineVersionResponse>
423 void SetChannelEngineVersion(ChannelEngineVersionT&& value) {
424 m_channelEngineVersionHasBeenSet = true;
425 m_channelEngineVersion = std::forward<ChannelEngineVersionT>(value);
426 }
427 template <typename ChannelEngineVersionT = ChannelEngineVersionResponse>
429 SetChannelEngineVersion(std::forward<ChannelEngineVersionT>(value));
430 return *this;
431 }
433
435
438 inline const DescribeLinkedChannelSettings& GetLinkedChannelSettings() const { return m_linkedChannelSettings; }
439 template <typename LinkedChannelSettingsT = DescribeLinkedChannelSettings>
440 void SetLinkedChannelSettings(LinkedChannelSettingsT&& value) {
441 m_linkedChannelSettingsHasBeenSet = true;
442 m_linkedChannelSettings = std::forward<LinkedChannelSettingsT>(value);
443 }
444 template <typename LinkedChannelSettingsT = DescribeLinkedChannelSettings>
446 SetLinkedChannelSettings(std::forward<LinkedChannelSettingsT>(value));
447 return *this;
448 }
450
452
455 inline const Aws::Vector<Aws::String>& GetChannelSecurityGroups() const { return m_channelSecurityGroups; }
456 template <typename ChannelSecurityGroupsT = Aws::Vector<Aws::String>>
457 void SetChannelSecurityGroups(ChannelSecurityGroupsT&& value) {
458 m_channelSecurityGroupsHasBeenSet = true;
459 m_channelSecurityGroups = std::forward<ChannelSecurityGroupsT>(value);
460 }
461 template <typename ChannelSecurityGroupsT = Aws::Vector<Aws::String>>
463 SetChannelSecurityGroups(std::forward<ChannelSecurityGroupsT>(value));
464 return *this;
465 }
466 template <typename ChannelSecurityGroupsT = Aws::String>
468 m_channelSecurityGroupsHasBeenSet = true;
469 m_channelSecurityGroups.emplace_back(std::forward<ChannelSecurityGroupsT>(value));
470 return *this;
471 }
473
475
478 inline const DescribeInferenceSettings& GetInferenceSettings() const { return m_inferenceSettings; }
479 template <typename InferenceSettingsT = DescribeInferenceSettings>
480 void SetInferenceSettings(InferenceSettingsT&& value) {
481 m_inferenceSettingsHasBeenSet = true;
482 m_inferenceSettings = std::forward<InferenceSettingsT>(value);
483 }
484 template <typename InferenceSettingsT = DescribeInferenceSettings>
486 SetInferenceSettings(std::forward<InferenceSettingsT>(value));
487 return *this;
488 }
490
492
493 inline const Aws::String& GetRequestId() const { return m_requestId; }
494 template <typename RequestIdT = Aws::String>
495 void SetRequestId(RequestIdT&& value) {
496 m_requestIdHasBeenSet = true;
497 m_requestId = std::forward<RequestIdT>(value);
498 }
499 template <typename RequestIdT = Aws::String>
501 SetRequestId(std::forward<RequestIdT>(value));
502 return *this;
503 }
505 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
506
507 private:
508 Aws::String m_arn;
509
510 CdiInputSpecification m_cdiInputSpecification;
511
512 ChannelClass m_channelClass{ChannelClass::NOT_SET};
513
514 Aws::Vector<OutputDestination> m_destinations;
515
516 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
517
518 EncoderSettings m_encoderSettings;
519
520 Aws::String m_id;
521
522 Aws::Vector<InputAttachment> m_inputAttachments;
523
524 InputSpecification m_inputSpecification;
525
526 LogLevel m_logLevel{LogLevel::NOT_SET};
527
528 MaintenanceStatus m_maintenance;
529
530 Aws::String m_maintenanceStatus;
531
532 Aws::String m_name;
533
534 Aws::Vector<PipelineDetail> m_pipelineDetails;
535
536 int m_pipelinesRunningCount{0};
537
538 Aws::String m_roleArn;
539
541
543
544 VpcOutputSettingsDescription m_vpc;
545
546 DescribeAnywhereSettings m_anywhereSettings;
547
548 ChannelEngineVersionResponse m_channelEngineVersion;
549
550 DescribeLinkedChannelSettings m_linkedChannelSettings;
551
552 Aws::Vector<Aws::String> m_channelSecurityGroups;
553
554 DescribeInferenceSettings m_inferenceSettings;
555
556 Aws::String m_requestId;
557 Aws::Http::HttpResponseCode m_HttpResponseCode;
558 bool m_arnHasBeenSet = false;
559 bool m_cdiInputSpecificationHasBeenSet = false;
560 bool m_channelClassHasBeenSet = false;
561 bool m_destinationsHasBeenSet = false;
562 bool m_egressEndpointsHasBeenSet = false;
563 bool m_encoderSettingsHasBeenSet = false;
564 bool m_idHasBeenSet = false;
565 bool m_inputAttachmentsHasBeenSet = false;
566 bool m_inputSpecificationHasBeenSet = false;
567 bool m_logLevelHasBeenSet = false;
568 bool m_maintenanceHasBeenSet = false;
569 bool m_maintenanceStatusHasBeenSet = false;
570 bool m_nameHasBeenSet = false;
571 bool m_pipelineDetailsHasBeenSet = false;
572 bool m_pipelinesRunningCountHasBeenSet = false;
573 bool m_roleArnHasBeenSet = false;
574 bool m_stateHasBeenSet = false;
575 bool m_tagsHasBeenSet = false;
576 bool m_vpcHasBeenSet = false;
577 bool m_anywhereSettingsHasBeenSet = false;
578 bool m_channelEngineVersionHasBeenSet = false;
579 bool m_linkedChannelSettingsHasBeenSet = false;
580 bool m_channelSecurityGroupsHasBeenSet = false;
581 bool m_inferenceSettingsHasBeenSet = false;
582 bool m_requestIdHasBeenSet = false;
583};
584
585} // namespace Model
586} // namespace MediaLive
587} // namespace Aws
RestartChannelPipelinesResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RestartChannelPipelinesResult & WithLogLevel(LogLevel value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
RestartChannelPipelinesResult & WithInputSpecification(InputSpecificationT &&value)
AWS_MEDIALIVE_API RestartChannelPipelinesResult()=default
RestartChannelPipelinesResult & AddEgressEndpoints(EgressEndpointsT &&value)
RestartChannelPipelinesResult & WithChannelClass(ChannelClass value)
RestartChannelPipelinesResult & AddPipelineDetails(PipelineDetailsT &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
RestartChannelPipelinesResult & WithAnywhereSettings(AnywhereSettingsT &&value)
RestartChannelPipelinesResult & WithPipelinesRunningCount(int value)
RestartChannelPipelinesResult & WithRequestId(RequestIdT &&value)
RestartChannelPipelinesResult & WithVpc(VpcT &&value)
RestartChannelPipelinesResult & WithArn(ArnT &&value)
RestartChannelPipelinesResult & WithInferenceSettings(InferenceSettingsT &&value)
const Aws::Vector< Aws::String > & GetChannelSecurityGroups() const
const DescribeInferenceSettings & GetInferenceSettings() const
RestartChannelPipelinesResult & WithEncoderSettings(EncoderSettingsT &&value)
RestartChannelPipelinesResult & WithLinkedChannelSettings(LinkedChannelSettingsT &&value)
RestartChannelPipelinesResult & WithMaintenanceStatus(MaintenanceStatusT &&value)
RestartChannelPipelinesResult & WithInputAttachments(InputAttachmentsT &&value)
RestartChannelPipelinesResult & WithEgressEndpoints(EgressEndpointsT &&value)
AWS_MEDIALIVE_API RestartChannelPipelinesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestartChannelPipelinesResult & WithChannelSecurityGroups(ChannelSecurityGroupsT &&value)
AWS_MEDIALIVE_API RestartChannelPipelinesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestartChannelPipelinesResult & AddDestinations(DestinationsT &&value)
RestartChannelPipelinesResult & WithState(ChannelState value)
RestartChannelPipelinesResult & WithMaintenance(MaintenanceT &&value)
RestartChannelPipelinesResult & WithTags(TagsT &&value)
RestartChannelPipelinesResult & AddChannelSecurityGroups(ChannelSecurityGroupsT &&value)
RestartChannelPipelinesResult & WithChannelEngineVersion(ChannelEngineVersionT &&value)
RestartChannelPipelinesResult & AddInputAttachments(InputAttachmentsT &&value)
RestartChannelPipelinesResult & WithDestinations(DestinationsT &&value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
RestartChannelPipelinesResult & WithPipelineDetails(PipelineDetailsT &&value)
const Aws::Vector< PipelineDetail > & GetPipelineDetails() const
RestartChannelPipelinesResult & WithCdiInputSpecification(CdiInputSpecificationT &&value)
RestartChannelPipelinesResult & WithRoleArn(RoleArnT &&value)
const DescribeLinkedChannelSettings & GetLinkedChannelSettings() const
const ChannelEngineVersionResponse & GetChannelEngineVersion() const
RestartChannelPipelinesResult & AddTags(TagsKeyT &&key, TagsValueT &&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