AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UdpOutputSettings.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/FecOutputSettings.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 UdpOutputSettings();
37 AWS_MEDIALIVE_API UdpOutputSettings(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 UdpOutputSettings& 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 UdpOutputSettings& WithContainerSettings(UdpContainerSettings&& value) { SetContainerSettings(std::move(value)); return *this;}
64
66
70 inline const OutputLocationRef& GetDestination() const{ return m_destination; }
71 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
72 inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; }
73 inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
74 inline UdpOutputSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;}
75 inline UdpOutputSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;}
77
79
82 inline const FecOutputSettings& GetFecOutputSettings() const{ return m_fecOutputSettings; }
83 inline bool FecOutputSettingsHasBeenSet() const { return m_fecOutputSettingsHasBeenSet; }
84 inline void SetFecOutputSettings(const FecOutputSettings& value) { m_fecOutputSettingsHasBeenSet = true; m_fecOutputSettings = value; }
85 inline void SetFecOutputSettings(FecOutputSettings&& value) { m_fecOutputSettingsHasBeenSet = true; m_fecOutputSettings = std::move(value); }
87 inline UdpOutputSettings& WithFecOutputSettings(FecOutputSettings&& value) { SetFecOutputSettings(std::move(value)); return *this;}
89 private:
90
91 int m_bufferMsec;
92 bool m_bufferMsecHasBeenSet = false;
93
94 UdpContainerSettings m_containerSettings;
95 bool m_containerSettingsHasBeenSet = false;
96
97 OutputLocationRef m_destination;
98 bool m_destinationHasBeenSet = false;
99
100 FecOutputSettings m_fecOutputSettings;
101 bool m_fecOutputSettingsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MediaLive
106} // namespace Aws
const FecOutputSettings & GetFecOutputSettings() const
UdpOutputSettings & WithContainerSettings(UdpContainerSettings &&value)
AWS_MEDIALIVE_API UdpOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestination(OutputLocationRef &&value)
const OutputLocationRef & GetDestination() const
void SetContainerSettings(UdpContainerSettings &&value)
void SetDestination(const OutputLocationRef &value)
UdpOutputSettings & WithFecOutputSettings(const FecOutputSettings &value)
UdpOutputSettings & WithDestination(OutputLocationRef &&value)
AWS_MEDIALIVE_API UdpOutputSettings(Aws::Utils::Json::JsonView jsonValue)
UdpOutputSettings & WithBufferMsec(int value)
UdpOutputSettings & WithDestination(const OutputLocationRef &value)
void SetFecOutputSettings(const FecOutputSettings &value)
UdpOutputSettings & WithFecOutputSettings(FecOutputSettings &&value)
void SetContainerSettings(const UdpContainerSettings &value)
UdpOutputSettings & WithContainerSettings(const UdpContainerSettings &value)
void SetFecOutputSettings(FecOutputSettings &&value)
const UdpContainerSettings & GetContainerSettings() const
Aws::Utils::Json::JsonValue JsonValue