AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/Encryption.h>
11#include <aws/mediaconnect/model/FlowTransitEncryption.h>
12#include <aws/mediaconnect/model/MediaStreamOutputConfiguration.h>
13#include <aws/mediaconnect/model/OutputStatus.h>
14#include <aws/mediaconnect/model/State.h>
15#include <aws/mediaconnect/model/Transport.h>
16#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConnect {
28namespace Model {
29
35class Output {
36 public:
37 AWS_MEDIACONNECT_API Output() = default;
38 AWS_MEDIACONNECT_API Output(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline int GetDataTransferSubscriberFeePercent() const { return m_dataTransferSubscriberFeePercent; }
48 inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
49 inline void SetDataTransferSubscriberFeePercent(int value) {
50 m_dataTransferSubscriberFeePercentHasBeenSet = true;
51 m_dataTransferSubscriberFeePercent = value;
52 }
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
71 Output& WithDescription(DescriptionT&& value) {
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDestination() const { return m_destination; }
82 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
83 template <typename DestinationT = Aws::String>
84 void SetDestination(DestinationT&& value) {
85 m_destinationHasBeenSet = true;
86 m_destination = std::forward<DestinationT>(value);
87 }
88 template <typename DestinationT = Aws::String>
89 Output& WithDestination(DestinationT&& value) {
90 SetDestination(std::forward<DestinationT>(value));
91 return *this;
92 }
94
96
100 inline const Encryption& GetEncryption() const { return m_encryption; }
101 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
102 template <typename EncryptionT = Encryption>
103 void SetEncryption(EncryptionT&& value) {
104 m_encryptionHasBeenSet = true;
105 m_encryption = std::forward<EncryptionT>(value);
106 }
107 template <typename EncryptionT = Encryption>
108 Output& WithEncryption(EncryptionT&& value) {
109 SetEncryption(std::forward<EncryptionT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetEntitlementArn() const { return m_entitlementArn; }
120 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
121 template <typename EntitlementArnT = Aws::String>
122 void SetEntitlementArn(EntitlementArnT&& value) {
123 m_entitlementArnHasBeenSet = true;
124 m_entitlementArn = std::forward<EntitlementArnT>(value);
125 }
126 template <typename EntitlementArnT = Aws::String>
127 Output& WithEntitlementArn(EntitlementArnT&& value) {
128 SetEntitlementArn(std::forward<EntitlementArnT>(value));
129 return *this;
130 }
132
134
141 inline const Aws::String& GetListenerAddress() const { return m_listenerAddress; }
142 inline bool ListenerAddressHasBeenSet() const { return m_listenerAddressHasBeenSet; }
143 template <typename ListenerAddressT = Aws::String>
144 void SetListenerAddress(ListenerAddressT&& value) {
145 m_listenerAddressHasBeenSet = true;
146 m_listenerAddress = std::forward<ListenerAddressT>(value);
147 }
148 template <typename ListenerAddressT = Aws::String>
149 Output& WithListenerAddress(ListenerAddressT&& value) {
150 SetListenerAddress(std::forward<ListenerAddressT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::String& GetMediaLiveInputArn() const { return m_mediaLiveInputArn; }
161 inline bool MediaLiveInputArnHasBeenSet() const { return m_mediaLiveInputArnHasBeenSet; }
162 template <typename MediaLiveInputArnT = Aws::String>
163 void SetMediaLiveInputArn(MediaLiveInputArnT&& value) {
164 m_mediaLiveInputArnHasBeenSet = true;
165 m_mediaLiveInputArn = std::forward<MediaLiveInputArnT>(value);
166 }
167 template <typename MediaLiveInputArnT = Aws::String>
168 Output& WithMediaLiveInputArn(MediaLiveInputArnT&& value) {
169 SetMediaLiveInputArn(std::forward<MediaLiveInputArnT>(value));
170 return *this;
171 }
173
175
180 return m_mediaStreamOutputConfigurations;
181 }
182 inline bool MediaStreamOutputConfigurationsHasBeenSet() const { return m_mediaStreamOutputConfigurationsHasBeenSet; }
183 template <typename MediaStreamOutputConfigurationsT = Aws::Vector<MediaStreamOutputConfiguration>>
184 void SetMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) {
185 m_mediaStreamOutputConfigurationsHasBeenSet = true;
186 m_mediaStreamOutputConfigurations = std::forward<MediaStreamOutputConfigurationsT>(value);
187 }
188 template <typename MediaStreamOutputConfigurationsT = Aws::Vector<MediaStreamOutputConfiguration>>
189 Output& WithMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) {
190 SetMediaStreamOutputConfigurations(std::forward<MediaStreamOutputConfigurationsT>(value));
191 return *this;
192 }
193 template <typename MediaStreamOutputConfigurationsT = MediaStreamOutputConfiguration>
194 Output& AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) {
195 m_mediaStreamOutputConfigurationsHasBeenSet = true;
196 m_mediaStreamOutputConfigurations.emplace_back(std::forward<MediaStreamOutputConfigurationsT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::String& GetName() const { return m_name; }
207 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
208 template <typename NameT = Aws::String>
209 void SetName(NameT&& value) {
210 m_nameHasBeenSet = true;
211 m_name = std::forward<NameT>(value);
212 }
213 template <typename NameT = Aws::String>
214 Output& WithName(NameT&& value) {
215 SetName(std::forward<NameT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::String& GetOutputArn() const { return m_outputArn; }
225 inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
226 template <typename OutputArnT = Aws::String>
227 void SetOutputArn(OutputArnT&& value) {
228 m_outputArnHasBeenSet = true;
229 m_outputArn = std::forward<OutputArnT>(value);
230 }
231 template <typename OutputArnT = Aws::String>
232 Output& WithOutputArn(OutputArnT&& value) {
233 SetOutputArn(std::forward<OutputArnT>(value));
234 return *this;
235 }
237
239
242 inline int GetPort() const { return m_port; }
243 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
244 inline void SetPort(int value) {
245 m_portHasBeenSet = true;
246 m_port = value;
247 }
248 inline Output& WithPort(int value) {
249 SetPort(value);
250 return *this;
251 }
253
255
258 inline const Transport& GetTransport() const { return m_transport; }
259 inline bool TransportHasBeenSet() const { return m_transportHasBeenSet; }
260 template <typename TransportT = Transport>
261 void SetTransport(TransportT&& value) {
262 m_transportHasBeenSet = true;
263 m_transport = std::forward<TransportT>(value);
264 }
265 template <typename TransportT = Transport>
266 Output& WithTransport(TransportT&& value) {
267 SetTransport(std::forward<TransportT>(value));
268 return *this;
269 }
271
273
276 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const { return m_vpcInterfaceAttachment; }
277 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
278 template <typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
279 void SetVpcInterfaceAttachment(VpcInterfaceAttachmentT&& value) {
280 m_vpcInterfaceAttachmentHasBeenSet = true;
281 m_vpcInterfaceAttachment = std::forward<VpcInterfaceAttachmentT>(value);
282 }
283 template <typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
284 Output& WithVpcInterfaceAttachment(VpcInterfaceAttachmentT&& value) {
285 SetVpcInterfaceAttachment(std::forward<VpcInterfaceAttachmentT>(value));
286 return *this;
287 }
289
291
294 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
295 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
296 template <typename BridgeArnT = Aws::String>
297 void SetBridgeArn(BridgeArnT&& value) {
298 m_bridgeArnHasBeenSet = true;
299 m_bridgeArn = std::forward<BridgeArnT>(value);
300 }
301 template <typename BridgeArnT = Aws::String>
302 Output& WithBridgeArn(BridgeArnT&& value) {
303 SetBridgeArn(std::forward<BridgeArnT>(value));
304 return *this;
305 }
307
309
312 inline const Aws::Vector<int>& GetBridgePorts() const { return m_bridgePorts; }
313 inline bool BridgePortsHasBeenSet() const { return m_bridgePortsHasBeenSet; }
314 template <typename BridgePortsT = Aws::Vector<int>>
315 void SetBridgePorts(BridgePortsT&& value) {
316 m_bridgePortsHasBeenSet = true;
317 m_bridgePorts = std::forward<BridgePortsT>(value);
318 }
319 template <typename BridgePortsT = Aws::Vector<int>>
320 Output& WithBridgePorts(BridgePortsT&& value) {
321 SetBridgePorts(std::forward<BridgePortsT>(value));
322 return *this;
323 }
324 inline Output& AddBridgePorts(int value) {
325 m_bridgePortsHasBeenSet = true;
326 m_bridgePorts.push_back(value);
327 return *this;
328 }
330
332
335 inline OutputStatus GetOutputStatus() const { return m_outputStatus; }
336 inline bool OutputStatusHasBeenSet() const { return m_outputStatusHasBeenSet; }
337 inline void SetOutputStatus(OutputStatus value) {
338 m_outputStatusHasBeenSet = true;
339 m_outputStatus = value;
340 }
342 SetOutputStatus(value);
343 return *this;
344 }
346
348
361 inline const Aws::String& GetPeerIpAddress() const { return m_peerIpAddress; }
362 inline bool PeerIpAddressHasBeenSet() const { return m_peerIpAddressHasBeenSet; }
363 template <typename PeerIpAddressT = Aws::String>
364 void SetPeerIpAddress(PeerIpAddressT&& value) {
365 m_peerIpAddressHasBeenSet = true;
366 m_peerIpAddress = std::forward<PeerIpAddressT>(value);
367 }
368 template <typename PeerIpAddressT = Aws::String>
369 Output& WithPeerIpAddress(PeerIpAddressT&& value) {
370 SetPeerIpAddress(std::forward<PeerIpAddressT>(value));
371 return *this;
372 }
374
376
380 inline State GetRouterIntegrationState() const { return m_routerIntegrationState; }
381 inline bool RouterIntegrationStateHasBeenSet() const { return m_routerIntegrationStateHasBeenSet; }
382 inline void SetRouterIntegrationState(State value) {
383 m_routerIntegrationStateHasBeenSet = true;
384 m_routerIntegrationState = value;
385 }
388 return *this;
389 }
391
393
397 inline const FlowTransitEncryption& GetRouterIntegrationTransitEncryption() const { return m_routerIntegrationTransitEncryption; }
398 inline bool RouterIntegrationTransitEncryptionHasBeenSet() const { return m_routerIntegrationTransitEncryptionHasBeenSet; }
399 template <typename RouterIntegrationTransitEncryptionT = FlowTransitEncryption>
400 void SetRouterIntegrationTransitEncryption(RouterIntegrationTransitEncryptionT&& value) {
401 m_routerIntegrationTransitEncryptionHasBeenSet = true;
402 m_routerIntegrationTransitEncryption = std::forward<RouterIntegrationTransitEncryptionT>(value);
403 }
404 template <typename RouterIntegrationTransitEncryptionT = FlowTransitEncryption>
405 Output& WithRouterIntegrationTransitEncryption(RouterIntegrationTransitEncryptionT&& value) {
406 SetRouterIntegrationTransitEncryption(std::forward<RouterIntegrationTransitEncryptionT>(value));
407 return *this;
408 }
410
412
415 inline const Aws::String& GetConnectedRouterInputArn() const { return m_connectedRouterInputArn; }
416 inline bool ConnectedRouterInputArnHasBeenSet() const { return m_connectedRouterInputArnHasBeenSet; }
417 template <typename ConnectedRouterInputArnT = Aws::String>
418 void SetConnectedRouterInputArn(ConnectedRouterInputArnT&& value) {
419 m_connectedRouterInputArnHasBeenSet = true;
420 m_connectedRouterInputArn = std::forward<ConnectedRouterInputArnT>(value);
421 }
422 template <typename ConnectedRouterInputArnT = Aws::String>
423 Output& WithConnectedRouterInputArn(ConnectedRouterInputArnT&& value) {
424 SetConnectedRouterInputArn(std::forward<ConnectedRouterInputArnT>(value));
425 return *this;
426 }
428 private:
429 int m_dataTransferSubscriberFeePercent{0};
430
431 Aws::String m_description;
432
433 Aws::String m_destination;
434
435 Encryption m_encryption;
436
437 Aws::String m_entitlementArn;
438
439 Aws::String m_listenerAddress;
440
441 Aws::String m_mediaLiveInputArn;
442
443 Aws::Vector<MediaStreamOutputConfiguration> m_mediaStreamOutputConfigurations;
444
445 Aws::String m_name;
446
447 Aws::String m_outputArn;
448
449 int m_port{0};
450
451 Transport m_transport;
452
453 VpcInterfaceAttachment m_vpcInterfaceAttachment;
454
455 Aws::String m_bridgeArn;
456
457 Aws::Vector<int> m_bridgePorts;
458
459 OutputStatus m_outputStatus{OutputStatus::NOT_SET};
460
461 Aws::String m_peerIpAddress;
462
463 State m_routerIntegrationState{State::NOT_SET};
464
465 FlowTransitEncryption m_routerIntegrationTransitEncryption;
466
467 Aws::String m_connectedRouterInputArn;
468 bool m_dataTransferSubscriberFeePercentHasBeenSet = false;
469 bool m_descriptionHasBeenSet = false;
470 bool m_destinationHasBeenSet = false;
471 bool m_encryptionHasBeenSet = false;
472 bool m_entitlementArnHasBeenSet = false;
473 bool m_listenerAddressHasBeenSet = false;
474 bool m_mediaLiveInputArnHasBeenSet = false;
475 bool m_mediaStreamOutputConfigurationsHasBeenSet = false;
476 bool m_nameHasBeenSet = false;
477 bool m_outputArnHasBeenSet = false;
478 bool m_portHasBeenSet = false;
479 bool m_transportHasBeenSet = false;
480 bool m_vpcInterfaceAttachmentHasBeenSet = false;
481 bool m_bridgeArnHasBeenSet = false;
482 bool m_bridgePortsHasBeenSet = false;
483 bool m_outputStatusHasBeenSet = false;
484 bool m_peerIpAddressHasBeenSet = false;
485 bool m_routerIntegrationStateHasBeenSet = false;
486 bool m_routerIntegrationTransitEncryptionHasBeenSet = false;
487 bool m_connectedRouterInputArnHasBeenSet = false;
488};
489
490} // namespace Model
491} // namespace MediaConnect
492} // namespace Aws
void SetEntitlementArn(EntitlementArnT &&value)
Definition Output.h:122
const Transport & GetTransport() const
Definition Output.h:258
void SetOutputStatus(OutputStatus value)
Definition Output.h:337
Output & AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:194
bool MediaLiveInputArnHasBeenSet() const
Definition Output.h:161
const Aws::String & GetDescription() const
Definition Output.h:63
AWS_MEDIACONNECT_API Output(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Output.h:206
bool VpcInterfaceAttachmentHasBeenSet() const
Definition Output.h:277
const Aws::Vector< int > & GetBridgePorts() const
Definition Output.h:312
bool BridgePortsHasBeenSet() const
Definition Output.h:313
Output & WithListenerAddress(ListenerAddressT &&value)
Definition Output.h:149
int GetDataTransferSubscriberFeePercent() const
Definition Output.h:47
Output & WithEncryption(EncryptionT &&value)
Definition Output.h:108
void SetPeerIpAddress(PeerIpAddressT &&value)
Definition Output.h:364
const FlowTransitEncryption & GetRouterIntegrationTransitEncryption() const
Definition Output.h:397
Output & WithTransport(TransportT &&value)
Definition Output.h:266
const Aws::Vector< MediaStreamOutputConfiguration > & GetMediaStreamOutputConfigurations() const
Definition Output.h:179
const Aws::String & GetDestination() const
Definition Output.h:81
Output & WithDataTransferSubscriberFeePercent(int value)
Definition Output.h:53
AWS_MEDIACONNECT_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPeerIpAddress() const
Definition Output.h:361
void SetVpcInterfaceAttachment(VpcInterfaceAttachmentT &&value)
Definition Output.h:279
void SetConnectedRouterInputArn(ConnectedRouterInputArnT &&value)
Definition Output.h:418
OutputStatus GetOutputStatus() const
Definition Output.h:335
Output & WithOutputStatus(OutputStatus value)
Definition Output.h:341
State GetRouterIntegrationState() const
Definition Output.h:380
Output & WithBridgeArn(BridgeArnT &&value)
Definition Output.h:302
bool EntitlementArnHasBeenSet() const
Definition Output.h:120
Output & WithRouterIntegrationTransitEncryption(RouterIntegrationTransitEncryptionT &&value)
Definition Output.h:405
bool DestinationHasBeenSet() const
Definition Output.h:82
Output & WithRouterIntegrationState(State value)
Definition Output.h:386
Output & WithMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:189
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
Definition Output.h:209
Output & WithName(NameT &&value)
Definition Output.h:214
const VpcInterfaceAttachment & GetVpcInterfaceAttachment() const
Definition Output.h:276
void SetTransport(TransportT &&value)
Definition Output.h:261
const Aws::String & GetConnectedRouterInputArn() const
Definition Output.h:415
bool MediaStreamOutputConfigurationsHasBeenSet() const
Definition Output.h:182
Output & AddBridgePorts(int value)
Definition Output.h:324
Output & WithPort(int value)
Definition Output.h:248
bool RouterIntegrationTransitEncryptionHasBeenSet() const
Definition Output.h:398
Output & WithPeerIpAddress(PeerIpAddressT &&value)
Definition Output.h:369
bool RouterIntegrationStateHasBeenSet() const
Definition Output.h:381
const Encryption & GetEncryption() const
Definition Output.h:100
Output & WithDestination(DestinationT &&value)
Definition Output.h:89
void SetMediaLiveInputArn(MediaLiveInputArnT &&value)
Definition Output.h:163
const Aws::String & GetOutputArn() const
Definition Output.h:224
bool EncryptionHasBeenSet() const
Definition Output.h:101
void SetListenerAddress(ListenerAddressT &&value)
Definition Output.h:144
const Aws::String & GetListenerAddress() const
Definition Output.h:141
void SetRouterIntegrationTransitEncryption(RouterIntegrationTransitEncryptionT &&value)
Definition Output.h:400
Output & WithDescription(DescriptionT &&value)
Definition Output.h:71
Output & WithOutputArn(OutputArnT &&value)
Definition Output.h:232
void SetRouterIntegrationState(State value)
Definition Output.h:382
bool PeerIpAddressHasBeenSet() const
Definition Output.h:362
bool OutputStatusHasBeenSet() const
Definition Output.h:336
const Aws::String & GetEntitlementArn() const
Definition Output.h:119
void SetBridgeArn(BridgeArnT &&value)
Definition Output.h:297
void SetEncryption(EncryptionT &&value)
Definition Output.h:103
bool DescriptionHasBeenSet() const
Definition Output.h:64
bool ConnectedRouterInputArnHasBeenSet() const
Definition Output.h:416
const Aws::String & GetMediaLiveInputArn() const
Definition Output.h:160
bool DataTransferSubscriberFeePercentHasBeenSet() const
Definition Output.h:48
void SetDataTransferSubscriberFeePercent(int value)
Definition Output.h:49
void SetDescription(DescriptionT &&value)
Definition Output.h:66
void SetBridgePorts(BridgePortsT &&value)
Definition Output.h:315
bool ListenerAddressHasBeenSet() const
Definition Output.h:142
Output & WithEntitlementArn(EntitlementArnT &&value)
Definition Output.h:127
Output & WithConnectedRouterInputArn(ConnectedRouterInputArnT &&value)
Definition Output.h:423
void SetDestination(DestinationT &&value)
Definition Output.h:84
Output & WithBridgePorts(BridgePortsT &&value)
Definition Output.h:320
AWS_MEDIACONNECT_API Output()=default
Output & WithMediaLiveInputArn(MediaLiveInputArnT &&value)
Definition Output.h:168
void SetMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:184
const Aws::String & GetBridgeArn() const
Definition Output.h:294
void SetOutputArn(OutputArnT &&value)
Definition Output.h:227
Output & WithVpcInterfaceAttachment(VpcInterfaceAttachmentT &&value)
Definition Output.h:284
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue