AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HlsBasicPutSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_MEDIALIVE_API HlsBasicPutSettings();
33 AWS_MEDIALIVE_API HlsBasicPutSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetConnectionRetryInterval() const{ return m_connectionRetryInterval; }
44 inline bool ConnectionRetryIntervalHasBeenSet() const { return m_connectionRetryIntervalHasBeenSet; }
45 inline void SetConnectionRetryInterval(int value) { m_connectionRetryIntervalHasBeenSet = true; m_connectionRetryInterval = value; }
48
50
53 inline int GetFilecacheDuration() const{ return m_filecacheDuration; }
54 inline bool FilecacheDurationHasBeenSet() const { return m_filecacheDurationHasBeenSet; }
55 inline void SetFilecacheDuration(int value) { m_filecacheDurationHasBeenSet = true; m_filecacheDuration = value; }
56 inline HlsBasicPutSettings& WithFilecacheDuration(int value) { SetFilecacheDuration(value); return *this;}
58
60
65 inline int GetNumRetries() const{ return m_numRetries; }
66 inline bool NumRetriesHasBeenSet() const { return m_numRetriesHasBeenSet; }
67 inline void SetNumRetries(int value) { m_numRetriesHasBeenSet = true; m_numRetries = value; }
68 inline HlsBasicPutSettings& WithNumRetries(int value) { SetNumRetries(value); return *this;}
70
72
76 inline int GetRestartDelay() const{ return m_restartDelay; }
77 inline bool RestartDelayHasBeenSet() const { return m_restartDelayHasBeenSet; }
78 inline void SetRestartDelay(int value) { m_restartDelayHasBeenSet = true; m_restartDelay = value; }
79 inline HlsBasicPutSettings& WithRestartDelay(int value) { SetRestartDelay(value); return *this;}
81 private:
82
83 int m_connectionRetryInterval;
84 bool m_connectionRetryIntervalHasBeenSet = false;
85
86 int m_filecacheDuration;
87 bool m_filecacheDurationHasBeenSet = false;
88
89 int m_numRetries;
90 bool m_numRetriesHasBeenSet = false;
91
92 int m_restartDelay;
93 bool m_restartDelayHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MediaLive
98} // namespace Aws
HlsBasicPutSettings & WithNumRetries(int value)
HlsBasicPutSettings & WithConnectionRetryInterval(int value)
HlsBasicPutSettings & WithRestartDelay(int value)
HlsBasicPutSettings & WithFilecacheDuration(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API HlsBasicPutSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API HlsBasicPutSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue