AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
RtmpGroupSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/AuthenticationScheme.h>
10#include <aws/medialive/model/RtmpCacheFullBehavior.h>
11#include <aws/medialive/model/RtmpCaptionData.h>
12#include <aws/medialive/model/InputLossActionForRtmpOut.h>
13#include <aws/medialive/model/IncludeFillerNalUnits.h>
14#include <aws/medialive/model/RtmpAdMarkers.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_MEDIALIVE_API RtmpGroupSettings() = default;
41 AWS_MEDIALIVE_API RtmpGroupSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::Vector<RtmpAdMarkers>& GetAdMarkers() const { return m_adMarkers; }
53 inline bool AdMarkersHasBeenSet() const { return m_adMarkersHasBeenSet; }
54 template<typename AdMarkersT = Aws::Vector<RtmpAdMarkers>>
55 void SetAdMarkers(AdMarkersT&& value) { m_adMarkersHasBeenSet = true; m_adMarkers = std::forward<AdMarkersT>(value); }
56 template<typename AdMarkersT = Aws::Vector<RtmpAdMarkers>>
57 RtmpGroupSettings& WithAdMarkers(AdMarkersT&& value) { SetAdMarkers(std::forward<AdMarkersT>(value)); return *this;}
58 inline RtmpGroupSettings& AddAdMarkers(RtmpAdMarkers value) { m_adMarkersHasBeenSet = true; m_adMarkers.push_back(value); return *this; }
60
62
65 inline AuthenticationScheme GetAuthenticationScheme() const { return m_authenticationScheme; }
66 inline bool AuthenticationSchemeHasBeenSet() const { return m_authenticationSchemeHasBeenSet; }
67 inline void SetAuthenticationScheme(AuthenticationScheme value) { m_authenticationSchemeHasBeenSet = true; m_authenticationScheme = value; }
70
72
81 inline RtmpCacheFullBehavior GetCacheFullBehavior() const { return m_cacheFullBehavior; }
82 inline bool CacheFullBehaviorHasBeenSet() const { return m_cacheFullBehaviorHasBeenSet; }
83 inline void SetCacheFullBehavior(RtmpCacheFullBehavior value) { m_cacheFullBehaviorHasBeenSet = true; m_cacheFullBehavior = value; }
86
88
91 inline int GetCacheLength() const { return m_cacheLength; }
92 inline bool CacheLengthHasBeenSet() const { return m_cacheLengthHasBeenSet; }
93 inline void SetCacheLength(int value) { m_cacheLengthHasBeenSet = true; m_cacheLength = value; }
94 inline RtmpGroupSettings& WithCacheLength(int value) { SetCacheLength(value); return *this;}
96
98
105 inline RtmpCaptionData GetCaptionData() const { return m_captionData; }
106 inline bool CaptionDataHasBeenSet() const { return m_captionDataHasBeenSet; }
107 inline void SetCaptionData(RtmpCaptionData value) { m_captionDataHasBeenSet = true; m_captionData = value; }
108 inline RtmpGroupSettings& WithCaptionData(RtmpCaptionData value) { SetCaptionData(value); return *this;}
110
112
120 inline InputLossActionForRtmpOut GetInputLossAction() const { return m_inputLossAction; }
121 inline bool InputLossActionHasBeenSet() const { return m_inputLossActionHasBeenSet; }
122 inline void SetInputLossAction(InputLossActionForRtmpOut value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = value; }
125
127
131 inline int GetRestartDelay() const { return m_restartDelay; }
132 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
133 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
134 inline RtmpGroupSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
136
138
145 inline IncludeFillerNalUnits GetIncludeFillerNalUnits() const { return m_includeFillerNalUnits; }
146 inline bool IncludeFillerNalUnitsHasBeenSet() const { return m_includeFillerNalUnitsHasBeenSet; }
147 inline void SetIncludeFillerNalUnits(IncludeFillerNalUnits value) { m_includeFillerNalUnitsHasBeenSet = true; m_includeFillerNalUnits = value; }
150 private:
151
152 Aws::Vector<RtmpAdMarkers> m_adMarkers;
153 bool m_adMarkersHasBeenSet = false;
154
156 bool m_authenticationSchemeHasBeenSet = false;
157
159 bool m_cacheFullBehaviorHasBeenSet = false;
160
161 int m_cacheLength{0};
162 bool m_cacheLengthHasBeenSet = false;
163
165 bool m_captionDataHasBeenSet = false;
166
168 bool m_inputLossActionHasBeenSet = false;
169
170 int m_restartDelay{0};
171 bool m_restartDelayHasBeenSet = false;
172
174 bool m_includeFillerNalUnitsHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace MediaLive
179} // namespace Aws
AWS_MEDIALIVE_API RtmpGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RtmpGroupSettings & WithCacheLength(int value)
RtmpGroupSettings & WithInputLossAction(InputLossActionForRtmpOut value)
RtmpCacheFullBehavior GetCacheFullBehavior() const
const Aws::Vector< RtmpAdMarkers > & GetAdMarkers() const
void SetCacheFullBehavior(RtmpCacheFullBehavior value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
RtmpGroupSettings & AddAdMarkers(RtmpAdMarkers value)
RtmpGroupSettings & WithIncludeFillerNalUnits(IncludeFillerNalUnits value)
RtmpGroupSettings & WithAdMarkers(AdMarkersT &&value)
AWS_MEDIALIVE_API RtmpGroupSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API RtmpGroupSettings()=default
void SetAuthenticationScheme(AuthenticationScheme value)
IncludeFillerNalUnits GetIncludeFillerNalUnits() const
RtmpGroupSettings & WithAuthenticationScheme(AuthenticationScheme value)
RtmpGroupSettings & WithCacheFullBehavior(RtmpCacheFullBehavior value)
void SetCaptionData(RtmpCaptionData value)
RtmpGroupSettings & WithRestartDelay(int value)
InputLossActionForRtmpOut GetInputLossAction() const
void SetInputLossAction(InputLossActionForRtmpOut value)
void SetIncludeFillerNalUnits(IncludeFillerNalUnits value)
AuthenticationScheme GetAuthenticationScheme() const
RtmpGroupSettings & WithCaptionData(RtmpCaptionData value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue