AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RouterInputProtocolConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/RistRouterInputConfiguration.h>
9#include <aws/mediaconnect/model/RtpRouterInputConfiguration.h>
10#include <aws/mediaconnect/model/SrtCallerRouterInputConfiguration.h>
11#include <aws/mediaconnect/model/SrtListenerRouterInputConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect {
23namespace Model {
24
32 public:
33 AWS_MEDIACONNECT_API RouterInputProtocolConfiguration() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const RtpRouterInputConfiguration& GetRtp() const { return m_rtp; }
41 inline bool RtpHasBeenSet() const { return m_rtpHasBeenSet; }
42 template <typename RtpT = RtpRouterInputConfiguration>
43 void SetRtp(RtpT&& value) {
44 m_rtpHasBeenSet = true;
45 m_rtp = std::forward<RtpT>(value);
46 }
47 template <typename RtpT = RtpRouterInputConfiguration>
49 SetRtp(std::forward<RtpT>(value));
50 return *this;
51 }
53
55
56 inline const RistRouterInputConfiguration& GetRist() const { return m_rist; }
57 inline bool RistHasBeenSet() const { return m_ristHasBeenSet; }
58 template <typename RistT = RistRouterInputConfiguration>
59 void SetRist(RistT&& value) {
60 m_ristHasBeenSet = true;
61 m_rist = std::forward<RistT>(value);
62 }
63 template <typename RistT = RistRouterInputConfiguration>
65 SetRist(std::forward<RistT>(value));
66 return *this;
67 }
69
71
72 inline const SrtListenerRouterInputConfiguration& GetSrtListener() const { return m_srtListener; }
73 inline bool SrtListenerHasBeenSet() const { return m_srtListenerHasBeenSet; }
74 template <typename SrtListenerT = SrtListenerRouterInputConfiguration>
75 void SetSrtListener(SrtListenerT&& value) {
76 m_srtListenerHasBeenSet = true;
77 m_srtListener = std::forward<SrtListenerT>(value);
78 }
79 template <typename SrtListenerT = SrtListenerRouterInputConfiguration>
81 SetSrtListener(std::forward<SrtListenerT>(value));
82 return *this;
83 }
85
87
88 inline const SrtCallerRouterInputConfiguration& GetSrtCaller() const { return m_srtCaller; }
89 inline bool SrtCallerHasBeenSet() const { return m_srtCallerHasBeenSet; }
90 template <typename SrtCallerT = SrtCallerRouterInputConfiguration>
91 void SetSrtCaller(SrtCallerT&& value) {
92 m_srtCallerHasBeenSet = true;
93 m_srtCaller = std::forward<SrtCallerT>(value);
94 }
95 template <typename SrtCallerT = SrtCallerRouterInputConfiguration>
97 SetSrtCaller(std::forward<SrtCallerT>(value));
98 return *this;
99 }
101 private:
103
105
107
109 bool m_rtpHasBeenSet = false;
110 bool m_ristHasBeenSet = false;
111 bool m_srtListenerHasBeenSet = false;
112 bool m_srtCallerHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace MediaConnect
117} // namespace Aws
AWS_MEDIACONNECT_API RouterInputProtocolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RouterInputProtocolConfiguration & WithSrtListener(SrtListenerT &&value)
RouterInputProtocolConfiguration & WithSrtCaller(SrtCallerT &&value)
const SrtCallerRouterInputConfiguration & GetSrtCaller() const
const SrtListenerRouterInputConfiguration & GetSrtListener() const
AWS_MEDIACONNECT_API RouterInputProtocolConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API RouterInputProtocolConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue