AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/OutputDestination.h>
21#include <aws/medialive/model/ChannelEgressEndpoint.h>
22#include <aws/medialive/model/InputAttachment.h>
23#include <aws/medialive/model/PipelineDetail.h>
24#include <utility>
25
26namespace Aws
27{
28template<typename RESULT_TYPE>
29class AmazonWebServiceResult;
30
31namespace Utils
32{
33namespace Json
34{
35 class JsonValue;
36} // namespace Json
37} // namespace Utils
38namespace MediaLive
39{
40namespace Model
41{
49 {
50 public:
51 AWS_MEDIALIVE_API RestartChannelPipelinesResult();
54
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline void SetArn(const Aws::String& value) { m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arn.assign(value); }
64 inline RestartChannelPipelinesResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline RestartChannelPipelinesResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline RestartChannelPipelinesResult& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const CdiInputSpecification& GetCdiInputSpecification() const{ return m_cdiInputSpecification; }
74 inline void SetCdiInputSpecification(const CdiInputSpecification& value) { m_cdiInputSpecification = value; }
75 inline void SetCdiInputSpecification(CdiInputSpecification&& value) { m_cdiInputSpecification = std::move(value); }
79
81
85 inline const ChannelClass& GetChannelClass() const{ return m_channelClass; }
86 inline void SetChannelClass(const ChannelClass& value) { m_channelClass = value; }
87 inline void SetChannelClass(ChannelClass&& value) { m_channelClass = std::move(value); }
88 inline RestartChannelPipelinesResult& WithChannelClass(const ChannelClass& value) { SetChannelClass(value); return *this;}
89 inline RestartChannelPipelinesResult& WithChannelClass(ChannelClass&& value) { SetChannelClass(std::move(value)); return *this;}
91
93
100 inline const Aws::Vector<OutputDestination>& GetDestinations() const{ return m_destinations; }
101 inline void SetDestinations(const Aws::Vector<OutputDestination>& value) { m_destinations = value; }
102 inline void SetDestinations(Aws::Vector<OutputDestination>&& value) { m_destinations = std::move(value); }
105 inline RestartChannelPipelinesResult& AddDestinations(const OutputDestination& value) { m_destinations.push_back(value); return *this; }
106 inline RestartChannelPipelinesResult& AddDestinations(OutputDestination&& value) { m_destinations.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const{ return m_egressEndpoints; }
114 inline void SetEgressEndpoints(const Aws::Vector<ChannelEgressEndpoint>& value) { m_egressEndpoints = value; }
115 inline void SetEgressEndpoints(Aws::Vector<ChannelEgressEndpoint>&& value) { m_egressEndpoints = std::move(value); }
118 inline RestartChannelPipelinesResult& AddEgressEndpoints(const ChannelEgressEndpoint& value) { m_egressEndpoints.push_back(value); return *this; }
119 inline RestartChannelPipelinesResult& AddEgressEndpoints(ChannelEgressEndpoint&& value) { m_egressEndpoints.push_back(std::move(value)); return *this; }
121
123
124 inline const EncoderSettings& GetEncoderSettings() const{ return m_encoderSettings; }
125 inline void SetEncoderSettings(const EncoderSettings& value) { m_encoderSettings = value; }
126 inline void SetEncoderSettings(EncoderSettings&& value) { m_encoderSettings = std::move(value); }
128 inline RestartChannelPipelinesResult& WithEncoderSettings(EncoderSettings&& value) { SetEncoderSettings(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetId() const{ return m_id; }
136 inline void SetId(const Aws::String& value) { m_id = value; }
137 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
138 inline void SetId(const char* value) { m_id.assign(value); }
139 inline RestartChannelPipelinesResult& WithId(const Aws::String& value) { SetId(value); return *this;}
140 inline RestartChannelPipelinesResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
141 inline RestartChannelPipelinesResult& WithId(const char* value) { SetId(value); return *this;}
143
145
148 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const{ return m_inputAttachments; }
149 inline void SetInputAttachments(const Aws::Vector<InputAttachment>& value) { m_inputAttachments = value; }
150 inline void SetInputAttachments(Aws::Vector<InputAttachment>&& value) { m_inputAttachments = std::move(value); }
153 inline RestartChannelPipelinesResult& AddInputAttachments(const InputAttachment& value) { m_inputAttachments.push_back(value); return *this; }
154 inline RestartChannelPipelinesResult& AddInputAttachments(InputAttachment&& value) { m_inputAttachments.push_back(std::move(value)); return *this; }
156
158
161 inline const InputSpecification& GetInputSpecification() const{ return m_inputSpecification; }
162 inline void SetInputSpecification(const InputSpecification& value) { m_inputSpecification = value; }
163 inline void SetInputSpecification(InputSpecification&& value) { m_inputSpecification = std::move(value); }
167
169
172 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
173 inline void SetLogLevel(const LogLevel& value) { m_logLevel = value; }
174 inline void SetLogLevel(LogLevel&& value) { m_logLevel = std::move(value); }
175 inline RestartChannelPipelinesResult& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
176 inline RestartChannelPipelinesResult& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
178
180
183 inline const MaintenanceStatus& GetMaintenance() const{ return m_maintenance; }
184 inline void SetMaintenance(const MaintenanceStatus& value) { m_maintenance = value; }
185 inline void SetMaintenance(MaintenanceStatus&& value) { m_maintenance = std::move(value); }
187 inline RestartChannelPipelinesResult& WithMaintenance(MaintenanceStatus&& value) { SetMaintenance(std::move(value)); return *this;}
189
191
194 inline const Aws::String& GetMaintenanceStatus() const{ return m_maintenanceStatus; }
195 inline void SetMaintenanceStatus(const Aws::String& value) { m_maintenanceStatus = value; }
196 inline void SetMaintenanceStatus(Aws::String&& value) { m_maintenanceStatus = std::move(value); }
197 inline void SetMaintenanceStatus(const char* value) { m_maintenanceStatus.assign(value); }
199 inline RestartChannelPipelinesResult& WithMaintenanceStatus(Aws::String&& value) { SetMaintenanceStatus(std::move(value)); return *this;}
200 inline RestartChannelPipelinesResult& WithMaintenanceStatus(const char* value) { SetMaintenanceStatus(value); return *this;}
202
204
207 inline const Aws::String& GetName() const{ return m_name; }
208 inline void SetName(const Aws::String& value) { m_name = value; }
209 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
210 inline void SetName(const char* value) { m_name.assign(value); }
211 inline RestartChannelPipelinesResult& WithName(const Aws::String& value) { SetName(value); return *this;}
212 inline RestartChannelPipelinesResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
213 inline RestartChannelPipelinesResult& WithName(const char* value) { SetName(value); return *this;}
215
217
220 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const{ return m_pipelineDetails; }
221 inline void SetPipelineDetails(const Aws::Vector<PipelineDetail>& value) { m_pipelineDetails = value; }
222 inline void SetPipelineDetails(Aws::Vector<PipelineDetail>&& value) { m_pipelineDetails = std::move(value); }
225 inline RestartChannelPipelinesResult& AddPipelineDetails(const PipelineDetail& value) { m_pipelineDetails.push_back(value); return *this; }
226 inline RestartChannelPipelinesResult& AddPipelineDetails(PipelineDetail&& value) { m_pipelineDetails.push_back(std::move(value)); return *this; }
228
230
233 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
234 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCount = value; }
237
239
242 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
243 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
244 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
245 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
246 inline RestartChannelPipelinesResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
247 inline RestartChannelPipelinesResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
248 inline RestartChannelPipelinesResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
250
252
253 inline const ChannelState& GetState() const{ return m_state; }
254 inline void SetState(const ChannelState& value) { m_state = value; }
255 inline void SetState(ChannelState&& value) { m_state = std::move(value); }
256 inline RestartChannelPipelinesResult& WithState(const ChannelState& value) { SetState(value); return *this;}
257 inline RestartChannelPipelinesResult& WithState(ChannelState&& value) { SetState(std::move(value)); return *this;}
259
261
264 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
265 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
266 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
268 inline RestartChannelPipelinesResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
269 inline RestartChannelPipelinesResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
270 inline RestartChannelPipelinesResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
271 inline RestartChannelPipelinesResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
272 inline RestartChannelPipelinesResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
273 inline RestartChannelPipelinesResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
274 inline RestartChannelPipelinesResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
275 inline RestartChannelPipelinesResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
277
279
282 inline const VpcOutputSettingsDescription& GetVpc() const{ return m_vpc; }
283 inline void SetVpc(const VpcOutputSettingsDescription& value) { m_vpc = value; }
284 inline void SetVpc(VpcOutputSettingsDescription&& value) { m_vpc = std::move(value); }
285 inline RestartChannelPipelinesResult& WithVpc(const VpcOutputSettingsDescription& value) { SetVpc(value); return *this;}
286 inline RestartChannelPipelinesResult& WithVpc(VpcOutputSettingsDescription&& value) { SetVpc(std::move(value)); return *this;}
288
290
293 inline const DescribeAnywhereSettings& GetAnywhereSettings() const{ return m_anywhereSettings; }
294 inline void SetAnywhereSettings(const DescribeAnywhereSettings& value) { m_anywhereSettings = value; }
295 inline void SetAnywhereSettings(DescribeAnywhereSettings&& value) { m_anywhereSettings = std::move(value); }
299
301
302 inline const Aws::String& GetRequestId() const{ return m_requestId; }
303 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
304 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
305 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
306 inline RestartChannelPipelinesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
307 inline RestartChannelPipelinesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
308 inline RestartChannelPipelinesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
310 private:
311
312 Aws::String m_arn;
313
314 CdiInputSpecification m_cdiInputSpecification;
315
316 ChannelClass m_channelClass;
317
318 Aws::Vector<OutputDestination> m_destinations;
319
320 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
321
322 EncoderSettings m_encoderSettings;
323
324 Aws::String m_id;
325
326 Aws::Vector<InputAttachment> m_inputAttachments;
327
328 InputSpecification m_inputSpecification;
329
330 LogLevel m_logLevel;
331
332 MaintenanceStatus m_maintenance;
333
334 Aws::String m_maintenanceStatus;
335
336 Aws::String m_name;
337
338 Aws::Vector<PipelineDetail> m_pipelineDetails;
339
340 int m_pipelinesRunningCount;
341
342 Aws::String m_roleArn;
343
344 ChannelState m_state;
345
347
349
350 DescribeAnywhereSettings m_anywhereSettings;
351
352 Aws::String m_requestId;
353 };
354
355} // namespace Model
356} // namespace MediaLive
357} // namespace Aws
RestartChannelPipelinesResult & WithRequestId(const char *value)
RestartChannelPipelinesResult & AddDestinations(OutputDestination &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAnywhereSettings(const DescribeAnywhereSettings &value)
RestartChannelPipelinesResult & AddInputAttachments(const InputAttachment &value)
RestartChannelPipelinesResult & AddTags(const char *key, Aws::String &&value)
RestartChannelPipelinesResult & WithPipelineDetails(Aws::Vector< PipelineDetail > &&value)
RestartChannelPipelinesResult & AddInputAttachments(InputAttachment &&value)
RestartChannelPipelinesResult & WithRoleArn(const char *value)
RestartChannelPipelinesResult & WithInputSpecification(const InputSpecification &value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
RestartChannelPipelinesResult & WithRequestId(const Aws::String &value)
RestartChannelPipelinesResult & WithVpc(const VpcOutputSettingsDescription &value)
void SetPipelineDetails(const Aws::Vector< PipelineDetail > &value)
RestartChannelPipelinesResult & WithState(const ChannelState &value)
RestartChannelPipelinesResult & WithArn(const char *value)
RestartChannelPipelinesResult & WithMaintenance(const MaintenanceStatus &value)
RestartChannelPipelinesResult & WithMaintenanceStatus(Aws::String &&value)
void SetInputAttachments(Aws::Vector< InputAttachment > &&value)
RestartChannelPipelinesResult & WithEncoderSettings(EncoderSettings &&value)
RestartChannelPipelinesResult & AddTags(Aws::String &&key, const char *value)
RestartChannelPipelinesResult & WithRoleArn(const Aws::String &value)
RestartChannelPipelinesResult & WithAnywhereSettings(const DescribeAnywhereSettings &value)
RestartChannelPipelinesResult & WithCdiInputSpecification(CdiInputSpecification &&value)
RestartChannelPipelinesResult & WithChannelClass(ChannelClass &&value)
RestartChannelPipelinesResult & WithArn(const Aws::String &value)
RestartChannelPipelinesResult & WithMaintenanceStatus(const char *value)
void SetInputAttachments(const Aws::Vector< InputAttachment > &value)
RestartChannelPipelinesResult & WithMaintenance(MaintenanceStatus &&value)
void SetVpc(const VpcOutputSettingsDescription &value)
RestartChannelPipelinesResult & AddEgressEndpoints(const ChannelEgressEndpoint &value)
RestartChannelPipelinesResult & WithId(Aws::String &&value)
RestartChannelPipelinesResult & WithState(ChannelState &&value)
RestartChannelPipelinesResult & AddTags(Aws::String &&key, const Aws::String &value)
RestartChannelPipelinesResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
RestartChannelPipelinesResult & AddEgressEndpoints(ChannelEgressEndpoint &&value)
RestartChannelPipelinesResult & WithPipelinesRunningCount(int value)
RestartChannelPipelinesResult & WithMaintenanceStatus(const Aws::String &value)
RestartChannelPipelinesResult & WithInputAttachments(Aws::Vector< InputAttachment > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinations(const Aws::Vector< OutputDestination > &value)
RestartChannelPipelinesResult & AddTags(const Aws::String &key, const Aws::String &value)
RestartChannelPipelinesResult & AddTags(const char *key, const char *value)
RestartChannelPipelinesResult & AddPipelineDetails(const PipelineDetail &value)
RestartChannelPipelinesResult & WithRoleArn(Aws::String &&value)
RestartChannelPipelinesResult & WithDestinations(const Aws::Vector< OutputDestination > &value)
RestartChannelPipelinesResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RestartChannelPipelinesResult & WithName(const char *value)
RestartChannelPipelinesResult & WithChannelClass(const ChannelClass &value)
RestartChannelPipelinesResult & WithRequestId(Aws::String &&value)
RestartChannelPipelinesResult & WithPipelineDetails(const Aws::Vector< PipelineDetail > &value)
RestartChannelPipelinesResult & WithCdiInputSpecification(const CdiInputSpecification &value)
RestartChannelPipelinesResult & WithLogLevel(LogLevel &&value)
RestartChannelPipelinesResult & WithId(const Aws::String &value)
RestartChannelPipelinesResult & WithLogLevel(const LogLevel &value)
RestartChannelPipelinesResult & WithEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&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)
void SetEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
void SetEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&value)
RestartChannelPipelinesResult & AddTags(const Aws::String &key, Aws::String &&value)
RestartChannelPipelinesResult & AddDestinations(const OutputDestination &value)
RestartChannelPipelinesResult & WithInputSpecification(InputSpecification &&value)
RestartChannelPipelinesResult & WithAnywhereSettings(DescribeAnywhereSettings &&value)
void SetPipelineDetails(Aws::Vector< PipelineDetail > &&value)
void SetDestinations(Aws::Vector< OutputDestination > &&value)
void SetCdiInputSpecification(const CdiInputSpecification &value)
RestartChannelPipelinesResult & WithName(Aws::String &&value)
RestartChannelPipelinesResult & AddTags(Aws::String &&key, Aws::String &&value)
RestartChannelPipelinesResult & WithArn(Aws::String &&value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
RestartChannelPipelinesResult & WithEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
RestartChannelPipelinesResult & WithEncoderSettings(const EncoderSettings &value)
const Aws::Vector< PipelineDetail > & GetPipelineDetails() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RestartChannelPipelinesResult & WithId(const char *value)
RestartChannelPipelinesResult & AddPipelineDetails(PipelineDetail &&value)
RestartChannelPipelinesResult & WithName(const Aws::String &value)
RestartChannelPipelinesResult & WithVpc(VpcOutputSettingsDescription &&value)
RestartChannelPipelinesResult & WithDestinations(Aws::Vector< OutputDestination > &&value)
RestartChannelPipelinesResult & WithInputAttachments(const Aws::Vector< InputAttachment > &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