AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RtmpOutputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/RtmpOutputCertificateMode.h>
9#include <aws/medialive/model/OutputLocationRef.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API RtmpOutputSettings();
36 AWS_MEDIALIVE_API RtmpOutputSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const RtmpOutputCertificateMode& GetCertificateMode() const{ return m_certificateMode; }
48 inline bool CertificateModeHasBeenSet() const { return m_certificateModeHasBeenSet; }
49 inline void SetCertificateMode(const RtmpOutputCertificateMode& value) { m_certificateModeHasBeenSet = true; m_certificateMode = value; }
50 inline void SetCertificateMode(RtmpOutputCertificateMode&& value) { m_certificateModeHasBeenSet = true; m_certificateMode = std::move(value); }
52 inline RtmpOutputSettings& WithCertificateMode(RtmpOutputCertificateMode&& value) { SetCertificateMode(std::move(value)); return *this;}
54
56
60 inline int GetConnectionRetryInterval() const{ return m_connectionRetryInterval; }
61 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
62 inline void SetConnectionRetryInterval(int value) { m_connectionRetryIntervalHasBeenSet = true; m_connectionRetryInterval = value; }
65
67
72 inline const OutputLocationRef& GetDestination() const{ return m_destination; }
73 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
74 inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; }
75 inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
76 inline RtmpOutputSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;}
77 inline RtmpOutputSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;}
79
81
84 inline int GetNumRetries() const{ return m_numRetries; }
85 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
86 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
87 inline RtmpOutputSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
89 private:
90
91 RtmpOutputCertificateMode m_certificateMode;
92 bool m_certificateModeHasBeenSet = false;
93
94 int m_connectionRetryInterval;
95 bool m_connectionRetryIntervalHasBeenSet = false;
96
97 OutputLocationRef m_destination;
98 bool m_destinationHasBeenSet = false;
99
100 int m_numRetries;
101 bool m_numRetriesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MediaLive
106} // namespace Aws
const OutputLocationRef & GetDestination() const
RtmpOutputSettings & WithDestination(OutputLocationRef &&value)
void SetCertificateMode(const RtmpOutputCertificateMode &value)
RtmpOutputSettings & WithNumRetries(int value)
void SetCertificateMode(RtmpOutputCertificateMode &&value)
const RtmpOutputCertificateMode & GetCertificateMode() const
void SetDestination(const OutputLocationRef &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API RtmpOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RtmpOutputSettings & WithConnectionRetryInterval(int value)
RtmpOutputSettings & WithCertificateMode(RtmpOutputCertificateMode &&value)
void SetDestination(OutputLocationRef &&value)
RtmpOutputSettings & WithCertificateMode(const RtmpOutputCertificateMode &value)
AWS_MEDIALIVE_API RtmpOutputSettings(Aws::Utils::Json::JsonView jsonValue)
RtmpOutputSettings & WithDestination(const OutputLocationRef &value)
Aws::Utils::Json::JsonValue JsonValue