AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
HlsBasicPutSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaLive {
17namespace Model {
18
25 public:
26 AWS_MEDIALIVE_API HlsBasicPutSettings() = default;
27 AWS_MEDIALIVE_API HlsBasicPutSettings(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetConnectionRetryInterval() const { return m_connectionRetryInterval; }
37 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
38 inline void SetConnectionRetryInterval(int value) {
39 m_connectionRetryIntervalHasBeenSet = true;
40 m_connectionRetryInterval = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetFilecacheDuration() const { return m_filecacheDuration; }
53 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
54 inline void SetFilecacheDuration(int value) {
55 m_filecacheDurationHasBeenSet = true;
56 m_filecacheDuration = value;
57 }
60 return *this;
61 }
63
65
70 inline int GetNumRetries() const { return m_numRetries; }
71 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
72 inline void SetNumRetries(int value) {
73 m_numRetriesHasBeenSet = true;
74 m_numRetries = value;
75 }
77 SetNumRetries(value);
78 return *this;
79 }
81
83
87 inline int GetRestartDelay() const { return m_restartDelay; }
88 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
89 inline void SetRestartDelay(int value) {
90 m_restartDelayHasBeenSet = true;
91 m_restartDelay = value;
92 }
94 SetRestartDelay(value);
95 return *this;
96 }
98 private:
99 int m_connectionRetryInterval{0};
100
101 int m_filecacheDuration{0};
102
103 int m_numRetries{0};
104
105 int m_restartDelay{0};
106 bool m_connectionRetryIntervalHasBeenSet = false;
107 bool m_filecacheDurationHasBeenSet = false;
108 bool m_numRetriesHasBeenSet = false;
109 bool m_restartDelayHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace MediaLive
114} // namespace Aws
HlsBasicPutSettings & WithNumRetries(int value)
HlsBasicPutSettings & WithConnectionRetryInterval(int value)
HlsBasicPutSettings & WithRestartDelay(int value)
AWS_MEDIALIVE_API HlsBasicPutSettings()=default
HlsBasicPutSettings & WithFilecacheDuration(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API HlsBasicPutSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API HlsBasicPutSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue