AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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{
48 {
49 public:
50 AWS_MEDIALIVE_API StartChannelResult();
53
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline void SetArn(const Aws::String& value) { m_arn = value; }
61 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
62 inline void SetArn(const char* value) { m_arn.assign(value); }
63 inline StartChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 inline StartChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 inline StartChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
67
69
72 inline const CdiInputSpecification& GetCdiInputSpecification() const{ return m_cdiInputSpecification; }
73 inline void SetCdiInputSpecification(const CdiInputSpecification& value) { m_cdiInputSpecification = value; }
74 inline void SetCdiInputSpecification(CdiInputSpecification&& value) { m_cdiInputSpecification = std::move(value); }
78
80
84 inline const ChannelClass& GetChannelClass() const{ return m_channelClass; }
85 inline void SetChannelClass(const ChannelClass& value) { m_channelClass = value; }
86 inline void SetChannelClass(ChannelClass&& value) { m_channelClass = std::move(value); }
87 inline StartChannelResult& WithChannelClass(const ChannelClass& value) { SetChannelClass(value); return *this;}
88 inline StartChannelResult& WithChannelClass(ChannelClass&& value) { SetChannelClass(std::move(value)); return *this;}
90
92
99 inline const Aws::Vector<OutputDestination>& GetDestinations() const{ return m_destinations; }
100 inline void SetDestinations(const Aws::Vector<OutputDestination>& value) { m_destinations = value; }
101 inline void SetDestinations(Aws::Vector<OutputDestination>&& value) { m_destinations = std::move(value); }
103 inline StartChannelResult& WithDestinations(Aws::Vector<OutputDestination>&& value) { SetDestinations(std::move(value)); return *this;}
104 inline StartChannelResult& AddDestinations(const OutputDestination& value) { m_destinations.push_back(value); return *this; }
105 inline StartChannelResult& AddDestinations(OutputDestination&& value) { m_destinations.push_back(std::move(value)); return *this; }
107
109
112 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const{ return m_egressEndpoints; }
113 inline void SetEgressEndpoints(const Aws::Vector<ChannelEgressEndpoint>& value) { m_egressEndpoints = value; }
114 inline void SetEgressEndpoints(Aws::Vector<ChannelEgressEndpoint>&& value) { m_egressEndpoints = std::move(value); }
117 inline StartChannelResult& AddEgressEndpoints(const ChannelEgressEndpoint& value) { m_egressEndpoints.push_back(value); return *this; }
118 inline StartChannelResult& AddEgressEndpoints(ChannelEgressEndpoint&& value) { m_egressEndpoints.push_back(std::move(value)); return *this; }
120
122
123 inline const EncoderSettings& GetEncoderSettings() const{ return m_encoderSettings; }
124 inline void SetEncoderSettings(const EncoderSettings& value) { m_encoderSettings = value; }
125 inline void SetEncoderSettings(EncoderSettings&& value) { m_encoderSettings = std::move(value); }
126 inline StartChannelResult& WithEncoderSettings(const EncoderSettings& value) { SetEncoderSettings(value); return *this;}
127 inline StartChannelResult& WithEncoderSettings(EncoderSettings&& value) { SetEncoderSettings(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetId() const{ return m_id; }
135 inline void SetId(const Aws::String& value) { m_id = value; }
136 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
137 inline void SetId(const char* value) { m_id.assign(value); }
138 inline StartChannelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
139 inline StartChannelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
140 inline StartChannelResult& WithId(const char* value) { SetId(value); return *this;}
142
144
147 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const{ return m_inputAttachments; }
148 inline void SetInputAttachments(const Aws::Vector<InputAttachment>& value) { m_inputAttachments = value; }
149 inline void SetInputAttachments(Aws::Vector<InputAttachment>&& value) { m_inputAttachments = std::move(value); }
152 inline StartChannelResult& AddInputAttachments(const InputAttachment& value) { m_inputAttachments.push_back(value); return *this; }
153 inline StartChannelResult& AddInputAttachments(InputAttachment&& value) { m_inputAttachments.push_back(std::move(value)); return *this; }
155
157
160 inline const InputSpecification& GetInputSpecification() const{ return m_inputSpecification; }
161 inline void SetInputSpecification(const InputSpecification& value) { m_inputSpecification = value; }
162 inline void SetInputSpecification(InputSpecification&& value) { m_inputSpecification = std::move(value); }
164 inline StartChannelResult& WithInputSpecification(InputSpecification&& value) { SetInputSpecification(std::move(value)); return *this;}
166
168
171 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
172 inline void SetLogLevel(const LogLevel& value) { m_logLevel = value; }
173 inline void SetLogLevel(LogLevel&& value) { m_logLevel = std::move(value); }
174 inline StartChannelResult& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
175 inline StartChannelResult& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
177
179
182 inline const MaintenanceStatus& GetMaintenance() const{ return m_maintenance; }
183 inline void SetMaintenance(const MaintenanceStatus& value) { m_maintenance = value; }
184 inline void SetMaintenance(MaintenanceStatus&& value) { m_maintenance = std::move(value); }
185 inline StartChannelResult& WithMaintenance(const MaintenanceStatus& value) { SetMaintenance(value); return *this;}
186 inline StartChannelResult& WithMaintenance(MaintenanceStatus&& value) { SetMaintenance(std::move(value)); return *this;}
188
190
193 inline const Aws::String& GetName() const{ return m_name; }
194 inline void SetName(const Aws::String& value) { m_name = value; }
195 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
196 inline void SetName(const char* value) { m_name.assign(value); }
197 inline StartChannelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
198 inline StartChannelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
199 inline StartChannelResult& WithName(const char* value) { SetName(value); return *this;}
201
203
206 inline const Aws::Vector<PipelineDetail>& GetPipelineDetails() const{ return m_pipelineDetails; }
207 inline void SetPipelineDetails(const Aws::Vector<PipelineDetail>& value) { m_pipelineDetails = value; }
208 inline void SetPipelineDetails(Aws::Vector<PipelineDetail>&& value) { m_pipelineDetails = std::move(value); }
211 inline StartChannelResult& AddPipelineDetails(const PipelineDetail& value) { m_pipelineDetails.push_back(value); return *this; }
212 inline StartChannelResult& AddPipelineDetails(PipelineDetail&& value) { m_pipelineDetails.push_back(std::move(value)); return *this; }
214
216
219 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
220 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCount = value; }
223
225
228 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
229 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
230 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
231 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
232 inline StartChannelResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
233 inline StartChannelResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
234 inline StartChannelResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
236
238
239 inline const ChannelState& GetState() const{ return m_state; }
240 inline void SetState(const ChannelState& value) { m_state = value; }
241 inline void SetState(ChannelState&& value) { m_state = std::move(value); }
242 inline StartChannelResult& WithState(const ChannelState& value) { SetState(value); return *this;}
243 inline StartChannelResult& WithState(ChannelState&& value) { SetState(std::move(value)); return *this;}
245
247
250 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
251 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
252 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
253 inline StartChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
254 inline StartChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
255 inline StartChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
256 inline StartChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
257 inline StartChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
258 inline StartChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
259 inline StartChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
260 inline StartChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
261 inline StartChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
263
265
268 inline const VpcOutputSettingsDescription& GetVpc() const{ return m_vpc; }
269 inline void SetVpc(const VpcOutputSettingsDescription& value) { m_vpc = value; }
270 inline void SetVpc(VpcOutputSettingsDescription&& value) { m_vpc = std::move(value); }
271 inline StartChannelResult& WithVpc(const VpcOutputSettingsDescription& value) { SetVpc(value); return *this;}
272 inline StartChannelResult& WithVpc(VpcOutputSettingsDescription&& value) { SetVpc(std::move(value)); return *this;}
274
276
279 inline const DescribeAnywhereSettings& GetAnywhereSettings() const{ return m_anywhereSettings; }
280 inline void SetAnywhereSettings(const DescribeAnywhereSettings& value) { m_anywhereSettings = value; }
281 inline void SetAnywhereSettings(DescribeAnywhereSettings&& value) { m_anywhereSettings = std::move(value); }
283 inline StartChannelResult& WithAnywhereSettings(DescribeAnywhereSettings&& value) { SetAnywhereSettings(std::move(value)); return *this;}
285
287
288 inline const Aws::String& GetRequestId() const{ return m_requestId; }
289 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
290 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
291 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
292 inline StartChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
293 inline StartChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
294 inline StartChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
296 private:
297
298 Aws::String m_arn;
299
300 CdiInputSpecification m_cdiInputSpecification;
301
302 ChannelClass m_channelClass;
303
304 Aws::Vector<OutputDestination> m_destinations;
305
306 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
307
308 EncoderSettings m_encoderSettings;
309
310 Aws::String m_id;
311
312 Aws::Vector<InputAttachment> m_inputAttachments;
313
314 InputSpecification m_inputSpecification;
315
316 LogLevel m_logLevel;
317
318 MaintenanceStatus m_maintenance;
319
320 Aws::String m_name;
321
322 Aws::Vector<PipelineDetail> m_pipelineDetails;
323
324 int m_pipelinesRunningCount;
325
326 Aws::String m_roleArn;
327
328 ChannelState m_state;
329
331
333
334 DescribeAnywhereSettings m_anywhereSettings;
335
336 Aws::String m_requestId;
337 };
338
339} // namespace Model
340} // namespace MediaLive
341} // namespace Aws
StartChannelResult & WithName(const char *value)
void SetEncoderSettings(EncoderSettings &&value)
void SetInputAttachments(const Aws::Vector< InputAttachment > &value)
StartChannelResult & WithChannelClass(const ChannelClass &value)
StartChannelResult & WithAnywhereSettings(DescribeAnywhereSettings &&value)
StartChannelResult & WithRoleArn(const char *value)
void SetEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&value)
StartChannelResult & WithLogLevel(const LogLevel &value)
StartChannelResult & WithEncoderSettings(EncoderSettings &&value)
void SetEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
void SetArn(const Aws::String &value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
StartChannelResult & WithState(ChannelState &&value)
StartChannelResult & WithRequestId(const Aws::String &value)
StartChannelResult & WithEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&value)
StartChannelResult & WithMaintenance(const MaintenanceStatus &value)
StartChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
StartChannelResult & AddPipelineDetails(const PipelineDetail &value)
StartChannelResult & WithInputAttachments(Aws::Vector< InputAttachment > &&value)
StartChannelResult & WithRequestId(const char *value)
const CdiInputSpecification & GetCdiInputSpecification() const
StartChannelResult & WithInputSpecification(InputSpecification &&value)
void SetAnywhereSettings(DescribeAnywhereSettings &&value)
StartChannelResult & WithInputAttachments(const Aws::Vector< InputAttachment > &value)
StartChannelResult & WithAnywhereSettings(const DescribeAnywhereSettings &value)
StartChannelResult & WithRequestId(Aws::String &&value)
void SetChannelClass(const ChannelClass &value)
void SetInputSpecification(const InputSpecification &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const VpcOutputSettingsDescription & GetVpc() const
StartChannelResult & WithEncoderSettings(const EncoderSettings &value)
StartChannelResult & WithId(const Aws::String &value)
StartChannelResult & WithMaintenance(MaintenanceStatus &&value)
AWS_MEDIALIVE_API StartChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetMaintenance(MaintenanceStatus &&value)
StartChannelResult & WithId(Aws::String &&value)
StartChannelResult & AddDestinations(const OutputDestination &value)
StartChannelResult & WithId(const char *value)
void SetVpc(const VpcOutputSettingsDescription &value)
StartChannelResult & AddEgressEndpoints(const ChannelEgressEndpoint &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
StartChannelResult & AddPipelineDetails(PipelineDetail &&value)
const DescribeAnywhereSettings & GetAnywhereSettings() const
void SetRequestId(const Aws::String &value)
void SetCdiInputSpecification(CdiInputSpecification &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
void SetAnywhereSettings(const DescribeAnywhereSettings &value)
void SetPipelineDetails(Aws::Vector< PipelineDetail > &&value)
StartChannelResult & WithRoleArn(Aws::String &&value)
StartChannelResult & WithPipelinesRunningCount(int value)
void SetVpc(VpcOutputSettingsDescription &&value)
StartChannelResult & WithName(Aws::String &&value)
void SetCdiInputSpecification(const CdiInputSpecification &value)
void SetPipelineDetails(const Aws::Vector< PipelineDetail > &value)
StartChannelResult & AddInputAttachments(InputAttachment &&value)
const MaintenanceStatus & GetMaintenance() const
StartChannelResult & WithChannelClass(ChannelClass &&value)
StartChannelResult & WithState(const ChannelState &value)
const ChannelClass & GetChannelClass() const
void SetInputSpecification(InputSpecification &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartChannelResult & WithVpc(VpcOutputSettingsDescription &&value)
StartChannelResult & WithDestinations(Aws::Vector< OutputDestination > &&value)
StartChannelResult & WithCdiInputSpecification(const CdiInputSpecification &value)
StartChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinations(Aws::Vector< OutputDestination > &&value)
StartChannelResult & AddTags(Aws::String &&key, const char *value)
void SetEncoderSettings(const EncoderSettings &value)
StartChannelResult & WithVpc(const VpcOutputSettingsDescription &value)
StartChannelResult & WithName(const Aws::String &value)
StartChannelResult & WithArn(const Aws::String &value)
void SetMaintenance(const MaintenanceStatus &value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
StartChannelResult & WithRoleArn(const Aws::String &value)
void SetDestinations(const Aws::Vector< OutputDestination > &value)
StartChannelResult & WithArn(const char *value)
const InputSpecification & GetInputSpecification() const
void SetInputAttachments(Aws::Vector< InputAttachment > &&value)
StartChannelResult & WithPipelineDetails(const Aws::Vector< PipelineDetail > &value)
StartChannelResult & WithDestinations(const Aws::Vector< OutputDestination > &value)
StartChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetRoleArn(const Aws::String &value)
StartChannelResult & AddTags(const char *key, Aws::String &&value)
const EncoderSettings & GetEncoderSettings() const
StartChannelResult & AddInputAttachments(const InputAttachment &value)
StartChannelResult & WithCdiInputSpecification(CdiInputSpecification &&value)
const Aws::Vector< PipelineDetail > & GetPipelineDetails() const
StartChannelResult & WithInputSpecification(const InputSpecification &value)
StartChannelResult & WithPipelineDetails(Aws::Vector< PipelineDetail > &&value)
StartChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_MEDIALIVE_API StartChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartChannelResult & AddDestinations(OutputDestination &&value)
void SetState(const ChannelState &value)
StartChannelResult & AddTags(const char *key, const char *value)
StartChannelResult & WithEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
StartChannelResult & WithArn(Aws::String &&value)
StartChannelResult & WithLogLevel(LogLevel &&value)
StartChannelResult & AddEgressEndpoints(ChannelEgressEndpoint &&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