AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
HlsMediaStoreSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/HlsMediaStoreStorageClass.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 HlsMediaStoreSettings() = default;
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 HlsMediaStoreSettings& WithFilecacheDuration(int value) { SetFilecacheDuration(value); return *this;}
60
62
66 inline HlsMediaStoreStorageClass GetMediaStoreStorageClass() const { return m_mediaStoreStorageClass; }
67 inline bool MediaStoreStorageClassHasBeenSet() const { return m_mediaStoreStorageClassHasBeenSet; }
68 inline void SetMediaStoreStorageClass(HlsMediaStoreStorageClass value) { m_mediaStoreStorageClassHasBeenSet = true; m_mediaStoreStorageClass = value; }
71
73
78 inline int GetNumRetries() const { return m_numRetries; }
79 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
80 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
81 inline HlsMediaStoreSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
83
85
89 inline int GetRestartDelay() const { return m_restartDelay; }
90 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
91 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
92 inline HlsMediaStoreSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
94 private:
95
96 int m_connectionRetryInterval{0};
97 bool m_connectionRetryIntervalHasBeenSet = false;
98
99 int m_filecacheDuration{0};
100 bool m_filecacheDurationHasBeenSet = false;
101
103 bool m_mediaStoreStorageClassHasBeenSet = false;
104
105 int m_numRetries{0};
106 bool m_numRetriesHasBeenSet = false;
107
108 int m_restartDelay{0};
109 bool m_restartDelayHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace MediaLive
114} // namespace Aws
AWS_MEDIALIVE_API HlsMediaStoreSettings()=default
HlsMediaStoreSettings & WithRestartDelay(int value)
HlsMediaStoreSettings & WithMediaStoreStorageClass(HlsMediaStoreStorageClass value)
AWS_MEDIALIVE_API HlsMediaStoreSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
HlsMediaStoreSettings & WithNumRetries(int value)
HlsMediaStoreSettings & WithFilecacheDuration(int value)
HlsMediaStoreStorageClass GetMediaStoreStorageClass() const
AWS_MEDIALIVE_API HlsMediaStoreSettings(Aws::Utils::Json::JsonView jsonValue)
void SetMediaStoreStorageClass(HlsMediaStoreStorageClass value)
HlsMediaStoreSettings & WithConnectionRetryInterval(int value)
Aws::Utils::Json::JsonValue JsonValue