AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDecryption(const SrtCallerDecryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
50 inline void SetDecryption(SrtCallerDecryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
51 inline SrtCallerSource& WithDecryption(const SrtCallerDecryption& value) { SetDecryption(value); return *this;}
52 inline SrtCallerSource& WithDecryption(SrtCallerDecryption&& value) { SetDecryption(std::move(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 inline void SetSrtListenerAddress(const Aws::String& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = value; }
74 inline void SetSrtListenerAddress(Aws::String&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::move(value); }
75 inline void SetSrtListenerAddress(const char* value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress.assign(value); }
76 inline SrtCallerSource& WithSrtListenerAddress(const Aws::String& value) { SetSrtListenerAddress(value); return *this;}
77 inline SrtCallerSource& WithSrtListenerAddress(Aws::String&& value) { SetSrtListenerAddress(std::move(value)); return *this;}
78 inline SrtCallerSource& WithSrtListenerAddress(const char* value) { SetSrtListenerAddress(value); return *this;}
80
82
86 inline const Aws::String& GetSrtListenerPort() const{ return m_srtListenerPort; }
87 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
88 inline void SetSrtListenerPort(const Aws::String& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = value; }
89 inline void SetSrtListenerPort(Aws::String&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::move(value); }
90 inline void SetSrtListenerPort(const char* value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort.assign(value); }
91 inline SrtCallerSource& WithSrtListenerPort(const Aws::String& value) { SetSrtListenerPort(value); return *this;}
92 inline SrtCallerSource& WithSrtListenerPort(Aws::String&& value) { SetSrtListenerPort(std::move(value)); return *this;}
93 inline SrtCallerSource& WithSrtListenerPort(const char* value) { SetSrtListenerPort(value); return *this;}
95
97
100 inline const Aws::String& GetStreamId() const{ return m_streamId; }
101 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
102 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
103 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
104 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
105 inline SrtCallerSource& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
106 inline SrtCallerSource& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
107 inline SrtCallerSource& WithStreamId(const char* value) { SetStreamId(value); return *this;}
109 private:
110
111 SrtCallerDecryption m_decryption;
112 bool m_decryptionHasBeenSet = false;
113
114 int m_minimumLatency;
115 bool m_minimumLatencyHasBeenSet = false;
116
117 Aws::String m_srtListenerAddress;
118 bool m_srtListenerAddressHasBeenSet = false;
119
120 Aws::String m_srtListenerPort;
121 bool m_srtListenerPortHasBeenSet = false;
122
123 Aws::String m_streamId;
124 bool m_streamIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace MediaLive
129} // namespace Aws
void SetDecryption(const SrtCallerDecryption &value)
void SetSrtListenerPort(const Aws::String &value)
SrtCallerSource & WithStreamId(const char *value)
SrtCallerSource & WithSrtListenerPort(Aws::String &&value)
void SetStreamId(Aws::String &&value)
SrtCallerSource & WithSrtListenerAddress(const char *value)
SrtCallerSource & WithSrtListenerAddress(Aws::String &&value)
SrtCallerSource & WithSrtListenerPort(const char *value)
SrtCallerSource & WithStreamId(Aws::String &&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(const SrtCallerDecryption &value)
const Aws::String & GetStreamId() const
SrtCallerSource & WithDecryption(SrtCallerDecryption &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SrtCallerSource & WithSrtListenerAddress(const Aws::String &value)
SrtCallerSource & WithStreamId(const Aws::String &value)
const Aws::String & GetSrtListenerAddress() const
SrtCallerSource & WithMinimumLatency(int value)
SrtCallerSource & WithSrtListenerPort(const Aws::String &value)
void SetSrtListenerPort(const char *value)
const Aws::String & GetSrtListenerPort() const
void SetSrtListenerAddress(const Aws::String &value)
void SetDecryption(SrtCallerDecryption &&value)
void SetSrtListenerAddress(const char *value)
void SetSrtListenerPort(Aws::String &&value)
void SetSrtListenerAddress(Aws::String &&value)
void SetStreamId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue