AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API HlsInputSettings();
35 AWS_MEDIALIVE_API HlsInputSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline int GetBandwidth() const{ return m_bandwidth; }
48 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
49 inline void SetBandwidth(int value) { m_bandwidthHasBeenSet = true; m_bandwidth = value; }
50 inline HlsInputSettings& WithBandwidth(int value) { SetBandwidth(value); return *this;}
52
54
59 inline int GetBufferSegments() const{ return m_bufferSegments; }
60 inline bool BufferSegmentsHasBeenSet() const { return m_bufferSegmentsHasBeenSet; }
61 inline void SetBufferSegments(int value) { m_bufferSegmentsHasBeenSet = true; m_bufferSegments = value; }
62 inline HlsInputSettings& WithBufferSegments(int value) { SetBufferSegments(value); return *this;}
64
66
70 inline int GetRetries() const{ return m_retries; }
71 inline bool RetriesHasBeenSet() const { return m_retriesHasBeenSet; }
72 inline void SetRetries(int value) { m_retriesHasBeenSet = true; m_retries = value; }
73 inline HlsInputSettings& WithRetries(int value) { SetRetries(value); return *this;}
75
77
81 inline int GetRetryInterval() const{ return m_retryInterval; }
82 inline bool RetryIntervalHasBeenSet() const { return m_retryIntervalHasBeenSet; }
83 inline void SetRetryInterval(int value) { m_retryIntervalHasBeenSet = true; m_retryInterval = value; }
84 inline HlsInputSettings& WithRetryInterval(int value) { SetRetryInterval(value); return *this;}
86
88
94 inline const HlsScte35SourceType& GetScte35Source() const{ return m_scte35Source; }
95 inline bool Scte35SourceHasBeenSet() const { return m_scte35SourceHasBeenSet; }
96 inline void SetScte35Source(const HlsScte35SourceType& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = value; }
97 inline void SetScte35Source(HlsScte35SourceType&& value) { m_scte35SourceHasBeenSet = true; m_scte35Source = std::move(value); }
98 inline HlsInputSettings& WithScte35Source(const HlsScte35SourceType& value) { SetScte35Source(value); return *this;}
99 inline HlsInputSettings& WithScte35Source(HlsScte35SourceType&& value) { SetScte35Source(std::move(value)); return *this;}
101 private:
102
103 int m_bandwidth;
104 bool m_bandwidthHasBeenSet = false;
105
106 int m_bufferSegments;
107 bool m_bufferSegmentsHasBeenSet = false;
108
109 int m_retries;
110 bool m_retriesHasBeenSet = false;
111
112 int m_retryInterval;
113 bool m_retryIntervalHasBeenSet = false;
114
115 HlsScte35SourceType m_scte35Source;
116 bool m_scte35SourceHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace MediaLive
121} // namespace Aws
void SetScte35Source(HlsScte35SourceType &&value)
AWS_MEDIALIVE_API HlsInputSettings(Aws::Utils::Json::JsonView jsonValue)
HlsInputSettings & WithBufferSegments(int value)
HlsInputSettings & WithRetries(int value)
HlsInputSettings & WithRetryInterval(int value)
void SetScte35Source(const HlsScte35SourceType &value)
AWS_MEDIALIVE_API HlsInputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
HlsInputSettings & WithScte35Source(const HlsScte35SourceType &value)
HlsInputSettings & WithBandwidth(int value)
HlsInputSettings & WithScte35Source(HlsScte35SourceType &&value)
const HlsScte35SourceType & GetScte35Source() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue