AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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#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 HlsWebdavSettings() = default;
35 AWS_MEDIALIVE_API HlsWebdavSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetConnectionRetryInterval() const { return m_connectionRetryInterval; }
46 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
47 inline void SetConnectionRetryInterval(int value) { m_connectionRetryIntervalHasBeenSet = true; m_connectionRetryInterval = value; }
50
52
55 inline int GetFilecacheDuration() const { return m_filecacheDuration; }
56 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
57 inline void SetFilecacheDuration(int value) { m_filecacheDurationHasBeenSet = true; m_filecacheDuration = value; }
58 inline HlsWebdavSettings& WithFilecacheDuration(int value) { SetFilecacheDuration(value); return *this;}
60
62
65 inline HlsWebdavHttpTransferMode GetHttpTransferMode() const { return m_httpTransferMode; }
66 inline bool HttpTransferModeHasBeenSet() const { return m_httpTransferModeHasBeenSet; }
67 inline void SetHttpTransferMode(HlsWebdavHttpTransferMode value) { m_httpTransferModeHasBeenSet = true; m_httpTransferMode = value; }
70
72
77 inline int GetNumRetries() const { return m_numRetries; }
78 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
79 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
80 inline HlsWebdavSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
82
84
88 inline int GetRestartDelay() const { return m_restartDelay; }
89 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
90 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
91 inline HlsWebdavSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
93 private:
94
95 int m_connectionRetryInterval{0};
96 bool m_connectionRetryIntervalHasBeenSet = false;
97
98 int m_filecacheDuration{0};
99 bool m_filecacheDurationHasBeenSet = false;
100
102 bool m_httpTransferModeHasBeenSet = false;
103
104 int m_numRetries{0};
105 bool m_numRetriesHasBeenSet = false;
106
107 int m_restartDelay{0};
108 bool m_restartDelayHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MediaLive
113} // 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