AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
PostRollConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IVS {
17namespace Model {
18
26 public:
27 AWS_IVS_API PostRollConfiguration() = default;
31
33
36 inline int GetDurationSeconds() const { return m_durationSeconds; }
37 inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; }
38 inline void SetDurationSeconds(int value) {
39 m_durationSecondsHasBeenSet = true;
40 m_durationSeconds = value;
41 }
43 SetDurationSeconds(value);
44 return *this;
45 }
47
49
52 inline bool GetEnabled() const { return m_enabled; }
53 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 inline void SetEnabled(bool value) {
55 m_enabledHasBeenSet = true;
56 m_enabled = value;
57 }
58 inline PostRollConfiguration& WithEnabled(bool value) {
59 SetEnabled(value);
60 return *this;
61 }
63 private:
64 int m_durationSeconds{0};
65
66 bool m_enabled{false};
67 bool m_durationSecondsHasBeenSet = false;
68 bool m_enabledHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace IVS
73} // namespace Aws
void SetDurationSeconds(int value)
AWS_IVS_API PostRollConfiguration()=default
PostRollConfiguration & WithDurationSeconds(int value)
PostRollConfiguration & WithEnabled(bool value)
bool EnabledHasBeenSet() const
void SetEnabled(bool value)
AWS_IVS_API PostRollConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API PostRollConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetDurationSeconds() const
bool DurationSecondsHasBeenSet() const
bool GetEnabled() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue