AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RtpRouterInputConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/ForwardErrorCorrectionState.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
30 public:
31 AWS_MEDIACONNECT_API RtpRouterInputConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetPort() const { return m_port; }
42 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
43 inline void SetPort(int value) {
44 m_portHasBeenSet = true;
45 m_port = value;
46 }
48 SetPort(value);
49 return *this;
50 }
52
54
58 inline ForwardErrorCorrectionState GetForwardErrorCorrection() const { return m_forwardErrorCorrection; }
59 inline bool ForwardErrorCorrectionHasBeenSet() const { return m_forwardErrorCorrectionHasBeenSet; }
61 m_forwardErrorCorrectionHasBeenSet = true;
62 m_forwardErrorCorrection = value;
63 }
66 return *this;
67 }
69 private:
70 int m_port{0};
71
73 bool m_portHasBeenSet = false;
74 bool m_forwardErrorCorrectionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaConnect
79} // namespace Aws
AWS_MEDIACONNECT_API RtpRouterInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetForwardErrorCorrection(ForwardErrorCorrectionState value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API RtpRouterInputConfiguration()=default
AWS_MEDIACONNECT_API RtpRouterInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
RtpRouterInputConfiguration & WithForwardErrorCorrection(ForwardErrorCorrectionState value)
Aws::Utils::Json::JsonValue JsonValue