AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
StartChannelResult.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{
49 {
50 public:
51 AWS_MEDIALIVE_API StartChannelResult() = default;
54
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 StartChannelResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const CdiInputSpecification& GetCdiInputSpecification() const { return m_cdiInputSpecification; }
72 template<typename CdiInputSpecificationT = CdiInputSpecification>
73 void SetCdiInputSpecification(CdiInputSpecificationT&& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = std::forward<CdiInputSpecificationT>(value); }
74 template<typename CdiInputSpecificationT = CdiInputSpecification>
75 StartChannelResult& WithCdiInputSpecification(CdiInputSpecificationT&& value) { SetCdiInputSpecification(std::forward<CdiInputSpecificationT>(value)); return *this;}
77
79
83 inline ChannelClass GetChannelClass() const { return m_channelClass; }
84 inline void SetChannelClass(ChannelClass value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
85 inline StartChannelResult& WithChannelClass(ChannelClass value) { SetChannelClass(value); return *this;}
87
89
96 inline const Aws::Vector<OutputDestination>& GetDestinations() const { return m_destinations; }
97 template<typename DestinationsT = Aws::Vector<OutputDestination>>
98 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations = std::forward<DestinationsT>(value); }
99 template<typename DestinationsT = Aws::Vector<OutputDestination>>
100 StartChannelResult& WithDestinations(DestinationsT&& value) { SetDestinations(std::forward<DestinationsT>(value)); return *this;}
101 template<typename DestinationsT = OutputDestination>
102 StartChannelResult& AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations.emplace_back(std::forward<DestinationsT>(value)); return *this; }
104
106
109 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const { return m_egressEndpoints; }
110 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
111 void SetEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints = std::forward<EgressEndpointsT>(value); }
112 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
113 StartChannelResult& WithEgressEndpoints(EgressEndpointsT&& value) { SetEgressEndpoints(std::forward<EgressEndpointsT>(value)); return *this;}
114 template<typename EgressEndpointsT = ChannelEgressEndpoint>
115 StartChannelResult& AddEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints.emplace_back(std::forward<EgressEndpointsT>(value)); return *this; }
117
119
120 inline const EncoderSettings& GetEncoderSettings() const { return m_encoderSettings; }
121 template<typename EncoderSettingsT = EncoderSettings>
122 void SetEncoderSettings(EncoderSettingsT&& value) { m_encoderSettingsHasBeenSet = true; m_encoderSettings = std::forward<EncoderSettingsT>(value); }
123 template<typename EncoderSettingsT = EncoderSettings>
124 StartChannelResult& WithEncoderSettings(EncoderSettingsT&& value) { SetEncoderSettings(std::forward<EncoderSettingsT>(value)); return *this;}
126
128
131 inline const Aws::String& GetId() const { return m_id; }
132 template<typename IdT = Aws::String>
133 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
134 template<typename IdT = Aws::String>
135 StartChannelResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
137
139
142 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const { return m_inputAttachments; }
143 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
144 void SetInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = std::forward<InputAttachmentsT>(value); }
145 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
146 StartChannelResult& WithInputAttachments(InputAttachmentsT&& value) { SetInputAttachments(std::forward<InputAttachmentsT>(value)); return *this;}
147 template<typename InputAttachmentsT = InputAttachment>
148 StartChannelResult& AddInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.emplace_back(std::forward<InputAttachmentsT>(value)); return *this; }
150
152
155 inline const InputSpecification& GetInputSpecification() const { return m_inputSpecification; }
156 template<typename InputSpecificationT = InputSpecification>
157 void SetInputSpecification(InputSpecificationT&& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = std::forward<InputSpecificationT>(value); }
158 template<typename InputSpecificationT = InputSpecification>
159 StartChannelResult& WithInputSpecification(InputSpecificationT&& value) { SetInputSpecification(std::forward<InputSpecificationT>(value)); return *this;}
161
163
166 inline LogLevel GetLogLevel() const { return m_logLevel; }
167 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
168 inline StartChannelResult& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
170
172
175 inline const MaintenanceStatus& GetMaintenance() const { return m_maintenance; }
176 template<typename MaintenanceT = MaintenanceStatus>
177 void SetMaintenance(MaintenanceT&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::forward<MaintenanceT>(value); }
178 template<typename MaintenanceT = MaintenanceStatus>
179 StartChannelResult& WithMaintenance(MaintenanceT&& value) { SetMaintenance(std::forward<MaintenanceT>(value)); return *this;}
181
183
186 inline const Aws::String& GetName() const { return m_name; }
187 template<typename NameT = Aws::String>
188 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
189 template<typename NameT = Aws::String>
190 StartChannelResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
192
194
197 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const { return m_pipelineDetails; }
198 template<typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
199 void SetPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails = std::forward<PipelineDetailsT>(value); }
200 template<typename PipelineDetailsT = Aws::Vector<PipelineDetail>>
201 StartChannelResult& WithPipelineDetails(PipelineDetailsT&& value) { SetPipelineDetails(std::forward<PipelineDetailsT>(value)); return *this;}
202 template<typename PipelineDetailsT = PipelineDetail>
203 StartChannelResult& AddPipelineDetails(PipelineDetailsT&& value) { m_pipelineDetailsHasBeenSet = true; m_pipelineDetails.emplace_back(std::forward<PipelineDetailsT>(value)); return *this; }
205
207
210 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
211 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
214
216
219 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
220 template<typename RoleArnT = Aws::String>
221 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
222 template<typename RoleArnT = Aws::String>
223 StartChannelResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
225
227
228 inline ChannelState GetState() const { return m_state; }
229 inline void SetState(ChannelState value) { m_stateHasBeenSet = true; m_state = value; }
230 inline StartChannelResult& WithState(ChannelState value) { SetState(value); return *this;}
232
234
237 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
238 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
239 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
240 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 StartChannelResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
242 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
243 StartChannelResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
244 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
245 }
247
249
252 inline const VpcOutputSettingsDescription& GetVpc() const { return m_vpc; }
253 template<typename VpcT = VpcOutputSettingsDescription>
254 void SetVpc(VpcT&& value) { m_vpcHasBeenSet = true; m_vpc = std::forward<VpcT>(value); }
255 template<typename VpcT = VpcOutputSettingsDescription>
256 StartChannelResult& WithVpc(VpcT&& value) { SetVpc(std::forward<VpcT>(value)); return *this;}
258
260
263 inline const DescribeAnywhereSettings& GetAnywhereSettings() const { return m_anywhereSettings; }
264 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
265 void SetAnywhereSettings(AnywhereSettingsT&& value) { m_anywhereSettingsHasBeenSet = true; m_anywhereSettings = std::forward<AnywhereSettingsT>(value); }
266 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
267 StartChannelResult& WithAnywhereSettings(AnywhereSettingsT&& value) { SetAnywhereSettings(std::forward<AnywhereSettingsT>(value)); return *this;}
269
271
274 inline const ChannelEngineVersionResponse& GetChannelEngineVersion() const { return m_channelEngineVersion; }
275 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
276 void SetChannelEngineVersion(ChannelEngineVersionT&& value) { m_channelEngineVersionHasBeenSet = true; m_channelEngineVersion = std::forward<ChannelEngineVersionT>(value); }
277 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
278 StartChannelResult& WithChannelEngineVersion(ChannelEngineVersionT&& value) { SetChannelEngineVersion(std::forward<ChannelEngineVersionT>(value)); return *this;}
280
282
283 inline const Aws::String& GetRequestId() const { return m_requestId; }
284 template<typename RequestIdT = Aws::String>
285 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
286 template<typename RequestIdT = Aws::String>
287 StartChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
289 private:
290
291 Aws::String m_arn;
292 bool m_arnHasBeenSet = false;
293
294 CdiInputSpecification m_cdiInputSpecification;
295 bool m_cdiInputSpecificationHasBeenSet = false;
296
297 ChannelClass m_channelClass{ChannelClass::NOT_SET};
298 bool m_channelClassHasBeenSet = false;
299
300 Aws::Vector<OutputDestination> m_destinations;
301 bool m_destinationsHasBeenSet = false;
302
303 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
304 bool m_egressEndpointsHasBeenSet = false;
305
306 EncoderSettings m_encoderSettings;
307 bool m_encoderSettingsHasBeenSet = false;
308
309 Aws::String m_id;
310 bool m_idHasBeenSet = false;
311
312 Aws::Vector<InputAttachment> m_inputAttachments;
313 bool m_inputAttachmentsHasBeenSet = false;
314
315 InputSpecification m_inputSpecification;
316 bool m_inputSpecificationHasBeenSet = false;
317
318 LogLevel m_logLevel{LogLevel::NOT_SET};
319 bool m_logLevelHasBeenSet = false;
320
321 MaintenanceStatus m_maintenance;
322 bool m_maintenanceHasBeenSet = false;
323
324 Aws::String m_name;
325 bool m_nameHasBeenSet = false;
326
327 Aws::Vector<PipelineDetail> m_pipelineDetails;
328 bool m_pipelineDetailsHasBeenSet = false;
329
330 int m_pipelinesRunningCount{0};
331 bool m_pipelinesRunningCountHasBeenSet = false;
332
333 Aws::String m_roleArn;
334 bool m_roleArnHasBeenSet = false;
335
337 bool m_stateHasBeenSet = false;
338
340 bool m_tagsHasBeenSet = false;
341
342 VpcOutputSettingsDescription m_vpc;
343 bool m_vpcHasBeenSet = false;
344
345 DescribeAnywhereSettings m_anywhereSettings;
346 bool m_anywhereSettingsHasBeenSet = false;
347
348 ChannelEngineVersionResponse m_channelEngineVersion;
349 bool m_channelEngineVersionHasBeenSet = false;
350
351 Aws::String m_requestId;
352 bool m_requestIdHasBeenSet = false;
353 };
354
355} // namespace Model
356} // namespace MediaLive
357} // namespace Aws
const ChannelEngineVersionResponse & GetChannelEngineVersion() const
void SetEncoderSettings(EncoderSettingsT &&value)
StartChannelResult & WithCdiInputSpecification(CdiInputSpecificationT &&value)
void SetChannelEngineVersion(ChannelEngineVersionT &&value)
StartChannelResult & WithLogLevel(LogLevel value)
StartChannelResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
StartChannelResult & AddDestinations(DestinationsT &&value)
StartChannelResult & WithPipelineDetails(PipelineDetailsT &&value)
void SetEgressEndpoints(EgressEndpointsT &&value)
const CdiInputSpecification & GetCdiInputSpecification() const
AWS_MEDIALIVE_API StartChannelResult()=default
StartChannelResult & AddPipelineDetails(PipelineDetailsT &&value)
StartChannelResult & WithTags(TagsT &&value)
StartChannelResult & WithDestinations(DestinationsT &&value)
void SetDestinations(DestinationsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const VpcOutputSettingsDescription & GetVpc() const
StartChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIALIVE_API StartChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChannelResult & AddEgressEndpoints(EgressEndpointsT &&value)
StartChannelResult & WithEgressEndpoints(EgressEndpointsT &&value)
StartChannelResult & WithState(ChannelState value)
StartChannelResult & WithChannelClass(ChannelClass value)
StartChannelResult & WithMaintenance(MaintenanceT &&value)
StartChannelResult & WithRoleArn(RoleArnT &&value)
void SetAnywhereSettings(AnywhereSettingsT &&value)
const DescribeAnywhereSettings & GetAnywhereSettings() const
const Aws::Vector< OutputDestination > & GetDestinations() const
StartChannelResult & WithVpc(VpcT &&value)
StartChannelResult & WithInputAttachments(InputAttachmentsT &&value)
StartChannelResult & WithPipelinesRunningCount(int value)
StartChannelResult & WithName(NameT &&value)
void SetInputAttachments(InputAttachmentsT &&value)
const MaintenanceStatus & GetMaintenance() const
StartChannelResult & WithChannelEngineVersion(ChannelEngineVersionT &&value)
StartChannelResult & WithAnywhereSettings(AnywhereSettingsT &&value)
StartChannelResult & WithEncoderSettings(EncoderSettingsT &&value)
StartChannelResult & AddInputAttachments(InputAttachmentsT &&value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
const InputSpecification & GetInputSpecification() const
const EncoderSettings & GetEncoderSettings() const
StartChannelResult & WithId(IdT &&value)
void SetInputSpecification(InputSpecificationT &&value)
void SetCdiInputSpecification(CdiInputSpecificationT &&value)
const Aws::Vector< PipelineDetail > & GetPipelineDetails() const
StartChannelResult & WithInputSpecification(InputSpecificationT &&value)
AWS_MEDIALIVE_API StartChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChannelResult & WithArn(ArnT &&value)
void SetPipelineDetails(PipelineDetailsT &&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