AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ChannelSummary.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/InputSpecification.h>
13#include <aws/medialive/model/LogLevel.h>
14#include <aws/medialive/model/MaintenanceStatus.h>
15#include <aws/medialive/model/ChannelState.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/medialive/model/VpcOutputSettingsDescription.h>
18#include <aws/medialive/model/DescribeAnywhereSettings.h>
19#include <aws/medialive/model/ChannelEngineVersionResponse.h>
20#include <aws/medialive/model/OutputDestination.h>
21#include <aws/medialive/model/ChannelEgressEndpoint.h>
22#include <aws/medialive/model/InputAttachment.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace MediaLive
36{
37namespace Model
38{
39
46 {
47 public:
48 AWS_MEDIALIVE_API ChannelSummary() = default;
49 AWS_MEDIALIVE_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue);
51 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 ChannelSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const CdiInputSpecification& GetCdiInputSpecification() const { return m_cdiInputSpecification; }
71 inline bool CdiInputSpecificationHasBeenSet() const { return m_cdiInputSpecificationHasBeenSet; }
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 ChannelSummary& WithCdiInputSpecification(CdiInputSpecificationT&& value) { SetCdiInputSpecification(std::forward<CdiInputSpecificationT>(value)); return *this;}
77
79
83 inline ChannelClass GetChannelClass() const { return m_channelClass; }
84 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
85 inline void SetChannelClass(ChannelClass value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
86 inline ChannelSummary& WithChannelClass(ChannelClass value) { SetChannelClass(value); return *this;}
88
90
97 inline const Aws::Vector<OutputDestination>& GetDestinations() const { return m_destinations; }
98 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
99 template<typename DestinationsT = Aws::Vector<OutputDestination>>
100 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations = std::forward<DestinationsT>(value); }
101 template<typename DestinationsT = Aws::Vector<OutputDestination>>
102 ChannelSummary& WithDestinations(DestinationsT&& value) { SetDestinations(std::forward<DestinationsT>(value)); return *this;}
103 template<typename DestinationsT = OutputDestination>
104 ChannelSummary& AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations.emplace_back(std::forward<DestinationsT>(value)); return *this; }
106
108
111 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const { return m_egressEndpoints; }
112 inline bool EgressEndpointsHasBeenSet() const { return m_egressEndpointsHasBeenSet; }
113 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
114 void SetEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints = std::forward<EgressEndpointsT>(value); }
115 template<typename EgressEndpointsT = Aws::Vector<ChannelEgressEndpoint>>
116 ChannelSummary& WithEgressEndpoints(EgressEndpointsT&& value) { SetEgressEndpoints(std::forward<EgressEndpointsT>(value)); return *this;}
117 template<typename EgressEndpointsT = ChannelEgressEndpoint>
118 ChannelSummary& AddEgressEndpoints(EgressEndpointsT&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints.emplace_back(std::forward<EgressEndpointsT>(value)); return *this; }
120
122
125 inline const Aws::String& GetId() const { return m_id; }
126 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
127 template<typename IdT = Aws::String>
128 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
129 template<typename IdT = Aws::String>
130 ChannelSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
132
134
137 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const { return m_inputAttachments; }
138 inline bool InputAttachmentsHasBeenSet() const { return m_inputAttachmentsHasBeenSet; }
139 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
140 void SetInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = std::forward<InputAttachmentsT>(value); }
141 template<typename InputAttachmentsT = Aws::Vector<InputAttachment>>
142 ChannelSummary& WithInputAttachments(InputAttachmentsT&& value) { SetInputAttachments(std::forward<InputAttachmentsT>(value)); return *this;}
143 template<typename InputAttachmentsT = InputAttachment>
144 ChannelSummary& AddInputAttachments(InputAttachmentsT&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.emplace_back(std::forward<InputAttachmentsT>(value)); return *this; }
146
148
151 inline const InputSpecification& GetInputSpecification() const { return m_inputSpecification; }
152 inline bool InputSpecificationHasBeenSet() const { return m_inputSpecificationHasBeenSet; }
153 template<typename InputSpecificationT = InputSpecification>
154 void SetInputSpecification(InputSpecificationT&& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = std::forward<InputSpecificationT>(value); }
155 template<typename InputSpecificationT = InputSpecification>
156 ChannelSummary& WithInputSpecification(InputSpecificationT&& value) { SetInputSpecification(std::forward<InputSpecificationT>(value)); return *this;}
158
160
163 inline LogLevel GetLogLevel() const { return m_logLevel; }
164 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
165 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
166 inline ChannelSummary& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
168
170
173 inline const MaintenanceStatus& GetMaintenance() const { return m_maintenance; }
174 inline bool MaintenanceHasBeenSet() const { return m_maintenanceHasBeenSet; }
175 template<typename MaintenanceT = MaintenanceStatus>
176 void SetMaintenance(MaintenanceT&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::forward<MaintenanceT>(value); }
177 template<typename MaintenanceT = MaintenanceStatus>
178 ChannelSummary& WithMaintenance(MaintenanceT&& value) { SetMaintenance(std::forward<MaintenanceT>(value)); return *this;}
180
182
185 inline const Aws::String& GetName() const { return m_name; }
186 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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 ChannelSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
192
194
197 inline int GetPipelinesRunningCount() const { return m_pipelinesRunningCount; }
198 inline bool PipelinesRunningCountHasBeenSet() const { return m_pipelinesRunningCountHasBeenSet; }
199 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
200 inline ChannelSummary& WithPipelinesRunningCount(int value) { SetPipelinesRunningCount(value); return *this;}
202
204
207 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
208 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
209 template<typename RoleArnT = Aws::String>
210 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
211 template<typename RoleArnT = Aws::String>
212 ChannelSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
214
216
217 inline ChannelState GetState() const { return m_state; }
218 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
219 inline void SetState(ChannelState value) { m_stateHasBeenSet = true; m_state = value; }
220 inline ChannelSummary& WithState(ChannelState value) { SetState(value); return *this;}
222
224
227 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
228 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
229 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
230 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
231 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 ChannelSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
233 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
234 ChannelSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
235 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
236 }
238
240
243 inline const VpcOutputSettingsDescription& GetVpc() const { return m_vpc; }
244 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
245 template<typename VpcT = VpcOutputSettingsDescription>
246 void SetVpc(VpcT&& value) { m_vpcHasBeenSet = true; m_vpc = std::forward<VpcT>(value); }
247 template<typename VpcT = VpcOutputSettingsDescription>
248 ChannelSummary& WithVpc(VpcT&& value) { SetVpc(std::forward<VpcT>(value)); return *this;}
250
252
255 inline const DescribeAnywhereSettings& GetAnywhereSettings() const { return m_anywhereSettings; }
256 inline bool AnywhereSettingsHasBeenSet() const { return m_anywhereSettingsHasBeenSet; }
257 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
258 void SetAnywhereSettings(AnywhereSettingsT&& value) { m_anywhereSettingsHasBeenSet = true; m_anywhereSettings = std::forward<AnywhereSettingsT>(value); }
259 template<typename AnywhereSettingsT = DescribeAnywhereSettings>
260 ChannelSummary& WithAnywhereSettings(AnywhereSettingsT&& value) { SetAnywhereSettings(std::forward<AnywhereSettingsT>(value)); return *this;}
262
264
267 inline const ChannelEngineVersionResponse& GetChannelEngineVersion() const { return m_channelEngineVersion; }
268 inline bool ChannelEngineVersionHasBeenSet() const { return m_channelEngineVersionHasBeenSet; }
269 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
270 void SetChannelEngineVersion(ChannelEngineVersionT&& value) { m_channelEngineVersionHasBeenSet = true; m_channelEngineVersion = std::forward<ChannelEngineVersionT>(value); }
271 template<typename ChannelEngineVersionT = ChannelEngineVersionResponse>
272 ChannelSummary& WithChannelEngineVersion(ChannelEngineVersionT&& value) { SetChannelEngineVersion(std::forward<ChannelEngineVersionT>(value)); return *this;}
274
276
279 inline const Aws::Vector<ChannelEngineVersionResponse>& GetUsedChannelEngineVersions() const { return m_usedChannelEngineVersions; }
280 inline bool UsedChannelEngineVersionsHasBeenSet() const { return m_usedChannelEngineVersionsHasBeenSet; }
281 template<typename UsedChannelEngineVersionsT = Aws::Vector<ChannelEngineVersionResponse>>
282 void SetUsedChannelEngineVersions(UsedChannelEngineVersionsT&& value) { m_usedChannelEngineVersionsHasBeenSet = true; m_usedChannelEngineVersions = std::forward<UsedChannelEngineVersionsT>(value); }
283 template<typename UsedChannelEngineVersionsT = Aws::Vector<ChannelEngineVersionResponse>>
284 ChannelSummary& WithUsedChannelEngineVersions(UsedChannelEngineVersionsT&& value) { SetUsedChannelEngineVersions(std::forward<UsedChannelEngineVersionsT>(value)); return *this;}
285 template<typename UsedChannelEngineVersionsT = ChannelEngineVersionResponse>
286 ChannelSummary& AddUsedChannelEngineVersions(UsedChannelEngineVersionsT&& value) { m_usedChannelEngineVersionsHasBeenSet = true; m_usedChannelEngineVersions.emplace_back(std::forward<UsedChannelEngineVersionsT>(value)); return *this; }
288 private:
289
290 Aws::String m_arn;
291 bool m_arnHasBeenSet = false;
292
293 CdiInputSpecification m_cdiInputSpecification;
294 bool m_cdiInputSpecificationHasBeenSet = false;
295
296 ChannelClass m_channelClass{ChannelClass::NOT_SET};
297 bool m_channelClassHasBeenSet = false;
298
299 Aws::Vector<OutputDestination> m_destinations;
300 bool m_destinationsHasBeenSet = false;
301
302 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
303 bool m_egressEndpointsHasBeenSet = false;
304
305 Aws::String m_id;
306 bool m_idHasBeenSet = false;
307
308 Aws::Vector<InputAttachment> m_inputAttachments;
309 bool m_inputAttachmentsHasBeenSet = false;
310
311 InputSpecification m_inputSpecification;
312 bool m_inputSpecificationHasBeenSet = false;
313
314 LogLevel m_logLevel{LogLevel::NOT_SET};
315 bool m_logLevelHasBeenSet = false;
316
317 MaintenanceStatus m_maintenance;
318 bool m_maintenanceHasBeenSet = false;
319
320 Aws::String m_name;
321 bool m_nameHasBeenSet = false;
322
323 int m_pipelinesRunningCount{0};
324 bool m_pipelinesRunningCountHasBeenSet = false;
325
326 Aws::String m_roleArn;
327 bool m_roleArnHasBeenSet = false;
328
330 bool m_stateHasBeenSet = false;
331
333 bool m_tagsHasBeenSet = false;
334
335 VpcOutputSettingsDescription m_vpc;
336 bool m_vpcHasBeenSet = false;
337
338 DescribeAnywhereSettings m_anywhereSettings;
339 bool m_anywhereSettingsHasBeenSet = false;
340
341 ChannelEngineVersionResponse m_channelEngineVersion;
342 bool m_channelEngineVersionHasBeenSet = false;
343
344 Aws::Vector<ChannelEngineVersionResponse> m_usedChannelEngineVersions;
345 bool m_usedChannelEngineVersionsHasBeenSet = false;
346 };
347
348} // namespace Model
349} // namespace MediaLive
350} // namespace Aws
void SetInputSpecification(InputSpecificationT &&value)
ChannelSummary & WithUsedChannelEngineVersions(UsedChannelEngineVersionsT &&value)
const Aws::String & GetArn() const
void SetUsedChannelEngineVersions(UsedChannelEngineVersionsT &&value)
void SetDestinations(DestinationsT &&value)
ChannelSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIALIVE_API ChannelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithCdiInputSpecification(CdiInputSpecificationT &&value)
ChannelSummary & WithLogLevel(LogLevel value)
ChannelSummary & WithInputSpecification(InputSpecificationT &&value)
ChannelSummary & WithRoleArn(RoleArnT &&value)
ChannelSummary & AddEgressEndpoints(EgressEndpointsT &&value)
ChannelSummary & AddUsedChannelEngineVersions(UsedChannelEngineVersionsT &&value)
void SetCdiInputSpecification(CdiInputSpecificationT &&value)
ChannelSummary & WithName(NameT &&value)
void SetMaintenance(MaintenanceT &&value)
ChannelSummary & WithEgressEndpoints(EgressEndpointsT &&value)
const MaintenanceStatus & GetMaintenance() const
void SetChannelClass(ChannelClass value)
ChannelSummary & WithMaintenance(MaintenanceT &&value)
ChannelSummary & WithInputAttachments(InputAttachmentsT &&value)
void SetEgressEndpoints(EgressEndpointsT &&value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
const VpcOutputSettingsDescription & GetVpc() const
void SetAnywhereSettings(AnywhereSettingsT &&value)
void SetInputAttachments(InputAttachmentsT &&value)
ChannelSummary & AddInputAttachments(InputAttachmentsT &&value)
ChannelSummary & WithChannelEngineVersion(ChannelEngineVersionT &&value)
const Aws::Vector< OutputDestination > & GetDestinations() const
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
const Aws::String & GetRoleArn() const
ChannelSummary & WithTags(TagsT &&value)
const Aws::String & GetId() const
AWS_MEDIALIVE_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithState(ChannelState value)
const DescribeAnywhereSettings & GetAnywhereSettings() const
AWS_MEDIALIVE_API ChannelSummary()=default
const ChannelEngineVersionResponse & GetChannelEngineVersion() const
ChannelSummary & WithArn(ArnT &&value)
ChannelSummary & WithAnywhereSettings(AnywhereSettingsT &&value)
const InputSpecification & GetInputSpecification() const
const Aws::String & GetName() const
const Aws::Vector< ChannelEngineVersionResponse > & GetUsedChannelEngineVersions() const
ChannelSummary & WithPipelinesRunningCount(int value)
ChannelSummary & WithId(IdT &&value)
ChannelSummary & WithVpc(VpcT &&value)
void SetChannelEngineVersion(ChannelEngineVersionT &&value)
ChannelSummary & WithDestinations(DestinationsT &&value)
ChannelSummary & WithChannelClass(ChannelClass value)
ChannelSummary & AddDestinations(DestinationsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const CdiInputSpecification & GetCdiInputSpecification() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
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