AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CheckpointConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
34 public:
35 AWS_KINESISANALYTICSV2_API CheckpointConfiguration() = default;
36 AWS_KINESISANALYTICSV2_API CheckpointConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICSV2_API CheckpointConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
52 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
53 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
55 m_configurationTypeHasBeenSet = true;
56 m_configurationType = value;
57 }
60 return *this;
61 }
63
65
73 inline bool GetCheckpointingEnabled() const { return m_checkpointingEnabled; }
74 inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
75 inline void SetCheckpointingEnabled(bool value) {
76 m_checkpointingEnabledHasBeenSet = true;
77 m_checkpointingEnabled = value;
78 }
81 return *this;
82 }
84
86
93 inline long long GetCheckpointInterval() const { return m_checkpointInterval; }
94 inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
95 inline void SetCheckpointInterval(long long value) {
96 m_checkpointIntervalHasBeenSet = true;
97 m_checkpointInterval = value;
98 }
101 return *this;
102 }
104
106
120 inline long long GetMinPauseBetweenCheckpoints() const { return m_minPauseBetweenCheckpoints; }
121 inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
122 inline void SetMinPauseBetweenCheckpoints(long long value) {
123 m_minPauseBetweenCheckpointsHasBeenSet = true;
124 m_minPauseBetweenCheckpoints = value;
125 }
128 return *this;
129 }
131 private:
133
134 bool m_checkpointingEnabled{false};
135
136 long long m_checkpointInterval{0};
137
138 long long m_minPauseBetweenCheckpoints{0};
139 bool m_configurationTypeHasBeenSet = false;
140 bool m_checkpointingEnabledHasBeenSet = false;
141 bool m_checkpointIntervalHasBeenSet = false;
142 bool m_minPauseBetweenCheckpointsHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace KinesisAnalyticsV2
147} // namespace Aws
AWS_KINESISANALYTICSV2_API CheckpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfiguration & WithCheckpointInterval(long long value)
AWS_KINESISANALYTICSV2_API CheckpointConfiguration()=default
CheckpointConfiguration & WithMinPauseBetweenCheckpoints(long long value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CheckpointConfiguration & WithCheckpointingEnabled(bool value)
AWS_KINESISANALYTICSV2_API CheckpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfiguration & WithConfigurationType(ConfigurationType value)
Aws::Utils::Json::JsonValue JsonValue