AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
SrtCallerSource.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/SrtCallerDecryption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_MEDIALIVE_API SrtCallerSource() = default;
40 AWS_MEDIALIVE_API SrtCallerSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const SrtCallerDecryption& GetDecryption() const { return m_decryption; }
48 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
49 template<typename DecryptionT = SrtCallerDecryption>
50 void SetDecryption(DecryptionT&& value) { m_decryptionHasBeenSet = true; m_decryption = std::forward<DecryptionT>(value); }
51 template<typename DecryptionT = SrtCallerDecryption>
52 SrtCallerSource& WithDecryption(DecryptionT&& value) { SetDecryption(std::forward<DecryptionT>(value)); return *this;}
54
56
60 inline int GetMinimumLatency() const { return m_minimumLatency; }
61 inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; }
62 inline void SetMinimumLatency(int value) { m_minimumLatencyHasBeenSet = true; m_minimumLatency = value; }
63 inline SrtCallerSource& WithMinimumLatency(int value) { SetMinimumLatency(value); return *this;}
65
67
71 inline const Aws::String& GetSrtListenerAddress() const { return m_srtListenerAddress; }
72 inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; }
73 template<typename SrtListenerAddressT = Aws::String>
74 void SetSrtListenerAddress(SrtListenerAddressT&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::forward<SrtListenerAddressT>(value); }
75 template<typename SrtListenerAddressT = Aws::String>
76 SrtCallerSource& WithSrtListenerAddress(SrtListenerAddressT&& value) { SetSrtListenerAddress(std::forward<SrtListenerAddressT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSrtListenerPort() const { return m_srtListenerPort; }
85 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
86 template<typename SrtListenerPortT = Aws::String>
87 void SetSrtListenerPort(SrtListenerPortT&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::forward<SrtListenerPortT>(value); }
88 template<typename SrtListenerPortT = Aws::String>
89 SrtCallerSource& WithSrtListenerPort(SrtListenerPortT&& value) { SetSrtListenerPort(std::forward<SrtListenerPortT>(value)); return *this;}
91
93
96 inline const Aws::String& GetStreamId() const { return m_streamId; }
97 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
98 template<typename StreamIdT = Aws::String>
99 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
100 template<typename StreamIdT = Aws::String>
101 SrtCallerSource& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
103 private:
104
105 SrtCallerDecryption m_decryption;
106 bool m_decryptionHasBeenSet = false;
107
108 int m_minimumLatency{0};
109 bool m_minimumLatencyHasBeenSet = false;
110
111 Aws::String m_srtListenerAddress;
112 bool m_srtListenerAddressHasBeenSet = false;
113
114 Aws::String m_srtListenerPort;
115 bool m_srtListenerPortHasBeenSet = false;
116
117 Aws::String m_streamId;
118 bool m_streamIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace MediaLive
123} // 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