AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
HlsWebdavSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/HlsWebdavHttpTransferMode.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 HlsWebdavSettings() = default;
30 AWS_MEDIALIVE_API HlsWebdavSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline int GetConnectionRetryInterval() const { return m_connectionRetryInterval; }
40 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
41 inline void SetConnectionRetryInterval(int value) {
42 m_connectionRetryIntervalHasBeenSet = true;
43 m_connectionRetryInterval = value;
44 }
47 return *this;
48 }
50
52
55 inline int GetFilecacheDuration() const { return m_filecacheDuration; }
56 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
57 inline void SetFilecacheDuration(int value) {
58 m_filecacheDurationHasBeenSet = true;
59 m_filecacheDuration = value;
60 }
63 return *this;
64 }
66
68
71 inline HlsWebdavHttpTransferMode GetHttpTransferMode() const { return m_httpTransferMode; }
72 inline bool HttpTransferModeHasBeenSet() const { return m_httpTransferModeHasBeenSet; }
74 m_httpTransferModeHasBeenSet = true;
75 m_httpTransferMode = value;
76 }
79 return *this;
80 }
82
84
89 inline int GetNumRetries() const { return m_numRetries; }
90 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
91 inline void SetNumRetries(int value) {
92 m_numRetriesHasBeenSet = true;
93 m_numRetries = value;
94 }
95 inline HlsWebdavSettings& WithNumRetries(int value) {
96 SetNumRetries(value);
97 return *this;
98 }
100
102
106 inline int GetRestartDelay() const { return m_restartDelay; }
107 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
108 inline void SetRestartDelay(int value) {
109 m_restartDelayHasBeenSet = true;
110 m_restartDelay = value;
111 }
113 SetRestartDelay(value);
114 return *this;
115 }
117 private:
118 int m_connectionRetryInterval{0};
119
120 int m_filecacheDuration{0};
121
123
124 int m_numRetries{0};
125
126 int m_restartDelay{0};
127 bool m_connectionRetryIntervalHasBeenSet = false;
128 bool m_filecacheDurationHasBeenSet = false;
129 bool m_httpTransferModeHasBeenSet = false;
130 bool m_numRetriesHasBeenSet = false;
131 bool m_restartDelayHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace MediaLive
136} // namespace Aws
HlsWebdavSettings & WithHttpTransferMode(HlsWebdavHttpTransferMode value)
AWS_MEDIALIVE_API HlsWebdavSettings(Aws::Utils::Json::JsonView jsonValue)
HlsWebdavSettings & WithRestartDelay(int value)
HlsWebdavSettings & WithNumRetries(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
HlsWebdavSettings & WithConnectionRetryInterval(int value)
AWS_MEDIALIVE_API HlsWebdavSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
HlsWebdavHttpTransferMode GetHttpTransferMode() const
AWS_MEDIALIVE_API HlsWebdavSettings()=default
HlsWebdavSettings & WithFilecacheDuration(int value)
void SetHttpTransferMode(HlsWebdavHttpTransferMode value)
Aws::Utils::Json::JsonValue JsonValue