AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const HlsMediaStoreStorageClass& GetMediaStoreStorageClass() const{ return m_mediaStoreStorageClass; }
67 inline bool MediaStoreStorageClassHasBeenSet() const { return m_mediaStoreStorageClassHasBeenSet; }
68 inline void SetMediaStoreStorageClass(const HlsMediaStoreStorageClass& value) { m_mediaStoreStorageClassHasBeenSet = true; m_mediaStoreStorageClass = value; }
69 inline void SetMediaStoreStorageClass(HlsMediaStoreStorageClass&& value) { m_mediaStoreStorageClassHasBeenSet = true; m_mediaStoreStorageClass = std::move(value); }
73
75
80 inline int GetNumRetries() const{ return m_numRetries; }
81 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
82 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
83 inline HlsMediaStoreSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
85
87
91 inline int GetRestartDelay() const{ return m_restartDelay; }
92 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
93 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
94 inline HlsMediaStoreSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
96 private:
97
98 int m_connectionRetryInterval;
99 bool m_connectionRetryIntervalHasBeenSet = false;
100
101 int m_filecacheDuration;
102 bool m_filecacheDurationHasBeenSet = false;
103
104 HlsMediaStoreStorageClass m_mediaStoreStorageClass;
105 bool m_mediaStoreStorageClassHasBeenSet = false;
106
107 int m_numRetries;
108 bool m_numRetriesHasBeenSet = false;
109
110 int m_restartDelay;
111 bool m_restartDelayHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaLive
116} // namespace Aws
void SetMediaStoreStorageClass(HlsMediaStoreStorageClass &&value)
HlsMediaStoreSettings & WithRestartDelay(int value)
HlsMediaStoreSettings & WithMediaStoreStorageClass(const HlsMediaStoreStorageClass &value)
void SetMediaStoreStorageClass(const 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 & WithMediaStoreStorageClass(HlsMediaStoreStorageClass &&value)
HlsMediaStoreSettings & WithFilecacheDuration(int value)
AWS_MEDIALIVE_API HlsMediaStoreSettings(Aws::Utils::Json::JsonView jsonValue)
HlsMediaStoreSettings & WithConnectionRetryInterval(int value)
const HlsMediaStoreStorageClass & GetMediaStoreStorageClass() const
Aws::Utils::Json::JsonValue JsonValue