AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
RestartChannelPipelinesResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/CdiInputSpecification.h>
10#include <aws/medialive/model/ChannelClass.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/model/EncoderSettings.h>
13#include <aws/medialive/model/InputSpecification.h>
14#include <aws/medialive/model/LogLevel.h>
15#include <aws/medialive/model/MaintenanceStatus.h>
16#include <aws/medialive/model/ChannelState.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/medialive/model/VpcOutputSettingsDescription.h>
19#include <aws/medialive/model/DescribeAnywhereSettings.h>
20#include <aws/medialive/model/ChannelEngineVersionResponse.h>
21#include <aws/medialive/model/OutputDestination.h>
22#include <aws/medialive/model/ChannelEgressEndpoint.h>
23#include <aws/medialive/model/InputAttachment.h>
24#include <aws/medialive/model/PipelineDetail.h>
25#include <utility>
26
27namespace Aws
28{
29template<typename RESULT_TYPE>
30class AmazonWebServiceResult;
31
32namespace Utils
33{
34namespace Json
35{
36 class JsonValue;
37} // namespace Json
38} // namespace Utils
39namespace MediaLive
40{
41namespace Model
42{
50 {
51 public:
52 AWS_MEDIALIVE_API RestartChannelPipelinesResult() = default;
55
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 template<typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
64 template<typename ArnT = Aws::String>
65 RestartChannelPipelinesResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
67
69
72 inline const CdiInputSpecification& GetCdiInputSpecification() const { return m_cdiInputSpecification; }
73 template<typename CdiInputSpecificationT = CdiInputSpecification>
74 void SetCdiInputSpecification(CdiInputSpecificationT&& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = std::forward<CdiInputSpecificationT>(value); }
75 template<typename CdiInputSpecificationT = CdiInputSpecification>
76 RestartChannelPipelinesResult& WithCdiInputSpecification(CdiInputSpecificationT&& value) { SetCdiInputSpecification(std::forward<CdiInputSpecificationT>(value)); return *this;}
78
80
84 inline ChannelClass GetChannelClass() const { return m_channelClass; }
85 inline void SetChannelClass(ChannelClass value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
88
90
97 inline const Aws::Vector<OutputDestination>& GetDestinations() const { return m_destinations; }
98 template<typename DestinationsT = Aws::Vector<OutputDestination>>
99 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations = std::forward<DestinationsT>(value); }
100 template<typename DestinationsT = Aws::Vector<OutputDestination>>
101 RestartChannelPipelinesResult& WithDestinations(DestinationsT&& value) { SetDestinations(std::forward<DestinationsT>(value)); return *this;}
102 template<typename DestinationsT = OutputDestination>
103 RestartChannelPipelinesResult& AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations.emplace_back(std::forward<DestinationsT>(value)); return *this; }
105
107
110 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const { return m_egressEndpoints; }
111 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
112 void SetEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints = std::forward<EgressEndpointsT>(value); }
113 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
114 RestartChannelPipelinesResult& WithEgressEndpoints(EgressEndpointsT&& value) { SetEgressEndpoints(std::forward<EgressEndpointsT>(value)); return *this;}
115 template<typename EgressEndpointsT = ChannelEgressEndpoint>
116 RestartChannelPipelinesResult& AddEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints.emplace_back(std::forward<EgressEndpointsT>(value)); return *this; }
118
120
121 inline const EncoderSettings& GetEncoderSettings() const { return m_encoderSettings; }
122 template<typename EncoderSettingsT = EncoderSettings>
123 void SetEncoderSettings(EncoderSettingsT&& value) { m_encoderSettingsHasBeenSet = true; m_encoderSettings = std::forward<EncoderSettingsT>(value); }
124 template<typename EncoderSettingsT = EncoderSettings>
125 RestartChannelPipelinesResult& WithEncoderSettings(EncoderSettingsT&& value) { SetEncoderSettings(std::forward<EncoderSettingsT>(value)); return *this;}
127
129
132 inline const Aws::String& GetId() const { return m_id; }
133 template<typename IdT = Aws::String>
134 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
135 template<typename IdT = Aws::String>
136 RestartChannelPipelinesResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
138
140
143 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const { return m_inputAttachments; }
144 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
145 void SetInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = std::forward<InputAttachmentsT>(value); }
146 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
147 RestartChannelPipelinesResult& WithInputAttachments(InputAttachmentsT&& value) { SetInputAttachments(std::forward<InputAttachmentsT>(value)); return *this;}
148 template<typename InputAttachmentsT = InputAttachment>
149 RestartChannelPipelinesResult& AddInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.emplace_back(std::forward<InputAttachmentsT>(value)); return *this; }
151
153
156 inline const InputSpecification& GetInputSpecification() const { return m_inputSpecification; }
157 template<typename InputSpecificationT = InputSpecification>
158 void SetInputSpecification(InputSpecificationT&& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = std::forward<InputSpecificationT>(value); }
159 template<typename InputSpecificationT = InputSpecification>
160 RestartChannelPipelinesResult& WithInputSpecification(InputSpecificationT&& value) { SetInputSpecification(std::forward<InputSpecificationT>(value)); return *this;}
162
164
167 inline LogLevel GetLogLevel() const { return m_logLevel; }
168 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
169 inline RestartChannelPipelinesResult& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
171
173
176 inline const MaintenanceStatus& GetMaintenance() const { return m_maintenance; }
177 template<typename MaintenanceT = MaintenanceStatus>
178 void SetMaintenance(MaintenanceT&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::forward<MaintenanceT>(value); }
179 template<typename MaintenanceT = MaintenanceStatus>
180 RestartChannelPipelinesResult& WithMaintenance(MaintenanceT&& value) { SetMaintenance(std::forward<MaintenanceT>(value)); return *this;}
182
184
187 inline const Aws::String& GetMaintenanceStatus() const { return m_maintenanceStatus; }
188 template<typename MaintenanceStatusT = Aws::String>
189 void SetMaintenanceStatus(MaintenanceStatusT&& value) { m_maintenanceStatusHasBeenSet = true; m_maintenanceStatus = std::forward<MaintenanceStatusT>(value); }
190 template<typename MaintenanceStatusT = Aws::String>
191 RestartChannelPipelinesResult& WithMaintenanceStatus(MaintenanceStatusT&& value) { SetMaintenanceStatus(std::forward<MaintenanceStatusT>(value)); return *this;}
193
195
198 inline const Aws::String& GetName() const { return m_name; }
199 template<typename NameT = Aws::String>
200 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
201 template<typename NameT = Aws::String>
202 RestartChannelPipelinesResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
204
206
209 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
210 template<typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
211 void SetPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails = std::forward<PipelineDetailsT>(value); }
212 template<typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
213 RestartChannelPipelinesResult& WithPipelineDetails(PipelineDetailsT&& value) { SetPipelineDetails(std::forward<PipelineDetailsT>(value)); return *this;}
214 template<typename PipelineDetailsT = PipelineDetail>
215 RestartChannelPipelinesResult& AddPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value)); return *this; }
217
219
222 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
223 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
226
228
231 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
232 template<typename RoleArnT = Aws::String>
233 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
234 template<typename RoleArnT = Aws::String>
235 RestartChannelPipelinesResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
237
239
240 inline ChannelState GetState() const { return m_state; }
241 inline void SetState(ChannelState value) { m_stateHasBeenSet = true; m_state = value; }
242 inline RestartChannelPipelinesResult& WithState(ChannelState value) { SetState(value); return *this;}
244
246
249 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
250 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
252 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
253 RestartChannelPipelinesResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
254 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
255 RestartChannelPipelinesResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
256 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
257 }
259
261
264 inline const VpcOutputSettingsDescription& GetVpc() const { return m_vpc; }
265 template<typename VpcT = VpcOutputSettingsDescription>
266 void SetVpc(VpcT&& value) { m_vpcHasBeenSet = true; m_vpc = std::forward<VpcT>(value); }
267 template<typename VpcT = VpcOutputSettingsDescription>
268 RestartChannelPipelinesResult& WithVpc(VpcT&& value) { SetVpc(std::forward<VpcT>(value)); return *this;}
270
272
275 inline const DescribeAnywhereSettings& GetAnywhereSettings() const { return m_anywhereSettings; }
276 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
277 void SetAnywhereSettings(AnywhereSettingsT&& value) { m_anywhereSettingsHasBeenSet = true; m_anywhereSettings = std::forward<AnywhereSettingsT>(value); }
278 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
279 RestartChannelPipelinesResult& WithAnywhereSettings(AnywhereSettingsT&& value) { SetAnywhereSettings(std::forward<AnywhereSettingsT>(value)); return *this;}
281
283
286 inline const ChannelEngineVersionResponse& GetChannelEngineVersion() const { return m_channelEngineVersion; }
287 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
288 void SetChannelEngineVersion(ChannelEngineVersionT&& value) { m_channelEngineVersionHasBeenSet = true; m_channelEngineVersion = std::forward<ChannelEngineVersionT>(value); }
289 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
290 RestartChannelPipelinesResult& WithChannelEngineVersion(ChannelEngineVersionT&& value) { SetChannelEngineVersion(std::forward<ChannelEngineVersionT>(value)); return *this;}
292
294
295 inline const Aws::String& GetRequestId() const { return m_requestId; }
296 template<typename RequestIdT = Aws::String>
297 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
298 template<typename RequestIdT = Aws::String>
299 RestartChannelPipelinesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
301 private:
302
303 Aws::String m_arn;
304 bool m_arnHasBeenSet = false;
305
306 CdiInputSpecification m_cdiInputSpecification;
307 bool m_cdiInputSpecificationHasBeenSet = false;
308
309 ChannelClass m_channelClass{ChannelClass::NOT_SET};
310 bool m_channelClassHasBeenSet = false;
311
312 Aws::Vector<OutputDestination> m_destinations;
313 bool m_destinationsHasBeenSet = false;
314
315 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
316 bool m_egressEndpointsHasBeenSet = false;
317
318 EncoderSettings m_encoderSettings;
319 bool m_encoderSettingsHasBeenSet = false;
320
321 Aws::String m_id;
322 bool m_idHasBeenSet = false;
323
324 Aws::Vector<InputAttachment> m_inputAttachments;
325 bool m_inputAttachmentsHasBeenSet = false;
326
327 InputSpecification m_inputSpecification;
328 bool m_inputSpecificationHasBeenSet = false;
329
330 LogLevel m_logLevel{LogLevel::NOT_SET};
331 bool m_logLevelHasBeenSet = false;
332
333 MaintenanceStatus m_maintenance;
334 bool m_maintenanceHasBeenSet = false;
335
336 Aws::String m_maintenanceStatus;
337 bool m_maintenanceStatusHasBeenSet = false;
338
339 Aws::String m_name;
340 bool m_nameHasBeenSet = false;
341
342 Aws::Vector<PipelineDetail> m_pipelineDetails;
343 bool m_pipelineDetailsHasBeenSet = false;
344
345 int m_pipelinesRunningCount{0};
346 bool m_pipelinesRunningCountHasBeenSet = false;
347
348 Aws::String m_roleArn;
349 bool m_roleArnHasBeenSet = false;
350
352 bool m_stateHasBeenSet = false;
353
355 bool m_tagsHasBeenSet = false;
356
357 VpcOutputSettingsDescription m_vpc;
358 bool m_vpcHasBeenSet = false;
359
360 DescribeAnywhereSettings m_anywhereSettings;
361 bool m_anywhereSettingsHasBeenSet = false;
362
363 ChannelEngineVersionResponse m_channelEngineVersion;
364 bool m_channelEngineVersionHasBeenSet = false;
365
366 Aws::String m_requestId;
367 bool m_requestIdHasBeenSet = false;
368 };
369
370} // namespace Model
371} // namespace MediaLive
372} // 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 & WithEncoderSettings(EncoderSettingsT &&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)
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 & 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 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