AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
50 inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
51 inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
52 inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline Output& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline Output& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline Output& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetDestination() const{ return m_destination; }
75 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
76 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
77 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
78 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
79 inline Output& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
80 inline Output& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
81 inline Output& WithDestination(const char* value) { SetDestination(value); return *this;}
83
85
89 inline const Encryption& GetEncryption() const{ return m_encryption; }
90 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
91 inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
92 inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
93 inline Output& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
94 inline Output& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
96
98
102 inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
103 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
104 inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
105 inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
106 inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
107 inline Output& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
108 inline Output& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
109 inline Output& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
111
113
120 inline const Aws::String& GetListenerAddress() const{ return m_listenerAddress; }
121 inline bool ListenerAddressHasBeenSet() const { return m_listenerAddressHasBeenSet; }
122 inline void SetListenerAddress(const Aws::String& value) { m_listenerAddressHasBeenSet = true; m_listenerAddress = value; }
123 inline void SetListenerAddress(Aws::String&& value) { m_listenerAddressHasBeenSet = true; m_listenerAddress = std::move(value); }
124 inline void SetListenerAddress(const char* value) { m_listenerAddressHasBeenSet = true; m_listenerAddress.assign(value); }
125 inline Output& WithListenerAddress(const Aws::String& value) { SetListenerAddress(value); return *this;}
126 inline Output& WithListenerAddress(Aws::String&& value) { SetListenerAddress(std::move(value)); return *this;}
127 inline Output& WithListenerAddress(const char* value) { SetListenerAddress(value); return *this;}
129
131
135 inline const Aws::String& GetMediaLiveInputArn() const{ return m_mediaLiveInputArn; }
136 inline bool MediaLiveInputArnHasBeenSet() const { return m_mediaLiveInputArnHasBeenSet; }
137 inline void SetMediaLiveInputArn(const Aws::String& value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn = value; }
138 inline void SetMediaLiveInputArn(Aws::String&& value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn = std::move(value); }
139 inline void SetMediaLiveInputArn(const char* value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn.assign(value); }
140 inline Output& WithMediaLiveInputArn(const Aws::String& value) { SetMediaLiveInputArn(value); return *this;}
141 inline Output& WithMediaLiveInputArn(Aws::String&& value) { SetMediaLiveInputArn(std::move(value)); return *this;}
142 inline Output& WithMediaLiveInputArn(const char* value) { SetMediaLiveInputArn(value); return *this;}
144
146
149 inline const Aws::Vector<MediaStreamOutputConfiguration>& GetMediaStreamOutputConfigurations() const{ return m_mediaStreamOutputConfigurations; }
150 inline bool MediaStreamOutputConfigurationsHasBeenSet() const { return m_mediaStreamOutputConfigurationsHasBeenSet; }
151 inline void SetMediaStreamOutputConfigurations(const Aws::Vector<MediaStreamOutputConfiguration>& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = value; }
152 inline void SetMediaStreamOutputConfigurations(Aws::Vector<MediaStreamOutputConfiguration>&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = std::move(value); }
155 inline Output& AddMediaStreamOutputConfigurations(const MediaStreamOutputConfiguration& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(value); return *this; }
156 inline Output& AddMediaStreamOutputConfigurations(MediaStreamOutputConfiguration&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(std::move(value)); return *this; }
158
160
163 inline const Aws::String& GetName() const{ return m_name; }
164 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
165 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
166 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
167 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
168 inline Output& WithName(const Aws::String& value) { SetName(value); return *this;}
169 inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
170 inline Output& WithName(const char* value) { SetName(value); return *this;}
172
174
177 inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
178 inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
179 inline void SetOutputArn(const Aws::String& value) { m_outputArnHasBeenSet = true; m_outputArn = value; }
180 inline void SetOutputArn(Aws::String&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::move(value); }
181 inline void SetOutputArn(const char* value) { m_outputArnHasBeenSet = true; m_outputArn.assign(value); }
182 inline Output& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
183 inline Output& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
184 inline Output& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
186
188
191 inline int GetPort() const{ return m_port; }
192 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
193 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
194 inline Output& WithPort(int value) { SetPort(value); return *this;}
196
198
201 inline const Transport& GetTransport() const{ return m_transport; }
202 inline bool TransportHasBeenSet() const { return m_transportHasBeenSet; }
203 inline void SetTransport(const Transport& value) { m_transportHasBeenSet = true; m_transport = value; }
204 inline void SetTransport(Transport&& value) { m_transportHasBeenSet = true; m_transport = std::move(value); }
205 inline Output& WithTransport(const Transport& value) { SetTransport(value); return *this;}
206 inline Output& WithTransport(Transport&& value) { SetTransport(std::move(value)); return *this;}
208
210
213 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
214 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
215 inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
216 inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
218 inline Output& WithVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { SetVpcInterfaceAttachment(std::move(value)); return *this;}
220
222
225 inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
226 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
227 inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
228 inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
229 inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
230 inline Output& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
231 inline Output& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
232 inline Output& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
234
236
239 inline const Aws::Vector<int>& GetBridgePorts() const{ return m_bridgePorts; }
240 inline bool BridgePortsHasBeenSet() const { return m_bridgePortsHasBeenSet; }
241 inline void SetBridgePorts(const Aws::Vector<int>& value) { m_bridgePortsHasBeenSet = true; m_bridgePorts = value; }
242 inline void SetBridgePorts(Aws::Vector<int>&& value) { m_bridgePortsHasBeenSet = true; m_bridgePorts = std::move(value); }
243 inline Output& WithBridgePorts(const Aws::Vector<int>& value) { SetBridgePorts(value); return *this;}
244 inline Output& WithBridgePorts(Aws::Vector<int>&& value) { SetBridgePorts(std::move(value)); return *this;}
245 inline Output& AddBridgePorts(int value) { m_bridgePortsHasBeenSet = true; m_bridgePorts.push_back(value); return *this; }
247
249
252 inline const OutputStatus& GetOutputStatus() const{ return m_outputStatus; }
253 inline bool OutputStatusHasBeenSet() const { return m_outputStatusHasBeenSet; }
254 inline void SetOutputStatus(const OutputStatus& value) { m_outputStatusHasBeenSet = true; m_outputStatus = value; }
255 inline void SetOutputStatus(OutputStatus&& value) { m_outputStatusHasBeenSet = true; m_outputStatus = std::move(value); }
256 inline Output& WithOutputStatus(const OutputStatus& value) { SetOutputStatus(value); return *this;}
257 inline Output& WithOutputStatus(OutputStatus&& value) { SetOutputStatus(std::move(value)); return *this;}
259 private:
260
261 int m_dataTransferSubscriberFeePercent;
262 bool m_dataTransferSubscriberFeePercentHasBeenSet = false;
263
264 Aws::String m_description;
265 bool m_descriptionHasBeenSet = false;
266
267 Aws::String m_destination;
268 bool m_destinationHasBeenSet = false;
269
270 Encryption m_encryption;
271 bool m_encryptionHasBeenSet = false;
272
273 Aws::String m_entitlementArn;
274 bool m_entitlementArnHasBeenSet = false;
275
276 Aws::String m_listenerAddress;
277 bool m_listenerAddressHasBeenSet = false;
278
279 Aws::String m_mediaLiveInputArn;
280 bool m_mediaLiveInputArnHasBeenSet = false;
281
282 Aws::Vector<MediaStreamOutputConfiguration> m_mediaStreamOutputConfigurations;
283 bool m_mediaStreamOutputConfigurationsHasBeenSet = false;
284
285 Aws::String m_name;
286 bool m_nameHasBeenSet = false;
287
288 Aws::String m_outputArn;
289 bool m_outputArnHasBeenSet = false;
290
291 int m_port;
292 bool m_portHasBeenSet = false;
293
294 Transport m_transport;
295 bool m_transportHasBeenSet = false;
296
297 VpcInterfaceAttachment m_vpcInterfaceAttachment;
298 bool m_vpcInterfaceAttachmentHasBeenSet = false;
299
300 Aws::String m_bridgeArn;
301 bool m_bridgeArnHasBeenSet = false;
302
303 Aws::Vector<int> m_bridgePorts;
304 bool m_bridgePortsHasBeenSet = false;
305
306 OutputStatus m_outputStatus;
307 bool m_outputStatusHasBeenSet = false;
308 };
309
310} // namespace Model
311} // namespace MediaConnect
312} // namespace Aws
Output & WithBridgePorts(const Aws::Vector< int > &value)
Definition Output.h:243
const Transport & GetTransport() const
Definition Output.h:201
Output & WithBridgeArn(const Aws::String &value)
Definition Output.h:230
void SetListenerAddress(const char *value)
Definition Output.h:124
Output & WithDescription(const char *value)
Definition Output.h:67
bool MediaLiveInputArnHasBeenSet() const
Definition Output.h:136
Output & WithVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
Definition Output.h:217
void SetName(const char *value)
Definition Output.h:167
const Aws::String & GetDescription() const
Definition Output.h:60
Output & WithTransport(const Transport &value)
Definition Output.h:205
AWS_MEDIACONNECT_API Output(Aws::Utils::Json::JsonView jsonValue)
void SetVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
Definition Output.h:216
void SetEntitlementArn(const Aws::String &value)
Definition Output.h:104
const Aws::String & GetName() const
Definition Output.h:163
bool VpcInterfaceAttachmentHasBeenSet() const
Definition Output.h:214
void SetMediaLiveInputArn(const char *value)
Definition Output.h:139
const Aws::Vector< int > & GetBridgePorts() const
Definition Output.h:239
Output & WithTransport(Transport &&value)
Definition Output.h:206
bool BridgePortsHasBeenSet() const
Definition Output.h:240
void SetOutputArn(const char *value)
Definition Output.h:181
void SetTransport(Transport &&value)
Definition Output.h:204
int GetDataTransferSubscriberFeePercent() const
Definition Output.h:50
void SetDescription(const Aws::String &value)
Definition Output.h:62
const Aws::Vector< MediaStreamOutputConfiguration > & GetMediaStreamOutputConfigurations() const
Definition Output.h:149
const Aws::String & GetDestination() const
Definition Output.h:74
void SetDescription(const char *value)
Definition Output.h:64
Output & WithDataTransferSubscriberFeePercent(int value)
Definition Output.h:53
AWS_MEDIACONNECT_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
Definition Output.h:215
Output & WithMediaLiveInputArn(const char *value)
Definition Output.h:142
void SetBridgeArn(const Aws::String &value)
Definition Output.h:227
Output & WithName(Aws::String &&value)
Definition Output.h:169
Output & WithListenerAddress(Aws::String &&value)
Definition Output.h:126
Output & WithName(const char *value)
Definition Output.h:170
void SetEncryption(const Encryption &value)
Definition Output.h:91
AWS_MEDIACONNECT_API Output()
bool EntitlementArnHasBeenSet() const
Definition Output.h:103
Output & WithEncryption(Encryption &&value)
Definition Output.h:94
Output & WithMediaLiveInputArn(Aws::String &&value)
Definition Output.h:141
void SetDescription(Aws::String &&value)
Definition Output.h:63
Output & WithDescription(Aws::String &&value)
Definition Output.h:66
bool DestinationHasBeenSet() const
Definition Output.h:75
void SetEntitlementArn(Aws::String &&value)
Definition Output.h:105
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const OutputStatus & GetOutputStatus() const
Definition Output.h:252
void SetListenerAddress(Aws::String &&value)
Definition Output.h:123
Output & WithDestination(Aws::String &&value)
Definition Output.h:80
void SetMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfiguration > &&value)
Definition Output.h:152
const VpcInterfaceAttachment & GetVpcInterfaceAttachment() const
Definition Output.h:213
Output & WithVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
Definition Output.h:218
bool MediaStreamOutputConfigurationsHasBeenSet() const
Definition Output.h:150
Output & WithOutputArn(Aws::String &&value)
Definition Output.h:183
Output & WithEntitlementArn(const char *value)
Definition Output.h:109
Output & AddBridgePorts(int value)
Definition Output.h:245
Output & WithPort(int value)
Definition Output.h:194
Output & WithMediaLiveInputArn(const Aws::String &value)
Definition Output.h:140
void SetDestination(const char *value)
Definition Output.h:78
void SetMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfiguration > &value)
Definition Output.h:151
void SetName(const Aws::String &value)
Definition Output.h:165
void SetDestination(const Aws::String &value)
Definition Output.h:76
const Encryption & GetEncryption() const
Definition Output.h:89
void SetName(Aws::String &&value)
Definition Output.h:166
void SetOutputArn(const Aws::String &value)
Definition Output.h:179
Output & WithBridgePorts(Aws::Vector< int > &&value)
Definition Output.h:244
void SetOutputStatus(const OutputStatus &value)
Definition Output.h:254
const Aws::String & GetOutputArn() const
Definition Output.h:177
void SetEntitlementArn(const char *value)
Definition Output.h:106
Output & WithDestination(const Aws::String &value)
Definition Output.h:79
Output & WithEntitlementArn(Aws::String &&value)
Definition Output.h:108
void SetEncryption(Encryption &&value)
Definition Output.h:92
bool EncryptionHasBeenSet() const
Definition Output.h:90
Output & WithDestination(const char *value)
Definition Output.h:81
void SetBridgeArn(Aws::String &&value)
Definition Output.h:228
const Aws::String & GetListenerAddress() const
Definition Output.h:120
void SetTransport(const Transport &value)
Definition Output.h:203
Output & WithOutputArn(const Aws::String &value)
Definition Output.h:182
Output & WithListenerAddress(const char *value)
Definition Output.h:127
Output & WithListenerAddress(const Aws::String &value)
Definition Output.h:125
void SetDestination(Aws::String &&value)
Definition Output.h:77
Output & WithOutputStatus(const OutputStatus &value)
Definition Output.h:256
Output & WithDescription(const Aws::String &value)
Definition Output.h:65
void SetBridgeArn(const char *value)
Definition Output.h:229
bool OutputStatusHasBeenSet() const
Definition Output.h:253
const Aws::String & GetEntitlementArn() const
Definition Output.h:102
Output & AddMediaStreamOutputConfigurations(MediaStreamOutputConfiguration &&value)
Definition Output.h:156
Output & WithBridgeArn(const char *value)
Definition Output.h:232
Output & WithMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfiguration > &value)
Definition Output.h:153
bool DescriptionHasBeenSet() const
Definition Output.h:61
const Aws::String & GetMediaLiveInputArn() const
Definition Output.h:135
bool DataTransferSubscriberFeePercentHasBeenSet() const
Definition Output.h:51
void SetListenerAddress(const Aws::String &value)
Definition Output.h:122
void SetDataTransferSubscriberFeePercent(int value)
Definition Output.h:52
Output & WithOutputArn(const char *value)
Definition Output.h:184
bool ListenerAddressHasBeenSet() const
Definition Output.h:121
Output & WithEntitlementArn(const Aws::String &value)
Definition Output.h:107
void SetBridgePorts(const Aws::Vector< int > &value)
Definition Output.h:241
Output & WithBridgeArn(Aws::String &&value)
Definition Output.h:231
void SetOutputStatus(OutputStatus &&value)
Definition Output.h:255
void SetMediaLiveInputArn(Aws::String &&value)
Definition Output.h:138
void SetMediaLiveInputArn(const Aws::String &value)
Definition Output.h:137
Output & WithEncryption(const Encryption &value)
Definition Output.h:93
Output & WithMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfiguration > &&value)
Definition Output.h:154
void SetOutputArn(Aws::String &&value)
Definition Output.h:180
Output & WithName(const Aws::String &value)
Definition Output.h:168
Output & WithOutputStatus(OutputStatus &&value)
Definition Output.h:257
Output & AddMediaStreamOutputConfigurations(const MediaStreamOutputConfiguration &value)
Definition Output.h:155
const Aws::String & GetBridgeArn() const
Definition Output.h:225
void SetBridgePorts(Aws::Vector< int > &&value)
Definition Output.h:242
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue