AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
HlsInputSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/HlsScte35SourceType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API HlsInputSettings() = default;
30 AWS_MEDIALIVE_API HlsInputSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline int GetBandwidth() const { return m_bandwidth; }
42 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
43 inline void SetBandwidth(int value) {
44 m_bandwidthHasBeenSet = true;
45 m_bandwidth = value;
46 }
47 inline HlsInputSettings& WithBandwidth(int value) {
48 SetBandwidth(value);
49 return *this;
50 }
52
54
59 inline int GetBufferSegments() const { return m_bufferSegments; }
60 inline bool BufferSegmentsHasBeenSet() const { return m_bufferSegmentsHasBeenSet; }
61 inline void SetBufferSegments(int value) {
62 m_bufferSegmentsHasBeenSet = true;
63 m_bufferSegments = value;
64 }
66 SetBufferSegments(value);
67 return *this;
68 }
70
72
76 inline int GetRetries() const { return m_retries; }
77 inline bool RetriesHasBeenSet() const { return m_retriesHasBeenSet; }
78 inline void SetRetries(int value) {
79 m_retriesHasBeenSet = true;
80 m_retries = value;
81 }
82 inline HlsInputSettings& WithRetries(int value) {
83 SetRetries(value);
84 return *this;
85 }
87
89
93 inline int GetRetryInterval() const { return m_retryInterval; }
94 inline bool RetryIntervalHasBeenSet() const { return m_retryIntervalHasBeenSet; }
95 inline void SetRetryInterval(int value) {
96 m_retryIntervalHasBeenSet = true;
97 m_retryInterval = value;
98 }
100 SetRetryInterval(value);
101 return *this;
102 }
104
106
112 inline HlsScte35SourceType GetScte35Source() const { return m_scte35Source; }
113 inline bool Scte35SourceHasBeenSet() const { return m_scte35SourceHasBeenSet; }
115 m_scte35SourceHasBeenSet = true;
116 m_scte35Source = value;
117 }
119 SetScte35Source(value);
120 return *this;
121 }
123 private:
124 int m_bandwidth{0};
125
126 int m_bufferSegments{0};
127
128 int m_retries{0};
129
130 int m_retryInterval{0};
131
133 bool m_bandwidthHasBeenSet = false;
134 bool m_bufferSegmentsHasBeenSet = false;
135 bool m_retriesHasBeenSet = false;
136 bool m_retryIntervalHasBeenSet = false;
137 bool m_scte35SourceHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace MediaLive
142} // namespace Aws
HlsInputSettings & WithScte35Source(HlsScte35SourceType value)
AWS_MEDIALIVE_API HlsInputSettings(Aws::Utils::Json::JsonView jsonValue)
HlsInputSettings & WithBufferSegments(int value)
HlsInputSettings & WithRetries(int value)
HlsInputSettings & WithRetryInterval(int value)
AWS_MEDIALIVE_API HlsInputSettings()=default
AWS_MEDIALIVE_API HlsInputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
HlsScte35SourceType GetScte35Source() const
HlsInputSettings & WithBandwidth(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScte35Source(HlsScte35SourceType value)
Aws::Utils::Json::JsonValue JsonValue