AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
StandardDestinationEndpointProtocolConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/RistStandardDestinationEndpointConfiguration.h>
9#include <aws/mediaconnect/model/RtpStandardDestinationEndpointConfiguration.h>
10#include <aws/mediaconnect/model/SrtCallerStandardDestinationEndpointConfiguration.h>
11#include <aws/mediaconnect/model/SrtListenerStandardDestinationEndpointConfiguration.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
33 public:
34 AWS_MEDIACONNECT_API StandardDestinationEndpointProtocolConfiguration() = default;
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const RistStandardDestinationEndpointConfiguration& GetRist() const { return m_rist; }
45 inline bool RistHasBeenSet() const { return m_ristHasBeenSet; }
46 template <typename RistT = RistStandardDestinationEndpointConfiguration>
47 void SetRist(RistT&& value) {
48 m_ristHasBeenSet = true;
49 m_rist = std::forward<RistT>(value);
50 }
51 template <typename RistT = RistStandardDestinationEndpointConfiguration>
53 SetRist(std::forward<RistT>(value));
54 return *this;
55 }
57
59
63 inline const SrtListenerStandardDestinationEndpointConfiguration& GetSrtListener() const { return m_srtListener; }
64 inline bool SrtListenerHasBeenSet() const { return m_srtListenerHasBeenSet; }
65 template <typename SrtListenerT = SrtListenerStandardDestinationEndpointConfiguration>
66 void SetSrtListener(SrtListenerT&& value) {
67 m_srtListenerHasBeenSet = true;
68 m_srtListener = std::forward<SrtListenerT>(value);
69 }
70 template <typename SrtListenerT = SrtListenerStandardDestinationEndpointConfiguration>
72 SetSrtListener(std::forward<SrtListenerT>(value));
73 return *this;
74 }
76
78
82 inline const SrtCallerStandardDestinationEndpointConfiguration& GetSrtCaller() const { return m_srtCaller; }
83 inline bool SrtCallerHasBeenSet() const { return m_srtCallerHasBeenSet; }
84 template <typename SrtCallerT = SrtCallerStandardDestinationEndpointConfiguration>
85 void SetSrtCaller(SrtCallerT&& value) {
86 m_srtCallerHasBeenSet = true;
87 m_srtCaller = std::forward<SrtCallerT>(value);
88 }
89 template <typename SrtCallerT = SrtCallerStandardDestinationEndpointConfiguration>
91 SetSrtCaller(std::forward<SrtCallerT>(value));
92 return *this;
93 }
95
97
101 inline const RtpStandardDestinationEndpointConfiguration& GetRtp() const { return m_rtp; }
102 inline bool RtpHasBeenSet() const { return m_rtpHasBeenSet; }
103 template <typename RtpT = RtpStandardDestinationEndpointConfiguration>
104 void SetRtp(RtpT&& value) {
105 m_rtpHasBeenSet = true;
106 m_rtp = std::forward<RtpT>(value);
107 }
108 template <typename RtpT = RtpStandardDestinationEndpointConfiguration>
110 SetRtp(std::forward<RtpT>(value));
111 return *this;
112 }
114 private:
116
118
120
122 bool m_ristHasBeenSet = false;
123 bool m_srtListenerHasBeenSet = false;
124 bool m_srtCallerHasBeenSet = false;
125 bool m_rtpHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace MediaConnect
130} // namespace Aws
StandardDestinationEndpointProtocolConfiguration & WithSrtCaller(SrtCallerT &&value)
AWS_MEDIACONNECT_API StandardDestinationEndpointProtocolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API StandardDestinationEndpointProtocolConfiguration(Aws::Utils::Json::JsonView jsonValue)
StandardDestinationEndpointProtocolConfiguration & WithSrtListener(SrtListenerT &&value)
Aws::Utils::Json::JsonValue JsonValue