AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
RtmpPushRouterOutputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/TlsEncryption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
33 public:
34 AWS_MEDIACONNECT_API RtmpPushRouterOutputConfiguration() = default;
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetDestinationAddress() const { return m_destinationAddress; }
46 inline bool DestinationAddressHasBeenSet() const { return m_destinationAddressHasBeenSet; }
47 template <typename DestinationAddressT = Aws::String>
48 void SetDestinationAddress(DestinationAddressT&& value) {
49 m_destinationAddressHasBeenSet = true;
50 m_destinationAddress = std::forward<DestinationAddressT>(value);
51 }
52 template <typename DestinationAddressT = Aws::String>
54 SetDestinationAddress(std::forward<DestinationAddressT>(value));
55 return *this;
56 }
58
60
67 inline int GetDestinationPort() const { return m_destinationPort; }
68 inline bool DestinationPortHasBeenSet() const { return m_destinationPortHasBeenSet; }
69 inline void SetDestinationPort(int value) {
70 m_destinationPortHasBeenSet = true;
71 m_destinationPort = value;
72 }
74 SetDestinationPort(value);
75 return *this;
76 }
78
80
85 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
86 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
87 template <typename ApplicationNameT = Aws::String>
88 void SetApplicationName(ApplicationNameT&& value) {
89 m_applicationNameHasBeenSet = true;
90 m_applicationName = std::forward<ApplicationNameT>(value);
91 }
92 template <typename ApplicationNameT = Aws::String>
94 SetApplicationName(std::forward<ApplicationNameT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetStreamName() const { return m_streamName; }
105 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
106 template <typename StreamNameT = Aws::String>
107 void SetStreamName(StreamNameT&& value) {
108 m_streamNameHasBeenSet = true;
109 m_streamName = std::forward<StreamNameT>(value);
110 }
111 template <typename StreamNameT = Aws::String>
113 SetStreamName(std::forward<StreamNameT>(value));
114 return *this;
115 }
117
119
124 inline const TlsEncryption& GetTlsEncryption() const { return m_tlsEncryption; }
125 inline bool TlsEncryptionHasBeenSet() const { return m_tlsEncryptionHasBeenSet; }
126 template <typename TlsEncryptionT = TlsEncryption>
127 void SetTlsEncryption(TlsEncryptionT&& value) {
128 m_tlsEncryptionHasBeenSet = true;
129 m_tlsEncryption = std::forward<TlsEncryptionT>(value);
130 }
131 template <typename TlsEncryptionT = TlsEncryption>
133 SetTlsEncryption(std::forward<TlsEncryptionT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_destinationAddress;
139
140 int m_destinationPort{0};
141
142 Aws::String m_applicationName;
143
144 Aws::String m_streamName;
145
146 TlsEncryption m_tlsEncryption;
147 bool m_destinationAddressHasBeenSet = false;
148 bool m_destinationPortHasBeenSet = false;
149 bool m_applicationNameHasBeenSet = false;
150 bool m_streamNameHasBeenSet = false;
151 bool m_tlsEncryptionHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace MediaConnect
156} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RtmpPushRouterOutputConfiguration & WithDestinationAddress(DestinationAddressT &&value)
AWS_MEDIACONNECT_API RtmpPushRouterOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
RtmpPushRouterOutputConfiguration & WithTlsEncryption(TlsEncryptionT &&value)
AWS_MEDIACONNECT_API RtmpPushRouterOutputConfiguration()=default
RtmpPushRouterOutputConfiguration & WithStreamName(StreamNameT &&value)
RtmpPushRouterOutputConfiguration & WithApplicationName(ApplicationNameT &&value)
AWS_MEDIACONNECT_API RtmpPushRouterOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue