AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SrtCallerSourceRequest.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/SrtCallerDecryptionRequest.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 SrtCallerSourceRequest() = default;
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const SrtCallerDecryptionRequest& GetDecryption() const { return m_decryption; }
42 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
43 template <typename DecryptionT = SrtCallerDecryptionRequest>
44 void SetDecryption(DecryptionT&& value) {
45 m_decryptionHasBeenSet = true;
46 m_decryption = std::forward<DecryptionT>(value);
47 }
48 template <typename DecryptionT = SrtCallerDecryptionRequest>
49 SrtCallerSourceRequest& WithDecryption(DecryptionT&& value) {
50 SetDecryption(std::forward<DecryptionT>(value));
51 return *this;
52 }
54
56
61 inline int GetMinimumLatency() const { return m_minimumLatency; }
62 inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; }
63 inline void SetMinimumLatency(int value) {
64 m_minimumLatencyHasBeenSet = true;
65 m_minimumLatency = value;
66 }
68 SetMinimumLatency(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetSrtListenerAddress() const { return m_srtListenerAddress; }
79 inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; }
80 template <typename SrtListenerAddressT = Aws::String>
81 void SetSrtListenerAddress(SrtListenerAddressT&& value) {
82 m_srtListenerAddressHasBeenSet = true;
83 m_srtListenerAddress = std::forward<SrtListenerAddressT>(value);
84 }
85 template <typename SrtListenerAddressT = Aws::String>
86 SrtCallerSourceRequest& WithSrtListenerAddress(SrtListenerAddressT&& value) {
87 SetSrtListenerAddress(std::forward<SrtListenerAddressT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetSrtListenerPort() const { return m_srtListenerPort; }
98 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
99 template <typename SrtListenerPortT = Aws::String>
100 void SetSrtListenerPort(SrtListenerPortT&& value) {
101 m_srtListenerPortHasBeenSet = true;
102 m_srtListenerPort = std::forward<SrtListenerPortT>(value);
103 }
104 template <typename SrtListenerPortT = Aws::String>
105 SrtCallerSourceRequest& WithSrtListenerPort(SrtListenerPortT&& value) {
106 SetSrtListenerPort(std::forward<SrtListenerPortT>(value));
107 return *this;
108 }
110
112
117 inline const Aws::String& GetStreamId() const { return m_streamId; }
118 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
119 template <typename StreamIdT = Aws::String>
120 void SetStreamId(StreamIdT&& value) {
121 m_streamIdHasBeenSet = true;
122 m_streamId = std::forward<StreamIdT>(value);
123 }
124 template <typename StreamIdT = Aws::String>
126 SetStreamId(std::forward<StreamIdT>(value));
127 return *this;
128 }
130 private:
131 SrtCallerDecryptionRequest m_decryption;
132
133 int m_minimumLatency{0};
134
135 Aws::String m_srtListenerAddress;
136
137 Aws::String m_srtListenerPort;
138
139 Aws::String m_streamId;
140 bool m_decryptionHasBeenSet = false;
141 bool m_minimumLatencyHasBeenSet = false;
142 bool m_srtListenerAddressHasBeenSet = false;
143 bool m_srtListenerPortHasBeenSet = false;
144 bool m_streamIdHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace MediaLive
149} // namespace Aws
SrtCallerSourceRequest & WithDecryption(DecryptionT &&value)
void SetSrtListenerAddress(SrtListenerAddressT &&value)
AWS_MEDIALIVE_API SrtCallerSourceRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API SrtCallerSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API SrtCallerSourceRequest()=default
SrtCallerSourceRequest & WithStreamId(StreamIdT &&value)
SrtCallerSourceRequest & WithMinimumLatency(int value)
SrtCallerSourceRequest & WithSrtListenerAddress(SrtListenerAddressT &&value)
SrtCallerSourceRequest & WithSrtListenerPort(SrtListenerPortT &&value)
const SrtCallerDecryptionRequest & GetDecryption() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue