AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
RouterOutput.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
12#include <aws/mediaconnect/model/FabricConfiguration.h>
13#include <aws/mediaconnect/model/MaintenanceConfiguration.h>
14#include <aws/mediaconnect/model/MaintenanceSchedule.h>
15#include <aws/mediaconnect/model/MaintenanceScheduleType.h>
16#include <aws/mediaconnect/model/MaintenanceType.h>
17#include <aws/mediaconnect/model/RouterOutputConfiguration.h>
18#include <aws/mediaconnect/model/RouterOutputMessage.h>
19#include <aws/mediaconnect/model/RouterOutputRoutedState.h>
20#include <aws/mediaconnect/model/RouterOutputState.h>
21#include <aws/mediaconnect/model/RouterOutputStreamDetails.h>
22#include <aws/mediaconnect/model/RouterOutputTier.h>
23#include <aws/mediaconnect/model/RouterOutputType.h>
24#include <aws/mediaconnect/model/RoutingScope.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace MediaConnect {
36namespace Model {
37
46 public:
47 AWS_MEDIACONNECT_API RouterOutput() = default;
48 AWS_MEDIACONNECT_API RouterOutput(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MEDIACONNECT_API RouterOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 RouterOutput& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetArn() const { return m_arn; }
75 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
76 template <typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) {
78 m_arnHasBeenSet = true;
79 m_arn = std::forward<ArnT>(value);
80 }
81 template <typename ArnT = Aws::String>
82 RouterOutput& WithArn(ArnT&& value) {
83 SetArn(std::forward<ArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetId() const { return m_id; }
93 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
94 template <typename IdT = Aws::String>
95 void SetId(IdT&& value) {
96 m_idHasBeenSet = true;
97 m_id = std::forward<IdT>(value);
98 }
99 template <typename IdT = Aws::String>
100 RouterOutput& WithId(IdT&& value) {
101 SetId(std::forward<IdT>(value));
102 return *this;
103 }
105
107
110 inline RouterOutputState GetState() const { return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(RouterOutputState value) {
113 m_stateHasBeenSet = true;
114 m_state = value;
115 }
117 SetState(value);
118 return *this;
119 }
121
123
126 inline RouterOutputType GetOutputType() const { return m_outputType; }
127 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
128 inline void SetOutputType(RouterOutputType value) {
129 m_outputTypeHasBeenSet = true;
130 m_outputType = value;
131 }
133 SetOutputType(value);
134 return *this;
135 }
137
139
140 inline const RouterOutputConfiguration& GetConfiguration() const { return m_configuration; }
141 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
142 template <typename ConfigurationT = RouterOutputConfiguration>
143 void SetConfiguration(ConfigurationT&& value) {
144 m_configurationHasBeenSet = true;
145 m_configuration = std::forward<ConfigurationT>(value);
146 }
147 template <typename ConfigurationT = RouterOutputConfiguration>
148 RouterOutput& WithConfiguration(ConfigurationT&& value) {
149 SetConfiguration(std::forward<ConfigurationT>(value));
150 return *this;
151 }
153
155
159 inline RouterOutputRoutedState GetRoutedState() const { return m_routedState; }
160 inline bool RoutedStateHasBeenSet() const { return m_routedStateHasBeenSet; }
162 m_routedStateHasBeenSet = true;
163 m_routedState = value;
164 }
166 SetRoutedState(value);
167 return *this;
168 }
170
172
175 inline const Aws::String& GetRegionName() const { return m_regionName; }
176 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
177 template <typename RegionNameT = Aws::String>
178 void SetRegionName(RegionNameT&& value) {
179 m_regionNameHasBeenSet = true;
180 m_regionName = std::forward<RegionNameT>(value);
181 }
182 template <typename RegionNameT = Aws::String>
183 RouterOutput& WithRegionName(RegionNameT&& value) {
184 SetRegionName(std::forward<RegionNameT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
194 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
195 template <typename AvailabilityZoneT = Aws::String>
196 void SetAvailabilityZone(AvailabilityZoneT&& value) {
197 m_availabilityZoneHasBeenSet = true;
198 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
199 }
200 template <typename AvailabilityZoneT = Aws::String>
201 RouterOutput& WithAvailabilityZone(AvailabilityZoneT&& value) {
202 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
203 return *this;
204 }
206
208
211 inline long long GetMaximumBitrate() const { return m_maximumBitrate; }
212 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
213 inline void SetMaximumBitrate(long long value) {
214 m_maximumBitrateHasBeenSet = true;
215 m_maximumBitrate = value;
216 }
217 inline RouterOutput& WithMaximumBitrate(long long value) {
218 SetMaximumBitrate(value);
219 return *this;
220 }
222
224
228 inline RoutingScope GetRoutingScope() const { return m_routingScope; }
229 inline bool RoutingScopeHasBeenSet() const { return m_routingScopeHasBeenSet; }
230 inline void SetRoutingScope(RoutingScope value) {
231 m_routingScopeHasBeenSet = true;
232 m_routingScope = value;
233 }
235 SetRoutingScope(value);
236 return *this;
237 }
239
241
244 inline RouterOutputTier GetTier() const { return m_tier; }
245 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
246 inline void SetTier(RouterOutputTier value) {
247 m_tierHasBeenSet = true;
248 m_tier = value;
249 }
251 SetTier(value);
252 return *this;
253 }
255
257
260 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
261 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
262 template <typename CreatedAtT = Aws::Utils::DateTime>
263 void SetCreatedAt(CreatedAtT&& value) {
264 m_createdAtHasBeenSet = true;
265 m_createdAt = std::forward<CreatedAtT>(value);
266 }
267 template <typename CreatedAtT = Aws::Utils::DateTime>
268 RouterOutput& WithCreatedAt(CreatedAtT&& value) {
269 SetCreatedAt(std::forward<CreatedAtT>(value));
270 return *this;
271 }
273
275
278 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
279 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
280 template <typename UpdatedAtT = Aws::Utils::DateTime>
281 void SetUpdatedAt(UpdatedAtT&& value) {
282 m_updatedAtHasBeenSet = true;
283 m_updatedAt = std::forward<UpdatedAtT>(value);
284 }
285 template <typename UpdatedAtT = Aws::Utils::DateTime>
286 RouterOutput& WithUpdatedAt(UpdatedAtT&& value) {
287 SetUpdatedAt(std::forward<UpdatedAtT>(value));
288 return *this;
289 }
291
293
296 inline const Aws::Vector<RouterOutputMessage>& GetMessages() const { return m_messages; }
297 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
298 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
299 void SetMessages(MessagesT&& value) {
300 m_messagesHasBeenSet = true;
301 m_messages = std::forward<MessagesT>(value);
302 }
303 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
304 RouterOutput& WithMessages(MessagesT&& value) {
305 SetMessages(std::forward<MessagesT>(value));
306 return *this;
307 }
308 template <typename MessagesT = RouterOutputMessage>
309 RouterOutput& AddMessages(MessagesT&& value) {
310 m_messagesHasBeenSet = true;
311 m_messages.emplace_back(std::forward<MessagesT>(value));
312 return *this;
313 }
315
317
320 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
321 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
322 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
323 void SetTags(TagsT&& value) {
324 m_tagsHasBeenSet = true;
325 m_tags = std::forward<TagsT>(value);
326 }
327 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
328 RouterOutput& WithTags(TagsT&& value) {
329 SetTags(std::forward<TagsT>(value));
330 return *this;
331 }
332 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
333 RouterOutput& AddTags(TagsKeyT&& key, TagsValueT&& value) {
334 m_tagsHasBeenSet = true;
335 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
336 return *this;
337 }
339
341
342 inline const RouterOutputStreamDetails& GetStreamDetails() const { return m_streamDetails; }
343 inline bool StreamDetailsHasBeenSet() const { return m_streamDetailsHasBeenSet; }
344 template <typename StreamDetailsT = RouterOutputStreamDetails>
345 void SetStreamDetails(StreamDetailsT&& value) {
346 m_streamDetailsHasBeenSet = true;
347 m_streamDetails = std::forward<StreamDetailsT>(value);
348 }
349 template <typename StreamDetailsT = RouterOutputStreamDetails>
350 RouterOutput& WithStreamDetails(StreamDetailsT&& value) {
351 SetStreamDetails(std::forward<StreamDetailsT>(value));
352 return *this;
353 }
355
357
360 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
361 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
362 template <typename IpAddressT = Aws::String>
363 void SetIpAddress(IpAddressT&& value) {
364 m_ipAddressHasBeenSet = true;
365 m_ipAddress = std::forward<IpAddressT>(value);
366 }
367 template <typename IpAddressT = Aws::String>
368 RouterOutput& WithIpAddress(IpAddressT&& value) {
369 SetIpAddress(std::forward<IpAddressT>(value));
370 return *this;
371 }
373
375
379 inline const Aws::String& GetRoutedInputArn() const { return m_routedInputArn; }
380 inline bool RoutedInputArnHasBeenSet() const { return m_routedInputArnHasBeenSet; }
381 template <typename RoutedInputArnT = Aws::String>
382 void SetRoutedInputArn(RoutedInputArnT&& value) {
383 m_routedInputArnHasBeenSet = true;
384 m_routedInputArn = std::forward<RoutedInputArnT>(value);
385 }
386 template <typename RoutedInputArnT = Aws::String>
387 RouterOutput& WithRoutedInputArn(RoutedInputArnT&& value) {
388 SetRoutedInputArn(std::forward<RoutedInputArnT>(value));
389 return *this;
390 }
392
394
397 inline MaintenanceType GetMaintenanceType() const { return m_maintenanceType; }
398 inline bool MaintenanceTypeHasBeenSet() const { return m_maintenanceTypeHasBeenSet; }
400 m_maintenanceTypeHasBeenSet = true;
401 m_maintenanceType = value;
402 }
404 SetMaintenanceType(value);
405 return *this;
406 }
408
410
413 inline const MaintenanceConfiguration& GetMaintenanceConfiguration() const { return m_maintenanceConfiguration; }
414 inline bool MaintenanceConfigurationHasBeenSet() const { return m_maintenanceConfigurationHasBeenSet; }
415 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
416 void SetMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
417 m_maintenanceConfigurationHasBeenSet = true;
418 m_maintenanceConfiguration = std::forward<MaintenanceConfigurationT>(value);
419 }
420 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
421 RouterOutput& WithMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
422 SetMaintenanceConfiguration(std::forward<MaintenanceConfigurationT>(value));
423 return *this;
424 }
426
428
432 inline MaintenanceScheduleType GetMaintenanceScheduleType() const { return m_maintenanceScheduleType; }
433 inline bool MaintenanceScheduleTypeHasBeenSet() const { return m_maintenanceScheduleTypeHasBeenSet; }
435 m_maintenanceScheduleTypeHasBeenSet = true;
436 m_maintenanceScheduleType = value;
437 }
440 return *this;
441 }
443
445
448 inline const MaintenanceSchedule& GetMaintenanceSchedule() const { return m_maintenanceSchedule; }
449 inline bool MaintenanceScheduleHasBeenSet() const { return m_maintenanceScheduleHasBeenSet; }
450 template <typename MaintenanceScheduleT = MaintenanceSchedule>
451 void SetMaintenanceSchedule(MaintenanceScheduleT&& value) {
452 m_maintenanceScheduleHasBeenSet = true;
453 m_maintenanceSchedule = std::forward<MaintenanceScheduleT>(value);
454 }
455 template <typename MaintenanceScheduleT = MaintenanceSchedule>
456 RouterOutput& WithMaintenanceSchedule(MaintenanceScheduleT&& value) {
457 SetMaintenanceSchedule(std::forward<MaintenanceScheduleT>(value));
458 return *this;
459 }
461
463
466 inline const FabricConfiguration& GetFabricConfiguration() const { return m_fabricConfiguration; }
467 inline bool FabricConfigurationHasBeenSet() const { return m_fabricConfigurationHasBeenSet; }
468 template <typename FabricConfigurationT = FabricConfiguration>
469 void SetFabricConfiguration(FabricConfigurationT&& value) {
470 m_fabricConfigurationHasBeenSet = true;
471 m_fabricConfiguration = std::forward<FabricConfigurationT>(value);
472 }
473 template <typename FabricConfigurationT = FabricConfiguration>
474 RouterOutput& WithFabricConfiguration(FabricConfigurationT&& value) {
475 SetFabricConfiguration(std::forward<FabricConfigurationT>(value));
476 return *this;
477 }
479 private:
480 Aws::String m_name;
481
482 Aws::String m_arn;
483
484 Aws::String m_id;
485
487
489
490 RouterOutputConfiguration m_configuration;
491
493
494 Aws::String m_regionName;
495
496 Aws::String m_availabilityZone;
497
498 long long m_maximumBitrate{0};
499
500 RoutingScope m_routingScope{RoutingScope::NOT_SET};
501
503
504 Aws::Utils::DateTime m_createdAt{};
505
506 Aws::Utils::DateTime m_updatedAt{};
507
509
511
512 RouterOutputStreamDetails m_streamDetails;
513
514 Aws::String m_ipAddress;
515
516 Aws::String m_routedInputArn;
517
518 MaintenanceType m_maintenanceType{MaintenanceType::NOT_SET};
519
520 MaintenanceConfiguration m_maintenanceConfiguration;
521
523
524 MaintenanceSchedule m_maintenanceSchedule;
525
526 FabricConfiguration m_fabricConfiguration;
527 bool m_nameHasBeenSet = false;
528 bool m_arnHasBeenSet = false;
529 bool m_idHasBeenSet = false;
530 bool m_stateHasBeenSet = false;
531 bool m_outputTypeHasBeenSet = false;
532 bool m_configurationHasBeenSet = false;
533 bool m_routedStateHasBeenSet = false;
534 bool m_regionNameHasBeenSet = false;
535 bool m_availabilityZoneHasBeenSet = false;
536 bool m_maximumBitrateHasBeenSet = false;
537 bool m_routingScopeHasBeenSet = false;
538 bool m_tierHasBeenSet = false;
539 bool m_createdAtHasBeenSet = false;
540 bool m_updatedAtHasBeenSet = false;
541 bool m_messagesHasBeenSet = false;
542 bool m_tagsHasBeenSet = false;
543 bool m_streamDetailsHasBeenSet = false;
544 bool m_ipAddressHasBeenSet = false;
545 bool m_routedInputArnHasBeenSet = false;
546 bool m_maintenanceTypeHasBeenSet = false;
547 bool m_maintenanceConfigurationHasBeenSet = false;
548 bool m_maintenanceScheduleTypeHasBeenSet = false;
549 bool m_maintenanceScheduleHasBeenSet = false;
550 bool m_fabricConfigurationHasBeenSet = false;
551};
552
553} // namespace Model
554} // namespace MediaConnect
555} // namespace Aws
void SetAvailabilityZone(AvailabilityZoneT &&value)
RouterOutput & WithMessages(MessagesT &&value)
RouterOutput & WithState(RouterOutputState value)
RouterOutput & WithTags(TagsT &&value)
void SetMaintenanceConfiguration(MaintenanceConfigurationT &&value)
RouterOutput & WithName(NameT &&value)
void SetOutputType(RouterOutputType value)
RouterOutput & WithRoutedState(RouterOutputRoutedState value)
RouterOutput & WithOutputType(RouterOutputType value)
const Aws::Utils::DateTime & GetUpdatedAt() const
RouterOutput & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetMaximumBitrate(long long value)
const Aws::String & GetId() const
const FabricConfiguration & GetFabricConfiguration() const
RouterOutput & WithTier(RouterOutputTier value)
RouterOutput & WithFabricConfiguration(FabricConfigurationT &&value)
RouterOutputRoutedState GetRoutedState() const
RouterOutputType GetOutputType() const
const RouterOutputConfiguration & GetConfiguration() const
RouterOutput & WithUpdatedAt(UpdatedAtT &&value)
void SetRegionName(RegionNameT &&value)
RouterOutput & WithMaintenanceConfiguration(MaintenanceConfigurationT &&value)
RouterOutput & WithMaintenanceType(MaintenanceType value)
RouterOutput & WithRegionName(RegionNameT &&value)
void SetIpAddress(IpAddressT &&value)
void SetState(RouterOutputState value)
RouterOutput & WithRoutedInputArn(RoutedInputArnT &&value)
void SetTier(RouterOutputTier value)
AWS_MEDIACONNECT_API RouterOutput()=default
RouterOutput & WithMaintenanceSchedule(MaintenanceScheduleT &&value)
void SetMessages(MessagesT &&value)
const Aws::String & GetArn() const
const MaintenanceSchedule & GetMaintenanceSchedule() const
AWS_MEDIACONNECT_API RouterOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegionName() const
void SetRoutingScope(RoutingScope value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRoutedInputArn(RoutedInputArnT &&value)
const Aws::String & GetAvailabilityZone() const
RouterOutput & WithRoutingScope(RoutingScope value)
RouterOutput & AddMessages(MessagesT &&value)
RouterOutput & WithId(IdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMaintenanceType(MaintenanceType value)
void SetConfiguration(ConfigurationT &&value)
void SetMaintenanceScheduleType(MaintenanceScheduleType value)
void SetMaintenanceSchedule(MaintenanceScheduleT &&value)
RouterOutput & WithStreamDetails(StreamDetailsT &&value)
const Aws::String & GetIpAddress() const
void SetUpdatedAt(UpdatedAtT &&value)
RouterOutput & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
void SetStreamDetails(StreamDetailsT &&value)
RouterOutput & WithMaximumBitrate(long long value)
MaintenanceScheduleType GetMaintenanceScheduleType() const
AWS_MEDIACONNECT_API RouterOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
RouterOutput & WithIpAddress(IpAddressT &&value)
RouterOutput & WithMaintenanceScheduleType(MaintenanceScheduleType value)
const RouterOutputStreamDetails & GetStreamDetails() const
void SetFabricConfiguration(FabricConfigurationT &&value)
const Aws::Vector< RouterOutputMessage > & GetMessages() const
RouterOutputState GetState() const
RouterOutput & WithConfiguration(ConfigurationT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RouterOutput & WithCreatedAt(CreatedAtT &&value)
void SetRoutedState(RouterOutputRoutedState value)
const MaintenanceConfiguration & GetMaintenanceConfiguration() const
MaintenanceType GetMaintenanceType() const
const Aws::String & GetRoutedInputArn() const
RouterOutput & WithArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&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