AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddOutputRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconnect/model/Encryption.h>
11#include <aws/mediaconnect/model/Protocol.h>
12#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
13#include <aws/mediaconnect/model/OutputStatus.h>
14#include <aws/mediaconnect/model/MediaStreamOutputConfigurationRequest.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConnect
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIACONNECT_API AddOutputRequest();
41 AWS_MEDIACONNECT_API AddOutputRequest(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONNECT_API AddOutputRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
53 inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
54 inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
55 inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
56 inline AddOutputRequest& WithCidrAllowList(const Aws::Vector<Aws::String>& value) { SetCidrAllowList(value); return *this;}
57 inline AddOutputRequest& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
58 inline AddOutputRequest& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
59 inline AddOutputRequest& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
60 inline AddOutputRequest& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
62
64
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
73 inline AddOutputRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline AddOutputRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline AddOutputRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const Aws::String& GetDestination() const{ return m_destination; }
83 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
84 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
85 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
86 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
87 inline AddOutputRequest& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
88 inline AddOutputRequest& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
89 inline AddOutputRequest& WithDestination(const char* value) { SetDestination(value); return *this;}
91
93
98 inline const Encryption& GetEncryption() const{ return m_encryption; }
99 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
100 inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
101 inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
102 inline AddOutputRequest& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
103 inline AddOutputRequest& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
105
107
111 inline int GetMaxLatency() const{ return m_maxLatency; }
112 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
113 inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
114 inline AddOutputRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
116
118
122 inline const Aws::Vector<MediaStreamOutputConfigurationRequest>& GetMediaStreamOutputConfigurations() const{ return m_mediaStreamOutputConfigurations; }
123 inline bool MediaStreamOutputConfigurationsHasBeenSet() const { return m_mediaStreamOutputConfigurationsHasBeenSet; }
124 inline void SetMediaStreamOutputConfigurations(const Aws::Vector<MediaStreamOutputConfigurationRequest>& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = value; }
125 inline void SetMediaStreamOutputConfigurations(Aws::Vector<MediaStreamOutputConfigurationRequest>&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = std::move(value); }
128 inline AddOutputRequest& AddMediaStreamOutputConfigurations(const MediaStreamOutputConfigurationRequest& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(value); return *this; }
129 inline AddOutputRequest& AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationRequest&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(std::move(value)); return *this; }
131
133
140 inline int GetMinLatency() const{ return m_minLatency; }
141 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
142 inline void SetMinLatency(int value) { m_minLatencyHasBeenSet = true; m_minLatency = value; }
143 inline AddOutputRequest& WithMinLatency(int value) { SetMinLatency(value); return *this;}
145
147
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
153 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 inline AddOutputRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline AddOutputRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline AddOutputRequest& WithName(const char* value) { SetName(value); return *this;}
159
161
164 inline int GetPort() const{ return m_port; }
165 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
166 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
167 inline AddOutputRequest& WithPort(int value) { SetPort(value); return *this;}
169
171
174 inline const Protocol& GetProtocol() const{ return m_protocol; }
175 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
176 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
177 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
178 inline AddOutputRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
179 inline AddOutputRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
181
183
186 inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
187 inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
188 inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
189 inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
190 inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
191 inline AddOutputRequest& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
192 inline AddOutputRequest& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
193 inline AddOutputRequest& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
195
197
201 inline int GetSenderControlPort() const{ return m_senderControlPort; }
202 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
203 inline void SetSenderControlPort(int value) { m_senderControlPortHasBeenSet = true; m_senderControlPort = value; }
204 inline AddOutputRequest& WithSenderControlPort(int value) { SetSenderControlPort(value); return *this;}
206
208
211 inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
212 inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
213 inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
214 inline AddOutputRequest& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
216
218
222 inline const Aws::String& GetStreamId() const{ return m_streamId; }
223 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
224 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
225 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
226 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
227 inline AddOutputRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
228 inline AddOutputRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
229 inline AddOutputRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
231
233
236 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
237 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
238 inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
239 inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
243
245
250 inline const OutputStatus& GetOutputStatus() const{ return m_outputStatus; }
251 inline bool OutputStatusHasBeenSet() const { return m_outputStatusHasBeenSet; }
252 inline void SetOutputStatus(const OutputStatus& value) { m_outputStatusHasBeenSet = true; m_outputStatus = value; }
253 inline void SetOutputStatus(OutputStatus&& value) { m_outputStatusHasBeenSet = true; m_outputStatus = std::move(value); }
254 inline AddOutputRequest& WithOutputStatus(const OutputStatus& value) { SetOutputStatus(value); return *this;}
255 inline AddOutputRequest& WithOutputStatus(OutputStatus&& value) { SetOutputStatus(std::move(value)); return *this;}
257 private:
258
259 Aws::Vector<Aws::String> m_cidrAllowList;
260 bool m_cidrAllowListHasBeenSet = false;
261
262 Aws::String m_description;
263 bool m_descriptionHasBeenSet = false;
264
265 Aws::String m_destination;
266 bool m_destinationHasBeenSet = false;
267
268 Encryption m_encryption;
269 bool m_encryptionHasBeenSet = false;
270
271 int m_maxLatency;
272 bool m_maxLatencyHasBeenSet = false;
273
274 Aws::Vector<MediaStreamOutputConfigurationRequest> m_mediaStreamOutputConfigurations;
275 bool m_mediaStreamOutputConfigurationsHasBeenSet = false;
276
277 int m_minLatency;
278 bool m_minLatencyHasBeenSet = false;
279
280 Aws::String m_name;
281 bool m_nameHasBeenSet = false;
282
283 int m_port;
284 bool m_portHasBeenSet = false;
285
286 Protocol m_protocol;
287 bool m_protocolHasBeenSet = false;
288
289 Aws::String m_remoteId;
290 bool m_remoteIdHasBeenSet = false;
291
292 int m_senderControlPort;
293 bool m_senderControlPortHasBeenSet = false;
294
295 int m_smoothingLatency;
296 bool m_smoothingLatencyHasBeenSet = false;
297
298 Aws::String m_streamId;
299 bool m_streamIdHasBeenSet = false;
300
301 VpcInterfaceAttachment m_vpcInterfaceAttachment;
302 bool m_vpcInterfaceAttachmentHasBeenSet = false;
303
304 OutputStatus m_outputStatus;
305 bool m_outputStatusHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace MediaConnect
310} // namespace Aws
const Aws::Vector< MediaStreamOutputConfigurationRequest > & GetMediaStreamOutputConfigurations() const
const Aws::Vector< Aws::String > & GetCidrAllowList() const
AddOutputRequest & AddMediaStreamOutputConfigurations(const MediaStreamOutputConfigurationRequest &value)
const OutputStatus & GetOutputStatus() const
AddOutputRequest & WithEncryption(const Encryption &value)
AddOutputRequest & WithCidrAllowList(Aws::Vector< Aws::String > &&value)
AddOutputRequest & WithSmoothingLatency(int value)
void SetName(const Aws::String &value)
AddOutputRequest & WithMinLatency(int value)
AddOutputRequest & AddCidrAllowList(const char *value)
AddOutputRequest & WithName(const Aws::String &value)
AddOutputRequest & WithRemoteId(const Aws::String &value)
AddOutputRequest & WithRemoteId(const char *value)
void SetDestination(const Aws::String &value)
AddOutputRequest & WithStreamId(Aws::String &&value)
AWS_MEDIACONNECT_API AddOutputRequest(Aws::Utils::Json::JsonView jsonValue)
AddOutputRequest & WithDestination(const char *value)
void SetOutputStatus(const OutputStatus &value)
AddOutputRequest & WithDestination(Aws::String &&value)
AddOutputRequest & WithName(const char *value)
AWS_MEDIACONNECT_API AddOutputRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcInterfaceAttachment & GetVpcInterfaceAttachment() const
AddOutputRequest & WithProtocol(Protocol &&value)
AddOutputRequest & WithCidrAllowList(const Aws::Vector< Aws::String > &value)
AddOutputRequest & WithMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfigurationRequest > &&value)
AddOutputRequest & WithVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
const Aws::String & GetDescription() const
AddOutputRequest & WithStreamId(const char *value)
void SetDescription(const Aws::String &value)
AddOutputRequest & WithName(Aws::String &&value)
void SetMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfigurationRequest > &&value)
void SetVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
void SetStreamId(const Aws::String &value)
const Aws::String & GetDestination() const
AddOutputRequest & WithProtocol(const Protocol &value)
AddOutputRequest & WithOutputStatus(const OutputStatus &value)
AddOutputRequest & WithDestination(const Aws::String &value)
AddOutputRequest & AddCidrAllowList(const Aws::String &value)
AddOutputRequest & WithRemoteId(Aws::String &&value)
AddOutputRequest & WithMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfigurationRequest > &value)
AddOutputRequest & WithOutputStatus(OutputStatus &&value)
AddOutputRequest & WithDescription(const Aws::String &value)
void SetMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfigurationRequest > &value)
AddOutputRequest & WithVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
void SetEncryption(const Encryption &value)
AddOutputRequest & WithEncryption(Encryption &&value)
AddOutputRequest & WithStreamId(const Aws::String &value)
AddOutputRequest & WithDescription(const char *value)
AddOutputRequest & AddCidrAllowList(Aws::String &&value)
AddOutputRequest & WithSenderControlPort(int value)
void SetCidrAllowList(const Aws::Vector< Aws::String > &value)
void SetCidrAllowList(Aws::Vector< Aws::String > &&value)
AddOutputRequest & WithDescription(Aws::String &&value)
void SetRemoteId(const Aws::String &value)
AddOutputRequest & AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationRequest &&value)
void SetVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AddOutputRequest & WithMaxLatency(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue