AWS SDK for C++

AWS SDK for C++ Version 1.11.764

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/MaintenanceConfiguration.h>
13#include <aws/mediaconnect/model/MaintenanceSchedule.h>
14#include <aws/mediaconnect/model/MaintenanceScheduleType.h>
15#include <aws/mediaconnect/model/MaintenanceType.h>
16#include <aws/mediaconnect/model/RouterOutputConfiguration.h>
17#include <aws/mediaconnect/model/RouterOutputMessage.h>
18#include <aws/mediaconnect/model/RouterOutputRoutedState.h>
19#include <aws/mediaconnect/model/RouterOutputState.h>
20#include <aws/mediaconnect/model/RouterOutputStreamDetails.h>
21#include <aws/mediaconnect/model/RouterOutputTier.h>
22#include <aws/mediaconnect/model/RouterOutputType.h>
23#include <aws/mediaconnect/model/RoutingScope.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace MediaConnect {
35namespace Model {
36
45 public:
46 AWS_MEDIACONNECT_API RouterOutput() = default;
47 AWS_MEDIACONNECT_API RouterOutput(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIACONNECT_API RouterOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
63 RouterOutput& WithName(NameT&& value) {
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
75 template <typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) {
77 m_arnHasBeenSet = true;
78 m_arn = std::forward<ArnT>(value);
79 }
80 template <typename ArnT = Aws::String>
81 RouterOutput& WithArn(ArnT&& value) {
82 SetArn(std::forward<ArnT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetId() const { return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 template <typename IdT = Aws::String>
94 void SetId(IdT&& value) {
95 m_idHasBeenSet = true;
96 m_id = std::forward<IdT>(value);
97 }
98 template <typename IdT = Aws::String>
99 RouterOutput& WithId(IdT&& value) {
100 SetId(std::forward<IdT>(value));
101 return *this;
102 }
104
106
109 inline RouterOutputState GetState() const { return m_state; }
110 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
111 inline void SetState(RouterOutputState value) {
112 m_stateHasBeenSet = true;
113 m_state = value;
114 }
116 SetState(value);
117 return *this;
118 }
120
122
125 inline RouterOutputType GetOutputType() const { return m_outputType; }
126 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
127 inline void SetOutputType(RouterOutputType value) {
128 m_outputTypeHasBeenSet = true;
129 m_outputType = value;
130 }
132 SetOutputType(value);
133 return *this;
134 }
136
138
139 inline const RouterOutputConfiguration& GetConfiguration() const { return m_configuration; }
140 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
141 template <typename ConfigurationT = RouterOutputConfiguration>
142 void SetConfiguration(ConfigurationT&& value) {
143 m_configurationHasBeenSet = true;
144 m_configuration = std::forward<ConfigurationT>(value);
145 }
146 template <typename ConfigurationT = RouterOutputConfiguration>
147 RouterOutput& WithConfiguration(ConfigurationT&& value) {
148 SetConfiguration(std::forward<ConfigurationT>(value));
149 return *this;
150 }
152
154
158 inline RouterOutputRoutedState GetRoutedState() const { return m_routedState; }
159 inline bool RoutedStateHasBeenSet() const { return m_routedStateHasBeenSet; }
161 m_routedStateHasBeenSet = true;
162 m_routedState = value;
163 }
165 SetRoutedState(value);
166 return *this;
167 }
169
171
174 inline const Aws::String& GetRegionName() const { return m_regionName; }
175 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
176 template <typename RegionNameT = Aws::String>
177 void SetRegionName(RegionNameT&& value) {
178 m_regionNameHasBeenSet = true;
179 m_regionName = std::forward<RegionNameT>(value);
180 }
181 template <typename RegionNameT = Aws::String>
182 RouterOutput& WithRegionName(RegionNameT&& value) {
183 SetRegionName(std::forward<RegionNameT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
193 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
194 template <typename AvailabilityZoneT = Aws::String>
195 void SetAvailabilityZone(AvailabilityZoneT&& value) {
196 m_availabilityZoneHasBeenSet = true;
197 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
198 }
199 template <typename AvailabilityZoneT = Aws::String>
200 RouterOutput& WithAvailabilityZone(AvailabilityZoneT&& value) {
201 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
202 return *this;
203 }
205
207
210 inline long long GetMaximumBitrate() const { return m_maximumBitrate; }
211 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
212 inline void SetMaximumBitrate(long long value) {
213 m_maximumBitrateHasBeenSet = true;
214 m_maximumBitrate = value;
215 }
216 inline RouterOutput& WithMaximumBitrate(long long value) {
217 SetMaximumBitrate(value);
218 return *this;
219 }
221
223
227 inline RoutingScope GetRoutingScope() const { return m_routingScope; }
228 inline bool RoutingScopeHasBeenSet() const { return m_routingScopeHasBeenSet; }
229 inline void SetRoutingScope(RoutingScope value) {
230 m_routingScopeHasBeenSet = true;
231 m_routingScope = value;
232 }
234 SetRoutingScope(value);
235 return *this;
236 }
238
240
243 inline RouterOutputTier GetTier() const { return m_tier; }
244 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
245 inline void SetTier(RouterOutputTier value) {
246 m_tierHasBeenSet = true;
247 m_tier = value;
248 }
250 SetTier(value);
251 return *this;
252 }
254
256
259 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
260 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
261 template <typename CreatedAtT = Aws::Utils::DateTime>
262 void SetCreatedAt(CreatedAtT&& value) {
263 m_createdAtHasBeenSet = true;
264 m_createdAt = std::forward<CreatedAtT>(value);
265 }
266 template <typename CreatedAtT = Aws::Utils::DateTime>
267 RouterOutput& WithCreatedAt(CreatedAtT&& value) {
268 SetCreatedAt(std::forward<CreatedAtT>(value));
269 return *this;
270 }
272
274
277 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
278 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
279 template <typename UpdatedAtT = Aws::Utils::DateTime>
280 void SetUpdatedAt(UpdatedAtT&& value) {
281 m_updatedAtHasBeenSet = true;
282 m_updatedAt = std::forward<UpdatedAtT>(value);
283 }
284 template <typename UpdatedAtT = Aws::Utils::DateTime>
285 RouterOutput& WithUpdatedAt(UpdatedAtT&& value) {
286 SetUpdatedAt(std::forward<UpdatedAtT>(value));
287 return *this;
288 }
290
292
295 inline const Aws::Vector<RouterOutputMessage>& GetMessages() const { return m_messages; }
296 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
297 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
298 void SetMessages(MessagesT&& value) {
299 m_messagesHasBeenSet = true;
300 m_messages = std::forward<MessagesT>(value);
301 }
302 template <typename MessagesT = Aws::Vector<RouterOutputMessage>>
303 RouterOutput& WithMessages(MessagesT&& value) {
304 SetMessages(std::forward<MessagesT>(value));
305 return *this;
306 }
307 template <typename MessagesT = RouterOutputMessage>
308 RouterOutput& AddMessages(MessagesT&& value) {
309 m_messagesHasBeenSet = true;
310 m_messages.emplace_back(std::forward<MessagesT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
320 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
321 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
322 void SetTags(TagsT&& value) {
323 m_tagsHasBeenSet = true;
324 m_tags = std::forward<TagsT>(value);
325 }
326 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
327 RouterOutput& WithTags(TagsT&& value) {
328 SetTags(std::forward<TagsT>(value));
329 return *this;
330 }
331 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
332 RouterOutput& AddTags(TagsKeyT&& key, TagsValueT&& value) {
333 m_tagsHasBeenSet = true;
334 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
335 return *this;
336 }
338
340
341 inline const RouterOutputStreamDetails& GetStreamDetails() const { return m_streamDetails; }
342 inline bool StreamDetailsHasBeenSet() const { return m_streamDetailsHasBeenSet; }
343 template <typename StreamDetailsT = RouterOutputStreamDetails>
344 void SetStreamDetails(StreamDetailsT&& value) {
345 m_streamDetailsHasBeenSet = true;
346 m_streamDetails = std::forward<StreamDetailsT>(value);
347 }
348 template <typename StreamDetailsT = RouterOutputStreamDetails>
349 RouterOutput& WithStreamDetails(StreamDetailsT&& value) {
350 SetStreamDetails(std::forward<StreamDetailsT>(value));
351 return *this;
352 }
354
356
359 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
360 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
361 template <typename IpAddressT = Aws::String>
362 void SetIpAddress(IpAddressT&& value) {
363 m_ipAddressHasBeenSet = true;
364 m_ipAddress = std::forward<IpAddressT>(value);
365 }
366 template <typename IpAddressT = Aws::String>
367 RouterOutput& WithIpAddress(IpAddressT&& value) {
368 SetIpAddress(std::forward<IpAddressT>(value));
369 return *this;
370 }
372
374
378 inline const Aws::String& GetRoutedInputArn() const { return m_routedInputArn; }
379 inline bool RoutedInputArnHasBeenSet() const { return m_routedInputArnHasBeenSet; }
380 template <typename RoutedInputArnT = Aws::String>
381 void SetRoutedInputArn(RoutedInputArnT&& value) {
382 m_routedInputArnHasBeenSet = true;
383 m_routedInputArn = std::forward<RoutedInputArnT>(value);
384 }
385 template <typename RoutedInputArnT = Aws::String>
386 RouterOutput& WithRoutedInputArn(RoutedInputArnT&& value) {
387 SetRoutedInputArn(std::forward<RoutedInputArnT>(value));
388 return *this;
389 }
391
393
396 inline MaintenanceType GetMaintenanceType() const { return m_maintenanceType; }
397 inline bool MaintenanceTypeHasBeenSet() const { return m_maintenanceTypeHasBeenSet; }
399 m_maintenanceTypeHasBeenSet = true;
400 m_maintenanceType = value;
401 }
403 SetMaintenanceType(value);
404 return *this;
405 }
407
409
412 inline const MaintenanceConfiguration& GetMaintenanceConfiguration() const { return m_maintenanceConfiguration; }
413 inline bool MaintenanceConfigurationHasBeenSet() const { return m_maintenanceConfigurationHasBeenSet; }
414 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
415 void SetMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
416 m_maintenanceConfigurationHasBeenSet = true;
417 m_maintenanceConfiguration = std::forward<MaintenanceConfigurationT>(value);
418 }
419 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
420 RouterOutput& WithMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
421 SetMaintenanceConfiguration(std::forward<MaintenanceConfigurationT>(value));
422 return *this;
423 }
425
427
431 inline MaintenanceScheduleType GetMaintenanceScheduleType() const { return m_maintenanceScheduleType; }
432 inline bool MaintenanceScheduleTypeHasBeenSet() const { return m_maintenanceScheduleTypeHasBeenSet; }
434 m_maintenanceScheduleTypeHasBeenSet = true;
435 m_maintenanceScheduleType = value;
436 }
439 return *this;
440 }
442
444
447 inline const MaintenanceSchedule& GetMaintenanceSchedule() const { return m_maintenanceSchedule; }
448 inline bool MaintenanceScheduleHasBeenSet() const { return m_maintenanceScheduleHasBeenSet; }
449 template <typename MaintenanceScheduleT = MaintenanceSchedule>
450 void SetMaintenanceSchedule(MaintenanceScheduleT&& value) {
451 m_maintenanceScheduleHasBeenSet = true;
452 m_maintenanceSchedule = std::forward<MaintenanceScheduleT>(value);
453 }
454 template <typename MaintenanceScheduleT = MaintenanceSchedule>
455 RouterOutput& WithMaintenanceSchedule(MaintenanceScheduleT&& value) {
456 SetMaintenanceSchedule(std::forward<MaintenanceScheduleT>(value));
457 return *this;
458 }
460 private:
461 Aws::String m_name;
462
463 Aws::String m_arn;
464
465 Aws::String m_id;
466
468
470
471 RouterOutputConfiguration m_configuration;
472
474
475 Aws::String m_regionName;
476
477 Aws::String m_availabilityZone;
478
479 long long m_maximumBitrate{0};
480
481 RoutingScope m_routingScope{RoutingScope::NOT_SET};
482
484
485 Aws::Utils::DateTime m_createdAt{};
486
487 Aws::Utils::DateTime m_updatedAt{};
488
490
492
493 RouterOutputStreamDetails m_streamDetails;
494
495 Aws::String m_ipAddress;
496
497 Aws::String m_routedInputArn;
498
499 MaintenanceType m_maintenanceType{MaintenanceType::NOT_SET};
500
501 MaintenanceConfiguration m_maintenanceConfiguration;
502
504
505 MaintenanceSchedule m_maintenanceSchedule;
506 bool m_nameHasBeenSet = false;
507 bool m_arnHasBeenSet = false;
508 bool m_idHasBeenSet = false;
509 bool m_stateHasBeenSet = false;
510 bool m_outputTypeHasBeenSet = false;
511 bool m_configurationHasBeenSet = false;
512 bool m_routedStateHasBeenSet = false;
513 bool m_regionNameHasBeenSet = false;
514 bool m_availabilityZoneHasBeenSet = false;
515 bool m_maximumBitrateHasBeenSet = false;
516 bool m_routingScopeHasBeenSet = false;
517 bool m_tierHasBeenSet = false;
518 bool m_createdAtHasBeenSet = false;
519 bool m_updatedAtHasBeenSet = false;
520 bool m_messagesHasBeenSet = false;
521 bool m_tagsHasBeenSet = false;
522 bool m_streamDetailsHasBeenSet = false;
523 bool m_ipAddressHasBeenSet = false;
524 bool m_routedInputArnHasBeenSet = false;
525 bool m_maintenanceTypeHasBeenSet = false;
526 bool m_maintenanceConfigurationHasBeenSet = false;
527 bool m_maintenanceScheduleTypeHasBeenSet = false;
528 bool m_maintenanceScheduleHasBeenSet = false;
529};
530
531} // namespace Model
532} // namespace MediaConnect
533} // 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
RouterOutput & WithTier(RouterOutputTier 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
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