AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
SrtCallerRouterOutputConfiguration.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/SrtEncryptionConfiguration.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 SrtCallerRouterOutputConfiguration() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDestinationAddress() const { return m_destinationAddress; }
43 inline bool DestinationAddressHasBeenSet() const { return m_destinationAddressHasBeenSet; }
44 template <typename DestinationAddressT = Aws::String>
45 void SetDestinationAddress(DestinationAddressT&& value) {
46 m_destinationAddressHasBeenSet = true;
47 m_destinationAddress = std::forward<DestinationAddressT>(value);
48 }
49 template <typename DestinationAddressT = Aws::String>
51 SetDestinationAddress(std::forward<DestinationAddressT>(value));
52 return *this;
53 }
55
57
60 inline int GetDestinationPort() const { return m_destinationPort; }
61 inline bool DestinationPortHasBeenSet() const { return m_destinationPortHasBeenSet; }
62 inline void SetDestinationPort(int value) {
63 m_destinationPortHasBeenSet = true;
64 m_destinationPort = value;
65 }
67 SetDestinationPort(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 SrtEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
112 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
113 template <typename EncryptionConfigurationT = SrtEncryptionConfiguration>
114 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
115 m_encryptionConfigurationHasBeenSet = true;
116 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
117 }
118 template <typename EncryptionConfigurationT = SrtEncryptionConfiguration>
120 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_destinationAddress;
126
127 int m_destinationPort{0};
128
129 long long m_minimumLatencyMilliseconds{0};
130
131 Aws::String m_streamId;
132
133 SrtEncryptionConfiguration m_encryptionConfiguration;
134 bool m_destinationAddressHasBeenSet = false;
135 bool m_destinationPortHasBeenSet = false;
136 bool m_minimumLatencyMillisecondsHasBeenSet = false;
137 bool m_streamIdHasBeenSet = false;
138 bool m_encryptionConfigurationHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace MediaConnect
143} // namespace Aws
SrtCallerRouterOutputConfiguration & WithDestinationAddress(DestinationAddressT &&value)
SrtCallerRouterOutputConfiguration & WithMinimumLatencyMilliseconds(long long value)
AWS_MEDIACONNECT_API SrtCallerRouterOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtCallerRouterOutputConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_MEDIACONNECT_API SrtCallerRouterOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SrtCallerRouterOutputConfiguration & WithStreamId(StreamIdT &&value)
AWS_MEDIACONNECT_API SrtCallerRouterOutputConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue