AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RouterInputConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/FailoverRouterInputConfiguration.h>
9#include <aws/mediaconnect/model/MediaConnectFlowRouterInputConfiguration.h>
10#include <aws/mediaconnect/model/MediaLiveChannelRouterInputConfiguration.h>
11#include <aws/mediaconnect/model/MergeRouterInputConfiguration.h>
12#include <aws/mediaconnect/model/StandardRouterInputConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect {
24namespace Model {
25
32 public:
33 AWS_MEDIACONNECT_API RouterInputConfiguration() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const StandardRouterInputConfiguration& GetStandard() const { return m_standard; }
41 inline bool StandardHasBeenSet() const { return m_standardHasBeenSet; }
42 template <typename StandardT = StandardRouterInputConfiguration>
43 void SetStandard(StandardT&& value) {
44 m_standardHasBeenSet = true;
45 m_standard = std::forward<StandardT>(value);
46 }
47 template <typename StandardT = StandardRouterInputConfiguration>
49 SetStandard(std::forward<StandardT>(value));
50 return *this;
51 }
53
55
56 inline const MediaLiveChannelRouterInputConfiguration& GetMediaLiveChannel() const { return m_mediaLiveChannel; }
57 inline bool MediaLiveChannelHasBeenSet() const { return m_mediaLiveChannelHasBeenSet; }
58 template <typename MediaLiveChannelT = MediaLiveChannelRouterInputConfiguration>
59 void SetMediaLiveChannel(MediaLiveChannelT&& value) {
60 m_mediaLiveChannelHasBeenSet = true;
61 m_mediaLiveChannel = std::forward<MediaLiveChannelT>(value);
62 }
63 template <typename MediaLiveChannelT = MediaLiveChannelRouterInputConfiguration>
64 RouterInputConfiguration& WithMediaLiveChannel(MediaLiveChannelT&& value) {
65 SetMediaLiveChannel(std::forward<MediaLiveChannelT>(value));
66 return *this;
67 }
69
71
72 inline const FailoverRouterInputConfiguration& GetFailover() const { return m_failover; }
73 inline bool FailoverHasBeenSet() const { return m_failoverHasBeenSet; }
74 template <typename FailoverT = FailoverRouterInputConfiguration>
75 void SetFailover(FailoverT&& value) {
76 m_failoverHasBeenSet = true;
77 m_failover = std::forward<FailoverT>(value);
78 }
79 template <typename FailoverT = FailoverRouterInputConfiguration>
81 SetFailover(std::forward<FailoverT>(value));
82 return *this;
83 }
85
87
88 inline const MediaConnectFlowRouterInputConfiguration& GetMediaConnectFlow() const { return m_mediaConnectFlow; }
89 inline bool MediaConnectFlowHasBeenSet() const { return m_mediaConnectFlowHasBeenSet; }
90 template <typename MediaConnectFlowT = MediaConnectFlowRouterInputConfiguration>
91 void SetMediaConnectFlow(MediaConnectFlowT&& value) {
92 m_mediaConnectFlowHasBeenSet = true;
93 m_mediaConnectFlow = std::forward<MediaConnectFlowT>(value);
94 }
95 template <typename MediaConnectFlowT = MediaConnectFlowRouterInputConfiguration>
96 RouterInputConfiguration& WithMediaConnectFlow(MediaConnectFlowT&& value) {
97 SetMediaConnectFlow(std::forward<MediaConnectFlowT>(value));
98 return *this;
99 }
101
103
104 inline const MergeRouterInputConfiguration& GetMerge() const { return m_merge; }
105 inline bool MergeHasBeenSet() const { return m_mergeHasBeenSet; }
106 template <typename MergeT = MergeRouterInputConfiguration>
107 void SetMerge(MergeT&& value) {
108 m_mergeHasBeenSet = true;
109 m_merge = std::forward<MergeT>(value);
110 }
111 template <typename MergeT = MergeRouterInputConfiguration>
113 SetMerge(std::forward<MergeT>(value));
114 return *this;
115 }
117 private:
119
121
123
125
127 bool m_standardHasBeenSet = false;
128 bool m_mediaLiveChannelHasBeenSet = false;
129 bool m_failoverHasBeenSet = false;
130 bool m_mediaConnectFlowHasBeenSet = false;
131 bool m_mergeHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace MediaConnect
136} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RouterInputConfiguration & WithMediaConnectFlow(MediaConnectFlowT &&value)
RouterInputConfiguration & WithStandard(StandardT &&value)
RouterInputConfiguration & WithFailover(FailoverT &&value)
const MediaLiveChannelRouterInputConfiguration & GetMediaLiveChannel() const
AWS_MEDIACONNECT_API RouterInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
const MergeRouterInputConfiguration & GetMerge() const
const MediaConnectFlowRouterInputConfiguration & GetMediaConnectFlow() const
const StandardRouterInputConfiguration & GetStandard() const
RouterInputConfiguration & WithMerge(MergeT &&value)
RouterInputConfiguration & WithMediaLiveChannel(MediaLiveChannelT &&value)
const FailoverRouterInputConfiguration & GetFailover() const
AWS_MEDIACONNECT_API RouterInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API RouterInputConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue