AWS SDK for C++

AWS SDK for C++ Version 1.11.911

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
250 inline RouterOutputTier GetTier() const { return m_tier; }
251 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
252 inline void SetTier(RouterOutputTier value) {
253 m_tierHasBeenSet = true;
254 m_tier = value;
255 }
257 SetTier(value);
258 return *this;
259 }
261
263
266 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
267 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
268 template <typename CreatedAtT = Aws::Utils::DateTime>
269 void SetCreatedAt(CreatedAtT&& value) {
270 m_createdAtHasBeenSet = true;
271 m_createdAt = std::forward<CreatedAtT>(value);
272 }
273 template <typename CreatedAtT = Aws::Utils::DateTime>
274 RouterOutput& WithCreatedAt(CreatedAtT&& value) {
275 SetCreatedAt(std::forward<CreatedAtT>(value));
276 return *this;
277 }
279
281
284 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
285 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
286 template <typename UpdatedAtT = Aws::Utils::DateTime>
287 void SetUpdatedAt(UpdatedAtT&& value) {
288 m_updatedAtHasBeenSet = true;
289 m_updatedAt = std::forward<UpdatedAtT>(value);
290 }
291 template <typename UpdatedAtT = Aws::Utils::DateTime>
292 RouterOutput& WithUpdatedAt(UpdatedAtT&& value) {
293 SetUpdatedAt(std::forward<UpdatedAtT>(value));
294 return *this;
295 }
297
299
302 inline const Aws::Vector<RouterOutputMessage>& GetMessages() const { return m_messages; }
303 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
304 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
305 void SetMessages(MessagesT&& value) {
306 m_messagesHasBeenSet = true;
307 m_messages = std::forward<MessagesT>(value);
308 }
309 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
310 RouterOutput& WithMessages(MessagesT&& value) {
311 SetMessages(std::forward<MessagesT>(value));
312 return *this;
313 }
314 template <typename MessagesT = RouterOutputMessage>
315 RouterOutput& AddMessages(MessagesT&& value) {
316 m_messagesHasBeenSet = true;
317 m_messages.emplace_back(std::forward<MessagesT>(value));
318 return *this;
319 }
321
323
326 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
327 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
328 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
329 void SetTags(TagsT&& value) {
330 m_tagsHasBeenSet = true;
331 m_tags = std::forward<TagsT>(value);
332 }
333 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
334 RouterOutput& WithTags(TagsT&& value) {
335 SetTags(std::forward<TagsT>(value));
336 return *this;
337 }
338 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
339 RouterOutput& AddTags(TagsKeyT&& key, TagsValueT&& value) {
340 m_tagsHasBeenSet = true;
341 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
342 return *this;
343 }
345
347
348 inline const RouterOutputStreamDetails& GetStreamDetails() const { return m_streamDetails; }
349 inline bool StreamDetailsHasBeenSet() const { return m_streamDetailsHasBeenSet; }
350 template <typename StreamDetailsT = RouterOutputStreamDetails>
351 void SetStreamDetails(StreamDetailsT&& value) {
352 m_streamDetailsHasBeenSet = true;
353 m_streamDetails = std::forward<StreamDetailsT>(value);
354 }
355 template <typename StreamDetailsT = RouterOutputStreamDetails>
356 RouterOutput& WithStreamDetails(StreamDetailsT&& value) {
357 SetStreamDetails(std::forward<StreamDetailsT>(value));
358 return *this;
359 }
361
363
366 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
367 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
368 template <typename IpAddressT = Aws::String>
369 void SetIpAddress(IpAddressT&& value) {
370 m_ipAddressHasBeenSet = true;
371 m_ipAddress = std::forward<IpAddressT>(value);
372 }
373 template <typename IpAddressT = Aws::String>
374 RouterOutput& WithIpAddress(IpAddressT&& value) {
375 SetIpAddress(std::forward<IpAddressT>(value));
376 return *this;
377 }
379
381
385 inline const Aws::String& GetRoutedInputArn() const { return m_routedInputArn; }
386 inline bool RoutedInputArnHasBeenSet() const { return m_routedInputArnHasBeenSet; }
387 template <typename RoutedInputArnT = Aws::String>
388 void SetRoutedInputArn(RoutedInputArnT&& value) {
389 m_routedInputArnHasBeenSet = true;
390 m_routedInputArn = std::forward<RoutedInputArnT>(value);
391 }
392 template <typename RoutedInputArnT = Aws::String>
393 RouterOutput& WithRoutedInputArn(RoutedInputArnT&& value) {
394 SetRoutedInputArn(std::forward<RoutedInputArnT>(value));
395 return *this;
396 }
398
400
403 inline MaintenanceType GetMaintenanceType() const { return m_maintenanceType; }
404 inline bool MaintenanceTypeHasBeenSet() const { return m_maintenanceTypeHasBeenSet; }
406 m_maintenanceTypeHasBeenSet = true;
407 m_maintenanceType = value;
408 }
410 SetMaintenanceType(value);
411 return *this;
412 }
414
416
419 inline const MaintenanceConfiguration& GetMaintenanceConfiguration() const { return m_maintenanceConfiguration; }
420 inline bool MaintenanceConfigurationHasBeenSet() const { return m_maintenanceConfigurationHasBeenSet; }
421 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
422 void SetMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
423 m_maintenanceConfigurationHasBeenSet = true;
424 m_maintenanceConfiguration = std::forward<MaintenanceConfigurationT>(value);
425 }
426 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
427 RouterOutput& WithMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
428 SetMaintenanceConfiguration(std::forward<MaintenanceConfigurationT>(value));
429 return *this;
430 }
432
434
438 inline MaintenanceScheduleType GetMaintenanceScheduleType() const { return m_maintenanceScheduleType; }
439 inline bool MaintenanceScheduleTypeHasBeenSet() const { return m_maintenanceScheduleTypeHasBeenSet; }
441 m_maintenanceScheduleTypeHasBeenSet = true;
442 m_maintenanceScheduleType = value;
443 }
446 return *this;
447 }
449
451
454 inline const MaintenanceSchedule& GetMaintenanceSchedule() const { return m_maintenanceSchedule; }
455 inline bool MaintenanceScheduleHasBeenSet() const { return m_maintenanceScheduleHasBeenSet; }
456 template <typename MaintenanceScheduleT = MaintenanceSchedule>
457 void SetMaintenanceSchedule(MaintenanceScheduleT&& value) {
458 m_maintenanceScheduleHasBeenSet = true;
459 m_maintenanceSchedule = std::forward<MaintenanceScheduleT>(value);
460 }
461 template <typename MaintenanceScheduleT = MaintenanceSchedule>
462 RouterOutput& WithMaintenanceSchedule(MaintenanceScheduleT&& value) {
463 SetMaintenanceSchedule(std::forward<MaintenanceScheduleT>(value));
464 return *this;
465 }
467
469
472 inline const FabricConfiguration& GetFabricConfiguration() const { return m_fabricConfiguration; }
473 inline bool FabricConfigurationHasBeenSet() const { return m_fabricConfigurationHasBeenSet; }
474 template <typename FabricConfigurationT = FabricConfiguration>
475 void SetFabricConfiguration(FabricConfigurationT&& value) {
476 m_fabricConfigurationHasBeenSet = true;
477 m_fabricConfiguration = std::forward<FabricConfigurationT>(value);
478 }
479 template <typename FabricConfigurationT = FabricConfiguration>
480 RouterOutput& WithFabricConfiguration(FabricConfigurationT&& value) {
481 SetFabricConfiguration(std::forward<FabricConfigurationT>(value));
482 return *this;
483 }
485 private:
486 Aws::String m_name;
487
488 Aws::String m_arn;
489
490 Aws::String m_id;
491
493
495
496 RouterOutputConfiguration m_configuration;
497
499
500 Aws::String m_regionName;
501
502 Aws::String m_availabilityZone;
503
504 long long m_maximumBitrate{0};
505
506 RoutingScope m_routingScope{RoutingScope::NOT_SET};
507
509
510 Aws::Utils::DateTime m_createdAt{};
511
512 Aws::Utils::DateTime m_updatedAt{};
513
515
517
518 RouterOutputStreamDetails m_streamDetails;
519
520 Aws::String m_ipAddress;
521
522 Aws::String m_routedInputArn;
523
524 MaintenanceType m_maintenanceType{MaintenanceType::NOT_SET};
525
526 MaintenanceConfiguration m_maintenanceConfiguration;
527
529
530 MaintenanceSchedule m_maintenanceSchedule;
531
532 FabricConfiguration m_fabricConfiguration;
533 bool m_nameHasBeenSet = false;
534 bool m_arnHasBeenSet = false;
535 bool m_idHasBeenSet = false;
536 bool m_stateHasBeenSet = false;
537 bool m_outputTypeHasBeenSet = false;
538 bool m_configurationHasBeenSet = false;
539 bool m_routedStateHasBeenSet = false;
540 bool m_regionNameHasBeenSet = false;
541 bool m_availabilityZoneHasBeenSet = false;
542 bool m_maximumBitrateHasBeenSet = false;
543 bool m_routingScopeHasBeenSet = false;
544 bool m_tierHasBeenSet = false;
545 bool m_createdAtHasBeenSet = false;
546 bool m_updatedAtHasBeenSet = false;
547 bool m_messagesHasBeenSet = false;
548 bool m_tagsHasBeenSet = false;
549 bool m_streamDetailsHasBeenSet = false;
550 bool m_ipAddressHasBeenSet = false;
551 bool m_routedInputArnHasBeenSet = false;
552 bool m_maintenanceTypeHasBeenSet = false;
553 bool m_maintenanceConfigurationHasBeenSet = false;
554 bool m_maintenanceScheduleTypeHasBeenSet = false;
555 bool m_maintenanceScheduleHasBeenSet = false;
556 bool m_fabricConfigurationHasBeenSet = false;
557};
558
559} // namespace Model
560} // namespace MediaConnect
561} // 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