AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/OutputDestination.h>
20#include <aws/medialive/model/ChannelEgressEndpoint.h>
21#include <aws/medialive/model/InputAttachment.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace MediaLive
35{
36namespace Model
37{
38
45 {
46 public:
47 AWS_MEDIALIVE_API ChannelSummary();
48 AWS_MEDIALIVE_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue);
50 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
62 inline ChannelSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline ChannelSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline ChannelSummary& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const CdiInputSpecification& GetCdiInputSpecification() const{ return m_cdiInputSpecification; }
72 inline bool CdiInputSpecificationHasBeenSet() const { return m_cdiInputSpecificationHasBeenSet; }
73 inline void SetCdiInputSpecification(const CdiInputSpecification& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = value; }
74 inline void SetCdiInputSpecification(CdiInputSpecification&& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = std::move(value); }
78
80
84 inline const ChannelClass& GetChannelClass() const{ return m_channelClass; }
85 inline bool ChannelClassHasBeenSet() const { return m_channelClassHasBeenSet; }
86 inline void SetChannelClass(const ChannelClass& value) { m_channelClassHasBeenSet = true; m_channelClass = value; }
87 inline void SetChannelClass(ChannelClass&& value) { m_channelClassHasBeenSet = true; m_channelClass = std::move(value); }
88 inline ChannelSummary& WithChannelClass(const ChannelClass& value) { SetChannelClass(value); return *this;}
89 inline ChannelSummary& WithChannelClass(ChannelClass&& value) { SetChannelClass(std::move(value)); return *this;}
91
93
100 inline const Aws::Vector<OutputDestination>& GetDestinations() const{ return m_destinations; }
101 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
102 inline void SetDestinations(const Aws::Vector<OutputDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
103 inline void SetDestinations(Aws::Vector<OutputDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
105 inline ChannelSummary& WithDestinations(Aws::Vector<OutputDestination>&& value) { SetDestinations(std::move(value)); return *this;}
106 inline ChannelSummary& AddDestinations(const OutputDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
107 inline ChannelSummary& AddDestinations(OutputDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
109
111
114 inline const Aws::Vector<ChannelEgressEndpoint>& GetEgressEndpoints() const{ return m_egressEndpoints; }
115 inline bool EgressEndpointsHasBeenSet() const { return m_egressEndpointsHasBeenSet; }
116 inline void SetEgressEndpoints(const Aws::Vector<ChannelEgressEndpoint>& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints = value; }
117 inline void SetEgressEndpoints(Aws::Vector<ChannelEgressEndpoint>&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints = std::move(value); }
120 inline ChannelSummary& AddEgressEndpoints(const ChannelEgressEndpoint& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints.push_back(value); return *this; }
121 inline ChannelSummary& AddEgressEndpoints(ChannelEgressEndpoint&& value) { m_egressEndpointsHasBeenSet = true; m_egressEndpoints.push_back(std::move(value)); return *this; }
123
125
128 inline const Aws::String& GetId() const{ return m_id; }
129 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
130 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
131 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
132 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
133 inline ChannelSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
134 inline ChannelSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
135 inline ChannelSummary& WithId(const char* value) { SetId(value); return *this;}
137
139
142 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const{ return m_inputAttachments; }
143 inline bool InputAttachmentsHasBeenSet() const { return m_inputAttachmentsHasBeenSet; }
144 inline void SetInputAttachments(const Aws::Vector<InputAttachment>& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = value; }
145 inline void SetInputAttachments(Aws::Vector<InputAttachment>&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = std::move(value); }
147 inline ChannelSummary& WithInputAttachments(Aws::Vector<InputAttachment>&& value) { SetInputAttachments(std::move(value)); return *this;}
148 inline ChannelSummary& AddInputAttachments(const InputAttachment& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.push_back(value); return *this; }
149 inline ChannelSummary& AddInputAttachments(InputAttachment&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.push_back(std::move(value)); return *this; }
151
153
156 inline const InputSpecification& GetInputSpecification() const{ return m_inputSpecification; }
157 inline bool InputSpecificationHasBeenSet() const { return m_inputSpecificationHasBeenSet; }
158 inline void SetInputSpecification(const InputSpecification& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = value; }
159 inline void SetInputSpecification(InputSpecification&& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = std::move(value); }
161 inline ChannelSummary& WithInputSpecification(InputSpecification&& value) { SetInputSpecification(std::move(value)); return *this;}
163
165
168 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
169 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
170 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
171 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
172 inline ChannelSummary& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
173 inline ChannelSummary& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
175
177
180 inline const MaintenanceStatus& GetMaintenance() const{ return m_maintenance; }
181 inline bool MaintenanceHasBeenSet() const { return m_maintenanceHasBeenSet; }
182 inline void SetMaintenance(const MaintenanceStatus& value) { m_maintenanceHasBeenSet = true; m_maintenance = value; }
183 inline void SetMaintenance(MaintenanceStatus&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::move(value); }
184 inline ChannelSummary& WithMaintenance(const MaintenanceStatus& value) { SetMaintenance(value); return *this;}
185 inline ChannelSummary& WithMaintenance(MaintenanceStatus&& value) { SetMaintenance(std::move(value)); return *this;}
187
189
192 inline const Aws::String& GetName() const{ return m_name; }
193 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
194 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
195 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
196 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
197 inline ChannelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
198 inline ChannelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
199 inline ChannelSummary& WithName(const char* value) { SetName(value); return *this;}
201
203
206 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
207 inline bool PipelinesRunningCountHasBeenSet() const { return m_pipelinesRunningCountHasBeenSet; }
208 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
209 inline ChannelSummary& WithPipelinesRunningCount(int value) { SetPipelinesRunningCount(value); return *this;}
211
213
216 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
217 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
218 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
219 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
220 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
221 inline ChannelSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
222 inline ChannelSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
223 inline ChannelSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
225
227
228 inline const ChannelState& GetState() const{ return m_state; }
229 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
230 inline void SetState(const ChannelState& value) { m_stateHasBeenSet = true; m_state = value; }
231 inline void SetState(ChannelState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
232 inline ChannelSummary& WithState(const ChannelState& value) { SetState(value); return *this;}
233 inline ChannelSummary& WithState(ChannelState&& value) { SetState(std::move(value)); return *this;}
235
237
240 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
241 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
242 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
243 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
244 inline ChannelSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
245 inline ChannelSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
246 inline ChannelSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
247 inline ChannelSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
248 inline ChannelSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
249 inline ChannelSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
250 inline ChannelSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
251 inline ChannelSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
252 inline ChannelSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
254
256
259 inline const VpcOutputSettingsDescription& GetVpc() const{ return m_vpc; }
260 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
261 inline void SetVpc(const VpcOutputSettingsDescription& value) { m_vpcHasBeenSet = true; m_vpc = value; }
262 inline void SetVpc(VpcOutputSettingsDescription&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
263 inline ChannelSummary& WithVpc(const VpcOutputSettingsDescription& value) { SetVpc(value); return *this;}
264 inline ChannelSummary& WithVpc(VpcOutputSettingsDescription&& value) { SetVpc(std::move(value)); return *this;}
266
268
271 inline const DescribeAnywhereSettings& GetAnywhereSettings() const{ return m_anywhereSettings; }
272 inline bool AnywhereSettingsHasBeenSet() const { return m_anywhereSettingsHasBeenSet; }
273 inline void SetAnywhereSettings(const DescribeAnywhereSettings& value) { m_anywhereSettingsHasBeenSet = true; m_anywhereSettings = value; }
274 inline void SetAnywhereSettings(DescribeAnywhereSettings&& value) { m_anywhereSettingsHasBeenSet = true; m_anywhereSettings = std::move(value); }
276 inline ChannelSummary& WithAnywhereSettings(DescribeAnywhereSettings&& value) { SetAnywhereSettings(std::move(value)); return *this;}
278 private:
279
280 Aws::String m_arn;
281 bool m_arnHasBeenSet = false;
282
283 CdiInputSpecification m_cdiInputSpecification;
284 bool m_cdiInputSpecificationHasBeenSet = false;
285
286 ChannelClass m_channelClass;
287 bool m_channelClassHasBeenSet = false;
288
289 Aws::Vector<OutputDestination> m_destinations;
290 bool m_destinationsHasBeenSet = false;
291
292 Aws::Vector<ChannelEgressEndpoint> m_egressEndpoints;
293 bool m_egressEndpointsHasBeenSet = false;
294
295 Aws::String m_id;
296 bool m_idHasBeenSet = false;
297
298 Aws::Vector<InputAttachment> m_inputAttachments;
299 bool m_inputAttachmentsHasBeenSet = false;
300
301 InputSpecification m_inputSpecification;
302 bool m_inputSpecificationHasBeenSet = false;
303
304 LogLevel m_logLevel;
305 bool m_logLevelHasBeenSet = false;
306
307 MaintenanceStatus m_maintenance;
308 bool m_maintenanceHasBeenSet = false;
309
310 Aws::String m_name;
311 bool m_nameHasBeenSet = false;
312
313 int m_pipelinesRunningCount;
314 bool m_pipelinesRunningCountHasBeenSet = false;
315
316 Aws::String m_roleArn;
317 bool m_roleArnHasBeenSet = false;
318
319 ChannelState m_state;
320 bool m_stateHasBeenSet = false;
321
323 bool m_tagsHasBeenSet = false;
324
326 bool m_vpcHasBeenSet = false;
327
328 DescribeAnywhereSettings m_anywhereSettings;
329 bool m_anywhereSettingsHasBeenSet = false;
330 };
331
332} // namespace Model
333} // namespace MediaLive
334} // namespace Aws
void SetState(const ChannelState &value)
ChannelSummary & AddInputAttachments(const InputAttachment &value)
void SetMaintenance(const MaintenanceStatus &value)
const Aws::String & GetArn() const
ChannelSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetCdiInputSpecification(const CdiInputSpecification &value)
ChannelSummary & WithRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
ChannelSummary & AddTags(const char *key, Aws::String &&value)
ChannelSummary & WithDestinations(Aws::Vector< OutputDestination > &&value)
ChannelSummary & WithMaintenance(MaintenanceStatus &&value)
ChannelSummary & WithMaintenance(const MaintenanceStatus &value)
AWS_MEDIALIVE_API ChannelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithName(const char *value)
ChannelSummary & WithAnywhereSettings(DescribeAnywhereSettings &&value)
ChannelSummary & WithName(const Aws::String &value)
ChannelSummary & WithRoleArn(const Aws::String &value)
void SetName(Aws::String &&value)
ChannelSummary & WithId(const char *value)
ChannelSummary & WithLogLevel(LogLevel &&value)
ChannelSummary & AddDestinations(const OutputDestination &value)
ChannelSummary & WithArn(const char *value)
ChannelSummary & WithState(const ChannelState &value)
ChannelSummary & WithInputAttachments(const Aws::Vector< InputAttachment > &value)
void SetArn(const Aws::String &value)
void SetChannelClass(const ChannelClass &value)
ChannelSummary & AddTags(Aws::String &&key, const char *value)
ChannelSummary & WithCdiInputSpecification(const CdiInputSpecification &value)
ChannelSummary & WithEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&value)
ChannelSummary & WithLogLevel(const LogLevel &value)
ChannelSummary & WithEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
void SetInputAttachments(const Aws::Vector< InputAttachment > &value)
void SetAnywhereSettings(const DescribeAnywhereSettings &value)
ChannelSummary & AddDestinations(OutputDestination &&value)
ChannelSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinations(Aws::Vector< OutputDestination > &&value)
ChannelSummary & WithVpc(VpcOutputSettingsDescription &&value)
ChannelSummary & WithInputSpecification(InputSpecification &&value)
const MaintenanceStatus & GetMaintenance() const
const Aws::Vector< InputAttachment > & GetInputAttachments() const
const LogLevel & GetLogLevel() const
void SetName(const Aws::String &value)
const VpcOutputSettingsDescription & GetVpc() const
void SetLogLevel(const LogLevel &value)
const ChannelState & GetState() const
void SetAnywhereSettings(DescribeAnywhereSettings &&value)
ChannelSummary & WithCdiInputSpecification(CdiInputSpecification &&value)
ChannelSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetMaintenance(MaintenanceStatus &&value)
void SetDestinations(const Aws::Vector< OutputDestination > &value)
const Aws::Vector< OutputDestination > & GetDestinations() const
ChannelSummary & WithAnywhereSettings(const DescribeAnywhereSettings &value)
const Aws::Vector< ChannelEgressEndpoint > & GetEgressEndpoints() const
const ChannelClass & GetChannelClass() const
ChannelSummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetRoleArn() const
ChannelSummary & WithVpc(const VpcOutputSettingsDescription &value)
ChannelSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ChannelSummary & WithRoleArn(Aws::String &&value)
ChannelSummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetId() const
AWS_MEDIALIVE_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue)
void SetState(ChannelState &&value)
ChannelSummary & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
const DescribeAnywhereSettings & GetAnywhereSettings() const
ChannelSummary & WithChannelClass(ChannelClass &&value)
void SetArn(Aws::String &&value)
ChannelSummary & WithChannelClass(const ChannelClass &value)
ChannelSummary & WithArn(const Aws::String &value)
ChannelSummary & WithInputAttachments(Aws::Vector< InputAttachment > &&value)
ChannelSummary & AddEgressEndpoints(ChannelEgressEndpoint &&value)
void SetRoleArn(const Aws::String &value)
const InputSpecification & GetInputSpecification() const
void SetChannelClass(ChannelClass &&value)
const Aws::String & GetName() const
ChannelSummary & AddInputAttachments(InputAttachment &&value)
void SetVpc(const VpcOutputSettingsDescription &value)
ChannelSummary & AddTags(const char *key, const char *value)
void SetCdiInputSpecification(CdiInputSpecification &&value)
ChannelSummary & WithArn(Aws::String &&value)
ChannelSummary & WithInputSpecification(const InputSpecification &value)
ChannelSummary & WithPipelinesRunningCount(int value)
ChannelSummary & WithDestinations(const Aws::Vector< OutputDestination > &value)
void SetEgressEndpoints(const Aws::Vector< ChannelEgressEndpoint > &value)
ChannelSummary & WithName(Aws::String &&value)
void SetEgressEndpoints(Aws::Vector< ChannelEgressEndpoint > &&value)
void SetInputAttachments(Aws::Vector< InputAttachment > &&value)
void SetInputSpecification(InputSpecification &&value)
void SetVpc(VpcOutputSettingsDescription &&value)
ChannelSummary & WithId(const Aws::String &value)
void SetInputSpecification(const InputSpecification &value)
ChannelSummary & AddEgressEndpoints(const ChannelEgressEndpoint &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const CdiInputSpecification & GetCdiInputSpecification() const
ChannelSummary & WithState(ChannelState &&value)
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