AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconnect/model/Encryption.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediaconnect/model/Transport.h>
12#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
13#include <aws/mediaconnect/model/OutputStatus.h>
14#include <aws/mediaconnect/model/MediaStreamOutputConfiguration.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
37 class Output
38 {
39 public:
40 AWS_MEDIACONNECT_API Output() = default;
41 AWS_MEDIACONNECT_API Output(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIACONNECT_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline int GetDataTransferSubscriberFeePercent() const { return m_dataTransferSubscriberFeePercent; }
52 inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
53 inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 Output& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDestination() const { return m_destination; }
74 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
75 template<typename DestinationT = Aws::String>
76 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
77 template<typename DestinationT = Aws::String>
78 Output& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
80
82
86 inline const Encryption& GetEncryption() const { return m_encryption; }
87 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
88 template<typename EncryptionT = Encryption>
89 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
90 template<typename EncryptionT = Encryption>
91 Output& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
93
95
99 inline const Aws::String& GetEntitlementArn() const { return m_entitlementArn; }
100 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
101 template<typename EntitlementArnT = Aws::String>
102 void SetEntitlementArn(EntitlementArnT&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::forward<EntitlementArnT>(value); }
103 template<typename EntitlementArnT = Aws::String>
104 Output& WithEntitlementArn(EntitlementArnT&& value) { SetEntitlementArn(std::forward<EntitlementArnT>(value)); return *this;}
106
108
115 inline const Aws::String& GetListenerAddress() const { return m_listenerAddress; }
116 inline bool ListenerAddressHasBeenSet() const { return m_listenerAddressHasBeenSet; }
117 template<typename ListenerAddressT = Aws::String>
118 void SetListenerAddress(ListenerAddressT&& value) { m_listenerAddressHasBeenSet = true; m_listenerAddress = std::forward<ListenerAddressT>(value); }
119 template<typename ListenerAddressT = Aws::String>
120 Output& WithListenerAddress(ListenerAddressT&& value) { SetListenerAddress(std::forward<ListenerAddressT>(value)); return *this;}
122
124
128 inline const Aws::String& GetMediaLiveInputArn() const { return m_mediaLiveInputArn; }
129 inline bool MediaLiveInputArnHasBeenSet() const { return m_mediaLiveInputArnHasBeenSet; }
130 template<typename MediaLiveInputArnT = Aws::String>
131 void SetMediaLiveInputArn(MediaLiveInputArnT&& value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn = std::forward<MediaLiveInputArnT>(value); }
132 template<typename MediaLiveInputArnT = Aws::String>
133 Output& WithMediaLiveInputArn(MediaLiveInputArnT&& value) { SetMediaLiveInputArn(std::forward<MediaLiveInputArnT>(value)); return *this;}
135
137
141 inline const Aws::Vector<MediaStreamOutputConfiguration>& GetMediaStreamOutputConfigurations() const { return m_mediaStreamOutputConfigurations; }
142 inline bool MediaStreamOutputConfigurationsHasBeenSet() const { return m_mediaStreamOutputConfigurationsHasBeenSet; }
143 template<typename MediaStreamOutputConfigurationsT = Aws::Vector<MediaStreamOutputConfiguration>>
144 void SetMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = std::forward<MediaStreamOutputConfigurationsT>(value); }
145 template<typename MediaStreamOutputConfigurationsT = Aws::Vector<MediaStreamOutputConfiguration>>
146 Output& WithMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) { SetMediaStreamOutputConfigurations(std::forward<MediaStreamOutputConfigurationsT>(value)); return *this;}
147 template<typename MediaStreamOutputConfigurationsT = MediaStreamOutputConfiguration>
148 Output& AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.emplace_back(std::forward<MediaStreamOutputConfigurationsT>(value)); return *this; }
150
152
156 inline const Aws::String& GetName() const { return m_name; }
157 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
158 template<typename NameT = Aws::String>
159 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
160 template<typename NameT = Aws::String>
161 Output& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
163
165
168 inline const Aws::String& GetOutputArn() const { return m_outputArn; }
169 inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
170 template<typename OutputArnT = Aws::String>
171 void SetOutputArn(OutputArnT&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::forward<OutputArnT>(value); }
172 template<typename OutputArnT = Aws::String>
173 Output& WithOutputArn(OutputArnT&& value) { SetOutputArn(std::forward<OutputArnT>(value)); return *this;}
175
177
180 inline int GetPort() const { return m_port; }
181 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
182 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
183 inline Output& WithPort(int value) { SetPort(value); return *this;}
185
187
190 inline const Transport& GetTransport() const { return m_transport; }
191 inline bool TransportHasBeenSet() const { return m_transportHasBeenSet; }
192 template<typename TransportT = Transport>
193 void SetTransport(TransportT&& value) { m_transportHasBeenSet = true; m_transport = std::forward<TransportT>(value); }
194 template<typename TransportT = Transport>
195 Output& WithTransport(TransportT&& value) { SetTransport(std::forward<TransportT>(value)); return *this;}
197
199
202 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const { return m_vpcInterfaceAttachment; }
203 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
204 template<typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
205 void SetVpcInterfaceAttachment(VpcInterfaceAttachmentT&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::forward<VpcInterfaceAttachmentT>(value); }
206 template<typename VpcInterfaceAttachmentT = VpcInterfaceAttachment>
207 Output& WithVpcInterfaceAttachment(VpcInterfaceAttachmentT&& value) { SetVpcInterfaceAttachment(std::forward<VpcInterfaceAttachmentT>(value)); return *this;}
209
211
214 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
215 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
216 template<typename BridgeArnT = Aws::String>
217 void SetBridgeArn(BridgeArnT&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::forward<BridgeArnT>(value); }
218 template<typename BridgeArnT = Aws::String>
219 Output& WithBridgeArn(BridgeArnT&& value) { SetBridgeArn(std::forward<BridgeArnT>(value)); return *this;}
221
223
226 inline const Aws::Vector<int>& GetBridgePorts() const { return m_bridgePorts; }
227 inline bool BridgePortsHasBeenSet() const { return m_bridgePortsHasBeenSet; }
228 template<typename BridgePortsT = Aws::Vector<int>>
229 void SetBridgePorts(BridgePortsT&& value) { m_bridgePortsHasBeenSet = true; m_bridgePorts = std::forward<BridgePortsT>(value); }
230 template<typename BridgePortsT = Aws::Vector<int>>
231 Output& WithBridgePorts(BridgePortsT&& value) { SetBridgePorts(std::forward<BridgePortsT>(value)); return *this;}
232 inline Output& AddBridgePorts(int value) { m_bridgePortsHasBeenSet = true; m_bridgePorts.push_back(value); return *this; }
234
236
239 inline OutputStatus GetOutputStatus() const { return m_outputStatus; }
240 inline bool OutputStatusHasBeenSet() const { return m_outputStatusHasBeenSet; }
241 inline void SetOutputStatus(OutputStatus value) { m_outputStatusHasBeenSet = true; m_outputStatus = value; }
242 inline Output& WithOutputStatus(OutputStatus value) { SetOutputStatus(value); return *this;}
244
246
258 inline const Aws::String& GetPeerIpAddress() const { return m_peerIpAddress; }
259 inline bool PeerIpAddressHasBeenSet() const { return m_peerIpAddressHasBeenSet; }
260 template<typename PeerIpAddressT = Aws::String>
261 void SetPeerIpAddress(PeerIpAddressT&& value) { m_peerIpAddressHasBeenSet = true; m_peerIpAddress = std::forward<PeerIpAddressT>(value); }
262 template<typename PeerIpAddressT = Aws::String>
263 Output& WithPeerIpAddress(PeerIpAddressT&& value) { SetPeerIpAddress(std::forward<PeerIpAddressT>(value)); return *this;}
265 private:
266
267 int m_dataTransferSubscriberFeePercent{0};
268 bool m_dataTransferSubscriberFeePercentHasBeenSet = false;
269
270 Aws::String m_description;
271 bool m_descriptionHasBeenSet = false;
272
273 Aws::String m_destination;
274 bool m_destinationHasBeenSet = false;
275
276 Encryption m_encryption;
277 bool m_encryptionHasBeenSet = false;
278
279 Aws::String m_entitlementArn;
280 bool m_entitlementArnHasBeenSet = false;
281
282 Aws::String m_listenerAddress;
283 bool m_listenerAddressHasBeenSet = false;
284
285 Aws::String m_mediaLiveInputArn;
286 bool m_mediaLiveInputArnHasBeenSet = false;
287
288 Aws::Vector<MediaStreamOutputConfiguration> m_mediaStreamOutputConfigurations;
289 bool m_mediaStreamOutputConfigurationsHasBeenSet = false;
290
291 Aws::String m_name;
292 bool m_nameHasBeenSet = false;
293
294 Aws::String m_outputArn;
295 bool m_outputArnHasBeenSet = false;
296
297 int m_port{0};
298 bool m_portHasBeenSet = false;
299
300 Transport m_transport;
301 bool m_transportHasBeenSet = false;
302
303 VpcInterfaceAttachment m_vpcInterfaceAttachment;
304 bool m_vpcInterfaceAttachmentHasBeenSet = false;
305
306 Aws::String m_bridgeArn;
307 bool m_bridgeArnHasBeenSet = false;
308
309 Aws::Vector<int> m_bridgePorts;
310 bool m_bridgePortsHasBeenSet = false;
311
312 OutputStatus m_outputStatus{OutputStatus::NOT_SET};
313 bool m_outputStatusHasBeenSet = false;
314
315 Aws::String m_peerIpAddress;
316 bool m_peerIpAddressHasBeenSet = false;
317 };
318
319} // namespace Model
320} // namespace MediaConnect
321} // namespace Aws
void SetEntitlementArn(EntitlementArnT &&value)
Definition Output.h:102
const Transport & GetTransport() const
Definition Output.h:190
void SetOutputStatus(OutputStatus value)
Definition Output.h:241
Output & AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:148
bool MediaLiveInputArnHasBeenSet() const
Definition Output.h:129
const Aws::String & GetDescription() const
Definition Output.h:61
AWS_MEDIACONNECT_API Output(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Output.h:156
bool VpcInterfaceAttachmentHasBeenSet() const
Definition Output.h:203
const Aws::Vector< int > & GetBridgePorts() const
Definition Output.h:226
bool BridgePortsHasBeenSet() const
Definition Output.h:227
Output & WithListenerAddress(ListenerAddressT &&value)
Definition Output.h:120
int GetDataTransferSubscriberFeePercent() const
Definition Output.h:51
Output & WithEncryption(EncryptionT &&value)
Definition Output.h:91
void SetPeerIpAddress(PeerIpAddressT &&value)
Definition Output.h:261
Output & WithTransport(TransportT &&value)
Definition Output.h:195
const Aws::Vector< MediaStreamOutputConfiguration > & GetMediaStreamOutputConfigurations() const
Definition Output.h:141
const Aws::String & GetDestination() const
Definition Output.h:73
Output & WithDataTransferSubscriberFeePercent(int value)
Definition Output.h:54
AWS_MEDIACONNECT_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPeerIpAddress() const
Definition Output.h:258
void SetVpcInterfaceAttachment(VpcInterfaceAttachmentT &&value)
Definition Output.h:205
OutputStatus GetOutputStatus() const
Definition Output.h:239
Output & WithOutputStatus(OutputStatus value)
Definition Output.h:242
Output & WithBridgeArn(BridgeArnT &&value)
Definition Output.h:219
bool EntitlementArnHasBeenSet() const
Definition Output.h:100
bool DestinationHasBeenSet() const
Definition Output.h:74
Output & WithMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:146
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
Definition Output.h:159
Output & WithName(NameT &&value)
Definition Output.h:161
const VpcInterfaceAttachment & GetVpcInterfaceAttachment() const
Definition Output.h:202
void SetTransport(TransportT &&value)
Definition Output.h:193
bool MediaStreamOutputConfigurationsHasBeenSet() const
Definition Output.h:142
Output & AddBridgePorts(int value)
Definition Output.h:232
Output & WithPort(int value)
Definition Output.h:183
Output & WithPeerIpAddress(PeerIpAddressT &&value)
Definition Output.h:263
const Encryption & GetEncryption() const
Definition Output.h:86
Output & WithDestination(DestinationT &&value)
Definition Output.h:78
void SetMediaLiveInputArn(MediaLiveInputArnT &&value)
Definition Output.h:131
const Aws::String & GetOutputArn() const
Definition Output.h:168
bool EncryptionHasBeenSet() const
Definition Output.h:87
void SetListenerAddress(ListenerAddressT &&value)
Definition Output.h:118
const Aws::String & GetListenerAddress() const
Definition Output.h:115
Output & WithDescription(DescriptionT &&value)
Definition Output.h:66
Output & WithOutputArn(OutputArnT &&value)
Definition Output.h:173
bool PeerIpAddressHasBeenSet() const
Definition Output.h:259
bool OutputStatusHasBeenSet() const
Definition Output.h:240
const Aws::String & GetEntitlementArn() const
Definition Output.h:99
void SetBridgeArn(BridgeArnT &&value)
Definition Output.h:217
void SetEncryption(EncryptionT &&value)
Definition Output.h:89
bool DescriptionHasBeenSet() const
Definition Output.h:62
const Aws::String & GetMediaLiveInputArn() const
Definition Output.h:128
bool DataTransferSubscriberFeePercentHasBeenSet() const
Definition Output.h:52
void SetDataTransferSubscriberFeePercent(int value)
Definition Output.h:53
void SetDescription(DescriptionT &&value)
Definition Output.h:64
void SetBridgePorts(BridgePortsT &&value)
Definition Output.h:229
bool ListenerAddressHasBeenSet() const
Definition Output.h:116
Output & WithEntitlementArn(EntitlementArnT &&value)
Definition Output.h:104
void SetDestination(DestinationT &&value)
Definition Output.h:76
Output & WithBridgePorts(BridgePortsT &&value)
Definition Output.h:231
AWS_MEDIACONNECT_API Output()=default
Output & WithMediaLiveInputArn(MediaLiveInputArnT &&value)
Definition Output.h:133
void SetMediaStreamOutputConfigurations(MediaStreamOutputConfigurationsT &&value)
Definition Output.h:144
const Aws::String & GetBridgeArn() const
Definition Output.h:214
void SetOutputArn(OutputArnT &&value)
Definition Output.h:171
Output & WithVpcInterfaceAttachment(VpcInterfaceAttachmentT &&value)
Definition Output.h:207
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue