AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RtmpPushOutputSettings.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
32 public:
33 AWS_MEDIACONNECT_API RtmpPushOutputSettings() = default;
34 AWS_MEDIACONNECT_API RtmpPushOutputSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
45 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
46 template <typename ApplicationNameT = Aws::String>
47 void SetApplicationName(ApplicationNameT&& value) {
48 m_applicationNameHasBeenSet = true;
49 m_applicationName = std::forward<ApplicationNameT>(value);
50 }
51 template <typename ApplicationNameT = Aws::String>
52 RtmpPushOutputSettings& WithApplicationName(ApplicationNameT&& value) {
53 SetApplicationName(std::forward<ApplicationNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetStreamName() const { return m_streamName; }
64 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
65 template <typename StreamNameT = Aws::String>
66 void SetStreamName(StreamNameT&& value) {
67 m_streamNameHasBeenSet = true;
68 m_streamName = std::forward<StreamNameT>(value);
69 }
70 template <typename StreamNameT = Aws::String>
71 RtmpPushOutputSettings& WithStreamName(StreamNameT&& value) {
72 SetStreamName(std::forward<StreamNameT>(value));
73 return *this;
74 }
76
78
83 inline const TlsEncryption& GetTlsEncryption() const { return m_tlsEncryption; }
84 inline bool TlsEncryptionHasBeenSet() const { return m_tlsEncryptionHasBeenSet; }
85 template <typename TlsEncryptionT = TlsEncryption>
86 void SetTlsEncryption(TlsEncryptionT&& value) {
87 m_tlsEncryptionHasBeenSet = true;
88 m_tlsEncryption = std::forward<TlsEncryptionT>(value);
89 }
90 template <typename TlsEncryptionT = TlsEncryption>
91 RtmpPushOutputSettings& WithTlsEncryption(TlsEncryptionT&& value) {
92 SetTlsEncryption(std::forward<TlsEncryptionT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_applicationName;
98
99 Aws::String m_streamName;
100
101 TlsEncryption m_tlsEncryption;
102 bool m_applicationNameHasBeenSet = false;
103 bool m_streamNameHasBeenSet = false;
104 bool m_tlsEncryptionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace MediaConnect
109} // namespace Aws
RtmpPushOutputSettings & WithStreamName(StreamNameT &&value)
AWS_MEDIACONNECT_API RtmpPushOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RtmpPushOutputSettings & WithTlsEncryption(TlsEncryptionT &&value)
AWS_MEDIACONNECT_API RtmpPushOutputSettings()=default
AWS_MEDIACONNECT_API RtmpPushOutputSettings(Aws::Utils::Json::JsonView jsonValue)
RtmpPushOutputSettings & WithApplicationName(ApplicationNameT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue