AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
SrtCallerSourceRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/SrtCallerDecryptionRequest.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 SrtCallerSourceRequest() = default;
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const SrtCallerDecryptionRequest& GetDecryption() const { return m_decryption; }
48 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
49 template<typename DecryptionT = SrtCallerDecryptionRequest>
50 void SetDecryption(DecryptionT&& value) { m_decryptionHasBeenSet = true; m_decryption = std::forward<DecryptionT>(value); }
51 template<typename DecryptionT = SrtCallerDecryptionRequest>
52 SrtCallerSourceRequest& WithDecryption(DecryptionT&& value) { SetDecryption(std::forward<DecryptionT>(value)); return *this;}
54
56
61 inline int GetMinimumLatency() const { return m_minimumLatency; }
62 inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; }
63 inline void SetMinimumLatency(int value) { m_minimumLatencyHasBeenSet = true; m_minimumLatency = value; }
64 inline SrtCallerSourceRequest& WithMinimumLatency(int value) { SetMinimumLatency(value); return *this;}
66
68
72 inline const Aws::String& GetSrtListenerAddress() const { return m_srtListenerAddress; }
73 inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; }
74 template<typename SrtListenerAddressT = Aws::String>
75 void SetSrtListenerAddress(SrtListenerAddressT&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::forward<SrtListenerAddressT>(value); }
76 template<typename SrtListenerAddressT = Aws::String>
77 SrtCallerSourceRequest& WithSrtListenerAddress(SrtListenerAddressT&& value) { SetSrtListenerAddress(std::forward<SrtListenerAddressT>(value)); return *this;}
79
81
85 inline const Aws::String& GetSrtListenerPort() const { return m_srtListenerPort; }
86 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
87 template<typename SrtListenerPortT = Aws::String>
88 void SetSrtListenerPort(SrtListenerPortT&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::forward<SrtListenerPortT>(value); }
89 template<typename SrtListenerPortT = Aws::String>
90 SrtCallerSourceRequest& WithSrtListenerPort(SrtListenerPortT&& value) { SetSrtListenerPort(std::forward<SrtListenerPortT>(value)); return *this;}
92
94
99 inline const Aws::String& GetStreamId() const { return m_streamId; }
100 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
101 template<typename StreamIdT = Aws::String>
102 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
103 template<typename StreamIdT = Aws::String>
104 SrtCallerSourceRequest& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
106 private:
107
108 SrtCallerDecryptionRequest m_decryption;
109 bool m_decryptionHasBeenSet = false;
110
111 int m_minimumLatency{0};
112 bool m_minimumLatencyHasBeenSet = false;
113
114 Aws::String m_srtListenerAddress;
115 bool m_srtListenerAddressHasBeenSet = false;
116
117 Aws::String m_srtListenerPort;
118 bool m_srtListenerPortHasBeenSet = false;
119
120 Aws::String m_streamId;
121 bool m_streamIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace MediaLive
126} // 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