AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const HlsWebdavHttpTransferMode& GetHttpTransferMode() const{ return m_httpTransferMode; }
66 inline bool HttpTransferModeHasBeenSet() const { return m_httpTransferModeHasBeenSet; }
67 inline void SetHttpTransferMode(const HlsWebdavHttpTransferMode& value) { m_httpTransferModeHasBeenSet = true; m_httpTransferMode = value; }
68 inline void SetHttpTransferMode(HlsWebdavHttpTransferMode&& value) { m_httpTransferModeHasBeenSet = true; m_httpTransferMode = std::move(value); }
70 inline HlsWebdavSettings& WithHttpTransferMode(HlsWebdavHttpTransferMode&& value) { SetHttpTransferMode(std::move(value)); return *this;}
72
74
79 inline int GetNumRetries() const{ return m_numRetries; }
80 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
81 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
82 inline HlsWebdavSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
84
86
90 inline int GetRestartDelay() const{ return m_restartDelay; }
91 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
92 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
93 inline HlsWebdavSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
95 private:
96
97 int m_connectionRetryInterval;
98 bool m_connectionRetryIntervalHasBeenSet = false;
99
100 int m_filecacheDuration;
101 bool m_filecacheDurationHasBeenSet = false;
102
103 HlsWebdavHttpTransferMode m_httpTransferMode;
104 bool m_httpTransferModeHasBeenSet = false;
105
106 int m_numRetries;
107 bool m_numRetriesHasBeenSet = false;
108
109 int m_restartDelay;
110 bool m_restartDelayHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace MediaLive
115} // namespace Aws
void SetHttpTransferMode(HlsWebdavHttpTransferMode &&value)
AWS_MEDIALIVE_API HlsWebdavSettings(Aws::Utils::Json::JsonView jsonValue)
HlsWebdavSettings & WithHttpTransferMode(const HlsWebdavHttpTransferMode &value)
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)
HlsWebdavSettings & WithHttpTransferMode(HlsWebdavHttpTransferMode &&value)
HlsWebdavSettings & WithFilecacheDuration(int value)
const HlsWebdavHttpTransferMode & GetHttpTransferMode() const
void SetHttpTransferMode(const HlsWebdavHttpTransferMode &value)
Aws::Utils::Json::JsonValue JsonValue