AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transport.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/model/Protocol.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MEDIACONNECT_API Transport();
38 AWS_MEDIACONNECT_API Transport(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Transport& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
50 inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
51 inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
52 inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
53 inline Transport& WithCidrAllowList(const Aws::Vector<Aws::String>& value) { SetCidrAllowList(value); return *this;}
54 inline Transport& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
55 inline Transport& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
56 inline Transport& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
57 inline Transport& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
59
61
64 inline int GetMaxBitrate() const{ return m_maxBitrate; }
65 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
66 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
67 inline Transport& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
69
71
75 inline int GetMaxLatency() const{ return m_maxLatency; }
76 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
77 inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
78 inline Transport& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
80
82
85 inline int GetMaxSyncBuffer() const{ return m_maxSyncBuffer; }
86 inline bool MaxSyncBufferHasBeenSet() const { return m_maxSyncBufferHasBeenSet; }
87 inline void SetMaxSyncBuffer(int value) { m_maxSyncBufferHasBeenSet = true; m_maxSyncBuffer = value; }
88 inline Transport& WithMaxSyncBuffer(int value) { SetMaxSyncBuffer(value); return *this;}
90
92
99 inline int GetMinLatency() const{ return m_minLatency; }
100 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
101 inline void SetMinLatency(int value) { m_minLatencyHasBeenSet = true; m_minLatency = value; }
102 inline Transport& WithMinLatency(int value) { SetMinLatency(value); return *this;}
104
106
109 inline const Protocol& GetProtocol() const{ return m_protocol; }
110 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
111 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
112 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
113 inline Transport& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
114 inline Transport& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
122 inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
123 inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
124 inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
125 inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
126 inline Transport& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
127 inline Transport& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
128 inline Transport& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
130
132
136 inline int GetSenderControlPort() const{ return m_senderControlPort; }
137 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
138 inline void SetSenderControlPort(int value) { m_senderControlPortHasBeenSet = true; m_senderControlPort = value; }
139 inline Transport& WithSenderControlPort(int value) { SetSenderControlPort(value); return *this;}
141
143
147 inline const Aws::String& GetSenderIpAddress() const{ return m_senderIpAddress; }
148 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
149 inline void SetSenderIpAddress(const Aws::String& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = value; }
150 inline void SetSenderIpAddress(Aws::String&& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = std::move(value); }
151 inline void SetSenderIpAddress(const char* value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress.assign(value); }
152 inline Transport& WithSenderIpAddress(const Aws::String& value) { SetSenderIpAddress(value); return *this;}
153 inline Transport& WithSenderIpAddress(Aws::String&& value) { SetSenderIpAddress(std::move(value)); return *this;}
154 inline Transport& WithSenderIpAddress(const char* value) { SetSenderIpAddress(value); return *this;}
156
158
161 inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
162 inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
163 inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
164 inline Transport& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
166
168
171 inline const Aws::String& GetSourceListenerAddress() const{ return m_sourceListenerAddress; }
172 inline bool SourceListenerAddressHasBeenSet() const { return m_sourceListenerAddressHasBeenSet; }
173 inline void SetSourceListenerAddress(const Aws::String& value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress = value; }
174 inline void SetSourceListenerAddress(Aws::String&& value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress = std::move(value); }
175 inline void SetSourceListenerAddress(const char* value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress.assign(value); }
176 inline Transport& WithSourceListenerAddress(const Aws::String& value) { SetSourceListenerAddress(value); return *this;}
177 inline Transport& WithSourceListenerAddress(Aws::String&& value) { SetSourceListenerAddress(std::move(value)); return *this;}
178 inline Transport& WithSourceListenerAddress(const char* value) { SetSourceListenerAddress(value); return *this;}
180
182
185 inline int GetSourceListenerPort() const{ return m_sourceListenerPort; }
186 inline bool SourceListenerPortHasBeenSet() const { return m_sourceListenerPortHasBeenSet; }
187 inline void SetSourceListenerPort(int value) { m_sourceListenerPortHasBeenSet = true; m_sourceListenerPort = value; }
188 inline Transport& WithSourceListenerPort(int value) { SetSourceListenerPort(value); return *this;}
190
192
196 inline const Aws::String& GetStreamId() const{ return m_streamId; }
197 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
198 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
199 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
200 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
201 inline Transport& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
202 inline Transport& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
203 inline Transport& WithStreamId(const char* value) { SetStreamId(value); return *this;}
205 private:
206
207 Aws::Vector<Aws::String> m_cidrAllowList;
208 bool m_cidrAllowListHasBeenSet = false;
209
210 int m_maxBitrate;
211 bool m_maxBitrateHasBeenSet = false;
212
213 int m_maxLatency;
214 bool m_maxLatencyHasBeenSet = false;
215
216 int m_maxSyncBuffer;
217 bool m_maxSyncBufferHasBeenSet = false;
218
219 int m_minLatency;
220 bool m_minLatencyHasBeenSet = false;
221
222 Protocol m_protocol;
223 bool m_protocolHasBeenSet = false;
224
225 Aws::String m_remoteId;
226 bool m_remoteIdHasBeenSet = false;
227
228 int m_senderControlPort;
229 bool m_senderControlPortHasBeenSet = false;
230
231 Aws::String m_senderIpAddress;
232 bool m_senderIpAddressHasBeenSet = false;
233
234 int m_smoothingLatency;
235 bool m_smoothingLatencyHasBeenSet = false;
236
237 Aws::String m_sourceListenerAddress;
238 bool m_sourceListenerAddressHasBeenSet = false;
239
240 int m_sourceListenerPort;
241 bool m_sourceListenerPortHasBeenSet = false;
242
243 Aws::String m_streamId;
244 bool m_streamIdHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace MediaConnect
249} // namespace Aws
Transport & AddCidrAllowList(Aws::String &&value)
Definition Transport.h:56
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceListenerAddress(const Aws::String &value)
Definition Transport.h:173
const Aws::Vector< Aws::String > & GetCidrAllowList() const
Definition Transport.h:49
void SetProtocol(Protocol &&value)
Definition Transport.h:112
Transport & WithStreamId(const Aws::String &value)
Definition Transport.h:201
Transport & WithProtocol(const Protocol &value)
Definition Transport.h:113
Transport & WithSourceListenerAddress(const char *value)
Definition Transport.h:178
const Aws::String & GetStreamId() const
Definition Transport.h:196
Transport & AddCidrAllowList(const Aws::String &value)
Definition Transport.h:55
void SetSourceListenerAddress(Aws::String &&value)
Definition Transport.h:174
Transport & WithSenderControlPort(int value)
Definition Transport.h:139
void SetRemoteId(const Aws::String &value)
Definition Transport.h:123
Transport & WithCidrAllowList(Aws::Vector< Aws::String > &&value)
Definition Transport.h:54
Transport & WithProtocol(Protocol &&value)
Definition Transport.h:114
void SetCidrAllowList(Aws::Vector< Aws::String > &&value)
Definition Transport.h:52
Transport & WithRemoteId(const Aws::String &value)
Definition Transport.h:126
void SetProtocol(const Protocol &value)
Definition Transport.h:111
void SetStreamId(const char *value)
Definition Transport.h:200
Transport & WithStreamId(Aws::String &&value)
Definition Transport.h:202
const Aws::String & GetSourceListenerAddress() const
Definition Transport.h:171
Transport & WithCidrAllowList(const Aws::Vector< Aws::String > &value)
Definition Transport.h:53
Transport & WithSourceListenerAddress(Aws::String &&value)
Definition Transport.h:177
void SetStreamId(Aws::String &&value)
Definition Transport.h:199
Transport & WithSenderIpAddress(const Aws::String &value)
Definition Transport.h:152
Transport & WithSenderIpAddress(const char *value)
Definition Transport.h:154
const Aws::String & GetSenderIpAddress() const
Definition Transport.h:147
void SetStreamId(const Aws::String &value)
Definition Transport.h:198
AWS_MEDIACONNECT_API Transport()
void SetSourceListenerAddress(const char *value)
Definition Transport.h:175
Transport & WithMaxLatency(int value)
Definition Transport.h:78
void SetSenderIpAddress(const Aws::String &value)
Definition Transport.h:149
Transport & WithSmoothingLatency(int value)
Definition Transport.h:164
void SetRemoteId(Aws::String &&value)
Definition Transport.h:124
void SetCidrAllowList(const Aws::Vector< Aws::String > &value)
Definition Transport.h:51
const Protocol & GetProtocol() const
Definition Transport.h:109
Transport & WithMaxSyncBuffer(int value)
Definition Transport.h:88
Transport & WithSenderIpAddress(Aws::String &&value)
Definition Transport.h:153
Transport & WithSourceListenerPort(int value)
Definition Transport.h:188
void SetSenderIpAddress(Aws::String &&value)
Definition Transport.h:150
Transport & WithRemoteId(const char *value)
Definition Transport.h:128
void SetSenderIpAddress(const char *value)
Definition Transport.h:151
AWS_MEDIACONNECT_API Transport(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteId(const char *value)
Definition Transport.h:125
Transport & WithSourceListenerAddress(const Aws::String &value)
Definition Transport.h:176
AWS_MEDIACONNECT_API Transport & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRemoteId() const
Definition Transport.h:121
Transport & WithMinLatency(int value)
Definition Transport.h:102
Transport & AddCidrAllowList(const char *value)
Definition Transport.h:57
Transport & WithStreamId(const char *value)
Definition Transport.h:203
Transport & WithRemoteId(Aws::String &&value)
Definition Transport.h:127
Transport & WithMaxBitrate(int value)
Definition Transport.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue