AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SrtCallerSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/SrtCallerDecryption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
33 public:
34 AWS_MEDIALIVE_API SrtCallerSource() = default;
35 AWS_MEDIALIVE_API SrtCallerSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const SrtCallerDecryption& GetDecryption() const { return m_decryption; }
42 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
43 template <typename DecryptionT = SrtCallerDecryption>
44 void SetDecryption(DecryptionT&& value) {
45 m_decryptionHasBeenSet = true;
46 m_decryption = std::forward<DecryptionT>(value);
47 }
48 template <typename DecryptionT = SrtCallerDecryption>
49 SrtCallerSource& WithDecryption(DecryptionT&& value) {
50 SetDecryption(std::forward<DecryptionT>(value));
51 return *this;
52 }
54
56
60 inline int GetMinimumLatency() const { return m_minimumLatency; }
61 inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; }
62 inline void SetMinimumLatency(int value) {
63 m_minimumLatencyHasBeenSet = true;
64 m_minimumLatency = value;
65 }
67 SetMinimumLatency(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetSrtListenerAddress() const { return m_srtListenerAddress; }
78 inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; }
79 template <typename SrtListenerAddressT = Aws::String>
80 void SetSrtListenerAddress(SrtListenerAddressT&& value) {
81 m_srtListenerAddressHasBeenSet = true;
82 m_srtListenerAddress = std::forward<SrtListenerAddressT>(value);
83 }
84 template <typename SrtListenerAddressT = Aws::String>
85 SrtCallerSource& WithSrtListenerAddress(SrtListenerAddressT&& value) {
86 SetSrtListenerAddress(std::forward<SrtListenerAddressT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetSrtListenerPort() const { return m_srtListenerPort; }
97 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
98 template <typename SrtListenerPortT = Aws::String>
99 void SetSrtListenerPort(SrtListenerPortT&& value) {
100 m_srtListenerPortHasBeenSet = true;
101 m_srtListenerPort = std::forward<SrtListenerPortT>(value);
102 }
103 template <typename SrtListenerPortT = Aws::String>
104 SrtCallerSource& WithSrtListenerPort(SrtListenerPortT&& value) {
105 SetSrtListenerPort(std::forward<SrtListenerPortT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetStreamId() const { return m_streamId; }
115 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
116 template <typename StreamIdT = Aws::String>
117 void SetStreamId(StreamIdT&& value) {
118 m_streamIdHasBeenSet = true;
119 m_streamId = std::forward<StreamIdT>(value);
120 }
121 template <typename StreamIdT = Aws::String>
122 SrtCallerSource& WithStreamId(StreamIdT&& value) {
123 SetStreamId(std::forward<StreamIdT>(value));
124 return *this;
125 }
127 private:
128 SrtCallerDecryption m_decryption;
129
130 int m_minimumLatency{0};
131
132 Aws::String m_srtListenerAddress;
133
134 Aws::String m_srtListenerPort;
135
136 Aws::String m_streamId;
137 bool m_decryptionHasBeenSet = false;
138 bool m_minimumLatencyHasBeenSet = false;
139 bool m_srtListenerAddressHasBeenSet = false;
140 bool m_srtListenerPortHasBeenSet = false;
141 bool m_streamIdHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace MediaLive
146} // namespace Aws
void SetSrtListenerPort(SrtListenerPortT &&value)
SrtCallerSource & WithSrtListenerPort(SrtListenerPortT &&value)
void SetSrtListenerAddress(SrtListenerAddressT &&value)
AWS_MEDIALIVE_API SrtCallerSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const SrtCallerDecryption & GetDecryption() const
AWS_MEDIALIVE_API SrtCallerSource(Aws::Utils::Json::JsonView jsonValue)
SrtCallerSource & WithDecryption(DecryptionT &&value)
const Aws::String & GetStreamId() const
AWS_MEDIALIVE_API SrtCallerSource()=default
SrtCallerSource & WithStreamId(StreamIdT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SrtCallerSource & WithSrtListenerAddress(SrtListenerAddressT &&value)
void SetDecryption(DecryptionT &&value)
const Aws::String & GetSrtListenerAddress() const
SrtCallerSource & WithMinimumLatency(int value)
const Aws::String & GetSrtListenerPort() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue