AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDecryption(const SrtCallerDecryptionRequest& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
50 inline void SetDecryption(SrtCallerDecryptionRequest&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
52 inline SrtCallerSourceRequest& WithDecryption(SrtCallerDecryptionRequest&& value) { SetDecryption(std::move(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 inline void SetSrtListenerAddress(const Aws::String& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = value; }
75 inline void SetSrtListenerAddress(Aws::String&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::move(value); }
76 inline void SetSrtListenerAddress(const char* value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress.assign(value); }
78 inline SrtCallerSourceRequest& WithSrtListenerAddress(Aws::String&& value) { SetSrtListenerAddress(std::move(value)); return *this;}
79 inline SrtCallerSourceRequest& WithSrtListenerAddress(const char* value) { SetSrtListenerAddress(value); return *this;}
81
83
87 inline const Aws::String& GetSrtListenerPort() const{ return m_srtListenerPort; }
88 inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; }
89 inline void SetSrtListenerPort(const Aws::String& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = value; }
90 inline void SetSrtListenerPort(Aws::String&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::move(value); }
91 inline void SetSrtListenerPort(const char* value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort.assign(value); }
92 inline SrtCallerSourceRequest& WithSrtListenerPort(const Aws::String& value) { SetSrtListenerPort(value); return *this;}
93 inline SrtCallerSourceRequest& WithSrtListenerPort(Aws::String&& value) { SetSrtListenerPort(std::move(value)); return *this;}
94 inline SrtCallerSourceRequest& WithSrtListenerPort(const char* value) { SetSrtListenerPort(value); return *this;}
96
98
103 inline const Aws::String& GetStreamId() const{ return m_streamId; }
104 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
105 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
106 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
107 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
108 inline SrtCallerSourceRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
109 inline SrtCallerSourceRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
110 inline SrtCallerSourceRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
112 private:
113
114 SrtCallerDecryptionRequest m_decryption;
115 bool m_decryptionHasBeenSet = false;
116
117 int m_minimumLatency;
118 bool m_minimumLatencyHasBeenSet = false;
119
120 Aws::String m_srtListenerAddress;
121 bool m_srtListenerAddressHasBeenSet = false;
122
123 Aws::String m_srtListenerPort;
124 bool m_srtListenerPortHasBeenSet = false;
125
126 Aws::String m_streamId;
127 bool m_streamIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace MediaLive
132} // namespace Aws
void SetDecryption(SrtCallerDecryptionRequest &&value)
AWS_MEDIALIVE_API SrtCallerSourceRequest(Aws::Utils::Json::JsonView jsonValue)
SrtCallerSourceRequest & WithDecryption(SrtCallerDecryptionRequest &&value)
SrtCallerSourceRequest & WithStreamId(Aws::String &&value)
SrtCallerSourceRequest & WithSrtListenerAddress(Aws::String &&value)
SrtCallerSourceRequest & WithStreamId(const char *value)
SrtCallerSourceRequest & WithSrtListenerPort(const char *value)
AWS_MEDIALIVE_API SrtCallerSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtCallerSourceRequest & WithSrtListenerAddress(const Aws::String &value)
SrtCallerSourceRequest & WithStreamId(const Aws::String &value)
SrtCallerSourceRequest & WithMinimumLatency(int value)
SrtCallerSourceRequest & WithSrtListenerPort(const Aws::String &value)
SrtCallerSourceRequest & WithSrtListenerAddress(const char *value)
const SrtCallerDecryptionRequest & GetDecryption() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SrtCallerSourceRequest & WithDecryption(const SrtCallerDecryptionRequest &value)
void SetDecryption(const SrtCallerDecryptionRequest &value)
SrtCallerSourceRequest & WithSrtListenerPort(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue