AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
RouterOutputProtocolConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/RistRouterOutputConfiguration.h>
9#include <aws/mediaconnect/model/RtmpPushRouterOutputConfiguration.h>
10#include <aws/mediaconnect/model/RtpRouterOutputConfiguration.h>
11#include <aws/mediaconnect/model/SrtCallerRouterOutputConfiguration.h>
12#include <aws/mediaconnect/model/SrtListenerRouterOutputConfiguration.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
33 public:
34 AWS_MEDIACONNECT_API RouterOutputProtocolConfiguration() = default;
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const RistRouterOutputConfiguration& GetRist() const { return m_rist; }
42 inline bool RistHasBeenSet() const { return m_ristHasBeenSet; }
43 template <typename RistT = RistRouterOutputConfiguration>
44 void SetRist(RistT&& value) {
45 m_ristHasBeenSet = true;
46 m_rist = std::forward<RistT>(value);
47 }
48 template <typename RistT = RistRouterOutputConfiguration>
50 SetRist(std::forward<RistT>(value));
51 return *this;
52 }
54
56
57 inline const SrtListenerRouterOutputConfiguration& GetSrtListener() const { return m_srtListener; }
58 inline bool SrtListenerHasBeenSet() const { return m_srtListenerHasBeenSet; }
59 template <typename SrtListenerT = SrtListenerRouterOutputConfiguration>
60 void SetSrtListener(SrtListenerT&& value) {
61 m_srtListenerHasBeenSet = true;
62 m_srtListener = std::forward<SrtListenerT>(value);
63 }
64 template <typename SrtListenerT = SrtListenerRouterOutputConfiguration>
66 SetSrtListener(std::forward<SrtListenerT>(value));
67 return *this;
68 }
70
72
73 inline const RtmpPushRouterOutputConfiguration& GetRtmpPush() const { return m_rtmpPush; }
74 inline bool RtmpPushHasBeenSet() const { return m_rtmpPushHasBeenSet; }
75 template <typename RtmpPushT = RtmpPushRouterOutputConfiguration>
76 void SetRtmpPush(RtmpPushT&& value) {
77 m_rtmpPushHasBeenSet = true;
78 m_rtmpPush = std::forward<RtmpPushT>(value);
79 }
80 template <typename RtmpPushT = RtmpPushRouterOutputConfiguration>
82 SetRtmpPush(std::forward<RtmpPushT>(value));
83 return *this;
84 }
86
88
89 inline const SrtCallerRouterOutputConfiguration& GetSrtCaller() const { return m_srtCaller; }
90 inline bool SrtCallerHasBeenSet() const { return m_srtCallerHasBeenSet; }
91 template <typename SrtCallerT = SrtCallerRouterOutputConfiguration>
92 void SetSrtCaller(SrtCallerT&& value) {
93 m_srtCallerHasBeenSet = true;
94 m_srtCaller = std::forward<SrtCallerT>(value);
95 }
96 template <typename SrtCallerT = SrtCallerRouterOutputConfiguration>
98 SetSrtCaller(std::forward<SrtCallerT>(value));
99 return *this;
100 }
102
104
105 inline const RtpRouterOutputConfiguration& GetRtp() const { return m_rtp; }
106 inline bool RtpHasBeenSet() const { return m_rtpHasBeenSet; }
107 template <typename RtpT = RtpRouterOutputConfiguration>
108 void SetRtp(RtpT&& value) {
109 m_rtpHasBeenSet = true;
110 m_rtp = std::forward<RtpT>(value);
111 }
112 template <typename RtpT = RtpRouterOutputConfiguration>
114 SetRtp(std::forward<RtpT>(value));
115 return *this;
116 }
118 private:
120
122
124
126
128 bool m_ristHasBeenSet = false;
129 bool m_srtListenerHasBeenSet = false;
130 bool m_rtmpPushHasBeenSet = false;
131 bool m_srtCallerHasBeenSet = false;
132 bool m_rtpHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace MediaConnect
137} // namespace Aws
AWS_MEDIACONNECT_API RouterOutputProtocolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RouterOutputProtocolConfiguration & WithRtmpPush(RtmpPushT &&value)
RouterOutputProtocolConfiguration & WithSrtCaller(SrtCallerT &&value)
const SrtCallerRouterOutputConfiguration & GetSrtCaller() const
RouterOutputProtocolConfiguration & WithSrtListener(SrtListenerT &&value)
AWS_MEDIACONNECT_API RouterOutputProtocolConfiguration(Aws::Utils::Json::JsonView jsonValue)
const SrtListenerRouterOutputConfiguration & GetSrtListener() const
AWS_MEDIACONNECT_API RouterOutputProtocolConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue