AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SrtCallerRouterInputConfiguration.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/SrtDecryptionConfiguration.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 SrtCallerRouterInputConfiguration() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetSourceAddress() const { return m_sourceAddress; }
43 inline bool SourceAddressHasBeenSet() const { return m_sourceAddressHasBeenSet; }
44 template <typename SourceAddressT = Aws::String>
45 void SetSourceAddress(SourceAddressT&& value) {
46 m_sourceAddressHasBeenSet = true;
47 m_sourceAddress = std::forward<SourceAddressT>(value);
48 }
49 template <typename SourceAddressT = Aws::String>
51 SetSourceAddress(std::forward<SourceAddressT>(value));
52 return *this;
53 }
55
57
60 inline int GetSourcePort() const { return m_sourcePort; }
61 inline bool SourcePortHasBeenSet() const { return m_sourcePortHasBeenSet; }
62 inline void SetSourcePort(int value) {
63 m_sourcePortHasBeenSet = true;
64 m_sourcePort = value;
65 }
67 SetSourcePort(value);
68 return *this;
69 }
71
73
76 inline long long GetMinimumLatencyMilliseconds() const { return m_minimumLatencyMilliseconds; }
77 inline bool MinimumLatencyMillisecondsHasBeenSet() const { return m_minimumLatencyMillisecondsHasBeenSet; }
78 inline void SetMinimumLatencyMilliseconds(long long value) {
79 m_minimumLatencyMillisecondsHasBeenSet = true;
80 m_minimumLatencyMilliseconds = value;
81 }
84 return *this;
85 }
87
89
92 inline const Aws::String& GetStreamId() const { return m_streamId; }
93 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
94 template <typename StreamIdT = Aws::String>
95 void SetStreamId(StreamIdT&& value) {
96 m_streamIdHasBeenSet = true;
97 m_streamId = std::forward<StreamIdT>(value);
98 }
99 template <typename StreamIdT = Aws::String>
101 SetStreamId(std::forward<StreamIdT>(value));
102 return *this;
103 }
105
107
111 inline const SrtDecryptionConfiguration& GetDecryptionConfiguration() const { return m_decryptionConfiguration; }
112 inline bool DecryptionConfigurationHasBeenSet() const { return m_decryptionConfigurationHasBeenSet; }
113 template <typename DecryptionConfigurationT = SrtDecryptionConfiguration>
114 void SetDecryptionConfiguration(DecryptionConfigurationT&& value) {
115 m_decryptionConfigurationHasBeenSet = true;
116 m_decryptionConfiguration = std::forward<DecryptionConfigurationT>(value);
117 }
118 template <typename DecryptionConfigurationT = SrtDecryptionConfiguration>
120 SetDecryptionConfiguration(std::forward<DecryptionConfigurationT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_sourceAddress;
126
127 int m_sourcePort{0};
128
129 long long m_minimumLatencyMilliseconds{0};
130
131 Aws::String m_streamId;
132
133 SrtDecryptionConfiguration m_decryptionConfiguration;
134 bool m_sourceAddressHasBeenSet = false;
135 bool m_sourcePortHasBeenSet = false;
136 bool m_minimumLatencyMillisecondsHasBeenSet = false;
137 bool m_streamIdHasBeenSet = false;
138 bool m_decryptionConfigurationHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace MediaConnect
143} // namespace Aws
AWS_MEDIACONNECT_API SrtCallerRouterInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
SrtCallerRouterInputConfiguration & WithMinimumLatencyMilliseconds(long long value)
AWS_MEDIACONNECT_API SrtCallerRouterInputConfiguration()=default
SrtCallerRouterInputConfiguration & WithDecryptionConfiguration(DecryptionConfigurationT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SrtCallerRouterInputConfiguration & WithSourceAddress(SourceAddressT &&value)
AWS_MEDIACONNECT_API SrtCallerRouterInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtCallerRouterInputConfiguration & WithStreamId(StreamIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue