AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdMarkers(const Aws::Vector<RtmpAdMarkers>& value) { m_adMarkersHasBeenSet = true; m_adMarkers = value; }
55 inline void SetAdMarkers(Aws::Vector<RtmpAdMarkers>&& value) { m_adMarkersHasBeenSet = true; m_adMarkers = std::move(value); }
56 inline RtmpGroupSettings& WithAdMarkers(const Aws::Vector<RtmpAdMarkers>& value) { SetAdMarkers(value); return *this;}
57 inline RtmpGroupSettings& WithAdMarkers(Aws::Vector<RtmpAdMarkers>&& value) { SetAdMarkers(std::move(value)); return *this;}
58 inline RtmpGroupSettings& AddAdMarkers(const RtmpAdMarkers& value) { m_adMarkersHasBeenSet = true; m_adMarkers.push_back(value); return *this; }
59 inline RtmpGroupSettings& AddAdMarkers(RtmpAdMarkers&& value) { m_adMarkersHasBeenSet = true; m_adMarkers.push_back(std::move(value)); return *this; }
61
63
66 inline const AuthenticationScheme& GetAuthenticationScheme() const{ return m_authenticationScheme; }
67 inline bool AuthenticationSchemeHasBeenSet() const { return m_authenticationSchemeHasBeenSet; }
68 inline void SetAuthenticationScheme(const AuthenticationScheme& value) { m_authenticationSchemeHasBeenSet = true; m_authenticationScheme = value; }
69 inline void SetAuthenticationScheme(AuthenticationScheme&& value) { m_authenticationSchemeHasBeenSet = true; m_authenticationScheme = std::move(value); }
73
75
84 inline const RtmpCacheFullBehavior& GetCacheFullBehavior() const{ return m_cacheFullBehavior; }
85 inline bool CacheFullBehaviorHasBeenSet() const { return m_cacheFullBehaviorHasBeenSet; }
86 inline void SetCacheFullBehavior(const RtmpCacheFullBehavior& value) { m_cacheFullBehaviorHasBeenSet = true; m_cacheFullBehavior = value; }
87 inline void SetCacheFullBehavior(RtmpCacheFullBehavior&& value) { m_cacheFullBehaviorHasBeenSet = true; m_cacheFullBehavior = std::move(value); }
89 inline RtmpGroupSettings& WithCacheFullBehavior(RtmpCacheFullBehavior&& value) { SetCacheFullBehavior(std::move(value)); return *this;}
91
93
96 inline int GetCacheLength() const{ return m_cacheLength; }
97 inline bool CacheLengthHasBeenSet() const { return m_cacheLengthHasBeenSet; }
98 inline void SetCacheLength(int value) { m_cacheLengthHasBeenSet = true; m_cacheLength = value; }
99 inline RtmpGroupSettings& WithCacheLength(int value) { SetCacheLength(value); return *this;}
101
103
110 inline const RtmpCaptionData& GetCaptionData() const{ return m_captionData; }
111 inline bool CaptionDataHasBeenSet() const { return m_captionDataHasBeenSet; }
112 inline void SetCaptionData(const RtmpCaptionData& value) { m_captionDataHasBeenSet = true; m_captionData = value; }
113 inline void SetCaptionData(RtmpCaptionData&& value) { m_captionDataHasBeenSet = true; m_captionData = std::move(value); }
114 inline RtmpGroupSettings& WithCaptionData(const RtmpCaptionData& value) { SetCaptionData(value); return *this;}
115 inline RtmpGroupSettings& WithCaptionData(RtmpCaptionData&& value) { SetCaptionData(std::move(value)); return *this;}
117
119
127 inline const InputLossActionForRtmpOut& GetInputLossAction() const{ return m_inputLossAction; }
128 inline bool InputLossActionHasBeenSet() const { return m_inputLossActionHasBeenSet; }
129 inline void SetInputLossAction(const InputLossActionForRtmpOut& value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = value; }
130 inline void SetInputLossAction(InputLossActionForRtmpOut&& value) { m_inputLossActionHasBeenSet = true; m_inputLossAction = std::move(value); }
132 inline RtmpGroupSettings& WithInputLossAction(InputLossActionForRtmpOut&& value) { SetInputLossAction(std::move(value)); return *this;}
134
136
140 inline int GetRestartDelay() const{ return m_restartDelay; }
141 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
142 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
143 inline RtmpGroupSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
145
147
154 inline const IncludeFillerNalUnits& GetIncludeFillerNalUnits() const{ return m_includeFillerNalUnits; }
155 inline bool IncludeFillerNalUnitsHasBeenSet() const { return m_includeFillerNalUnitsHasBeenSet; }
156 inline void SetIncludeFillerNalUnits(const IncludeFillerNalUnits& value) { m_includeFillerNalUnitsHasBeenSet = true; m_includeFillerNalUnits = value; }
157 inline void SetIncludeFillerNalUnits(IncludeFillerNalUnits&& value) { m_includeFillerNalUnitsHasBeenSet = true; m_includeFillerNalUnits = std::move(value); }
161 private:
162
163 Aws::Vector<RtmpAdMarkers> m_adMarkers;
164 bool m_adMarkersHasBeenSet = false;
165
166 AuthenticationScheme m_authenticationScheme;
167 bool m_authenticationSchemeHasBeenSet = false;
168
169 RtmpCacheFullBehavior m_cacheFullBehavior;
170 bool m_cacheFullBehaviorHasBeenSet = false;
171
172 int m_cacheLength;
173 bool m_cacheLengthHasBeenSet = false;
174
175 RtmpCaptionData m_captionData;
176 bool m_captionDataHasBeenSet = false;
177
178 InputLossActionForRtmpOut m_inputLossAction;
179 bool m_inputLossActionHasBeenSet = false;
180
181 int m_restartDelay;
182 bool m_restartDelayHasBeenSet = false;
183
184 IncludeFillerNalUnits m_includeFillerNalUnits;
185 bool m_includeFillerNalUnitsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace MediaLive
190} // namespace Aws
void SetAdMarkers(const Aws::Vector< RtmpAdMarkers > &value)
AWS_MEDIALIVE_API RtmpGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const InputLossActionForRtmpOut & GetInputLossAction() const
const IncludeFillerNalUnits & GetIncludeFillerNalUnits() const
RtmpGroupSettings & WithCacheLength(int value)
const RtmpCacheFullBehavior & GetCacheFullBehavior() const
void SetIncludeFillerNalUnits(const IncludeFillerNalUnits &value)
const Aws::Vector< RtmpAdMarkers > & GetAdMarkers() const
RtmpGroupSettings & WithIncludeFillerNalUnits(const IncludeFillerNalUnits &value)
RtmpGroupSettings & WithCacheFullBehavior(RtmpCacheFullBehavior &&value)
void SetAdMarkers(Aws::Vector< RtmpAdMarkers > &&value)
void SetAuthenticationScheme(const AuthenticationScheme &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const AuthenticationScheme & GetAuthenticationScheme() const
void SetCacheFullBehavior(RtmpCacheFullBehavior &&value)
const RtmpCaptionData & GetCaptionData() const
void SetCacheFullBehavior(const RtmpCacheFullBehavior &value)
RtmpGroupSettings & WithAdMarkers(Aws::Vector< RtmpAdMarkers > &&value)
RtmpGroupSettings & AddAdMarkers(RtmpAdMarkers &&value)
void SetAuthenticationScheme(AuthenticationScheme &&value)
RtmpGroupSettings & WithAuthenticationScheme(const AuthenticationScheme &value)
AWS_MEDIALIVE_API RtmpGroupSettings(Aws::Utils::Json::JsonView jsonValue)
RtmpGroupSettings & WithAdMarkers(const Aws::Vector< RtmpAdMarkers > &value)
RtmpGroupSettings & AddAdMarkers(const RtmpAdMarkers &value)
RtmpGroupSettings & WithCaptionData(const RtmpCaptionData &value)
void SetCaptionData(const RtmpCaptionData &value)
RtmpGroupSettings & WithRestartDelay(int value)
RtmpGroupSettings & WithCaptionData(RtmpCaptionData &&value)
RtmpGroupSettings & WithInputLossAction(InputLossActionForRtmpOut &&value)
RtmpGroupSettings & WithAuthenticationScheme(AuthenticationScheme &&value)
void SetCaptionData(RtmpCaptionData &&value)
RtmpGroupSettings & WithInputLossAction(const InputLossActionForRtmpOut &value)
void SetInputLossAction(InputLossActionForRtmpOut &&value)
RtmpGroupSettings & WithCacheFullBehavior(const RtmpCacheFullBehavior &value)
RtmpGroupSettings & WithIncludeFillerNalUnits(IncludeFillerNalUnits &&value)
void SetIncludeFillerNalUnits(IncludeFillerNalUnits &&value)
void SetInputLossAction(const InputLossActionForRtmpOut &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue