AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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
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 HlsMediaStoreSettings() = default;
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
72 inline HlsMediaStoreStorageClass GetMediaStoreStorageClass() const { return m_mediaStoreStorageClass; }
73 inline bool MediaStoreStorageClassHasBeenSet() const { return m_mediaStoreStorageClassHasBeenSet; }
75 m_mediaStoreStorageClassHasBeenSet = true;
76 m_mediaStoreStorageClass = value;
77 }
80 return *this;
81 }
83
85
90 inline int GetNumRetries() const { return m_numRetries; }
91 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
92 inline void SetNumRetries(int value) {
93 m_numRetriesHasBeenSet = true;
94 m_numRetries = value;
95 }
97 SetNumRetries(value);
98 return *this;
99 }
101
103
107 inline int GetRestartDelay() const { return m_restartDelay; }
108 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
109 inline void SetRestartDelay(int value) {
110 m_restartDelayHasBeenSet = true;
111 m_restartDelay = value;
112 }
114 SetRestartDelay(value);
115 return *this;
116 }
118 private:
119 int m_connectionRetryInterval{0};
120
121 int m_filecacheDuration{0};
122
124
125 int m_numRetries{0};
126
127 int m_restartDelay{0};
128 bool m_connectionRetryIntervalHasBeenSet = false;
129 bool m_filecacheDurationHasBeenSet = false;
130 bool m_mediaStoreStorageClassHasBeenSet = false;
131 bool m_numRetriesHasBeenSet = false;
132 bool m_restartDelayHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace MediaLive
137} // 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