AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SrtOutputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/UdpContainerSettings.h>
9#include <aws/medialive/model/OutputLocationRef.h>
10#include <aws/medialive/model/SrtEncryptionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API SrtOutputSettings();
37 AWS_MEDIALIVE_API SrtOutputSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline int GetBufferMsec() const{ return m_bufferMsec; }
50 inline bool BufferMsecHasBeenSet() const { return m_bufferMsecHasBeenSet; }
51 inline void SetBufferMsec(int value) { m_bufferMsecHasBeenSet = true; m_bufferMsec = value; }
52 inline SrtOutputSettings& WithBufferMsec(int value) { SetBufferMsec(value); return *this;}
54
56
57 inline const UdpContainerSettings& GetContainerSettings() const{ return m_containerSettings; }
58 inline bool ContainerSettingsHasBeenSet() const { return m_containerSettingsHasBeenSet; }
59 inline void SetContainerSettings(const UdpContainerSettings& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = value; }
60 inline void SetContainerSettings(UdpContainerSettings&& value) { m_containerSettingsHasBeenSet = true; m_containerSettings = std::move(value); }
62 inline SrtOutputSettings& WithContainerSettings(UdpContainerSettings&& value) { SetContainerSettings(std::move(value)); return *this;}
64
66
67 inline const OutputLocationRef& GetDestination() const{ return m_destination; }
68 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
69 inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; }
70 inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
71 inline SrtOutputSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;}
72 inline SrtOutputSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;}
74
76
81 inline const SrtEncryptionType& GetEncryptionType() const{ return m_encryptionType; }
82 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
83 inline void SetEncryptionType(const SrtEncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
84 inline void SetEncryptionType(SrtEncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
85 inline SrtOutputSettings& WithEncryptionType(const SrtEncryptionType& value) { SetEncryptionType(value); return *this;}
86 inline SrtOutputSettings& WithEncryptionType(SrtEncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
88
90
99 inline int GetLatency() const{ return m_latency; }
100 inline bool LatencyHasBeenSet() const { return m_latencyHasBeenSet; }
101 inline void SetLatency(int value) { m_latencyHasBeenSet = true; m_latency = value; }
102 inline SrtOutputSettings& WithLatency(int value) { SetLatency(value); return *this;}
104 private:
105
106 int m_bufferMsec;
107 bool m_bufferMsecHasBeenSet = false;
108
109 UdpContainerSettings m_containerSettings;
110 bool m_containerSettingsHasBeenSet = false;
111
112 OutputLocationRef m_destination;
113 bool m_destinationHasBeenSet = false;
114
115 SrtEncryptionType m_encryptionType;
116 bool m_encryptionTypeHasBeenSet = false;
117
118 int m_latency;
119 bool m_latencyHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MediaLive
124} // namespace Aws
AWS_MEDIALIVE_API SrtOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtOutputSettings & WithContainerSettings(const UdpContainerSettings &value)
AWS_MEDIALIVE_API SrtOutputSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestination(OutputLocationRef &&value)
void SetDestination(const OutputLocationRef &value)
SrtOutputSettings & WithLatency(int value)
const OutputLocationRef & GetDestination() const
void SetEncryptionType(SrtEncryptionType &&value)
const UdpContainerSettings & GetContainerSettings() const
const SrtEncryptionType & GetEncryptionType() const
void SetContainerSettings(const UdpContainerSettings &value)
SrtOutputSettings & WithEncryptionType(SrtEncryptionType &&value)
SrtOutputSettings & WithDestination(OutputLocationRef &&value)
SrtOutputSettings & WithContainerSettings(UdpContainerSettings &&value)
void SetEncryptionType(const SrtEncryptionType &value)
SrtOutputSettings & WithEncryptionType(const SrtEncryptionType &value)
SrtOutputSettings & WithDestination(const OutputLocationRef &value)
SrtOutputSettings & WithBufferMsec(int value)
void SetContainerSettings(UdpContainerSettings &&value)
Aws::Utils::Json::JsonValue JsonValue