AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_KINESISANALYTICSV2_API CheckpointConfiguration() = default;
41 AWS_KINESISANALYTICSV2_API CheckpointConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API CheckpointConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
58 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
59 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
60 inline void SetConfigurationType(ConfigurationType value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
63
65
73 inline bool GetCheckpointingEnabled() const { return m_checkpointingEnabled; }
74 inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
75 inline void SetCheckpointingEnabled(bool value) { m_checkpointingEnabledHasBeenSet = true; m_checkpointingEnabled = value; }
78
80
87 inline long long GetCheckpointInterval() const { return m_checkpointInterval; }
88 inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
89 inline void SetCheckpointInterval(long long value) { m_checkpointIntervalHasBeenSet = true; m_checkpointInterval = value; }
90 inline CheckpointConfiguration& WithCheckpointInterval(long long value) { SetCheckpointInterval(value); return *this;}
92
94
108 inline long long GetMinPauseBetweenCheckpoints() const { return m_minPauseBetweenCheckpoints; }
109 inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
110 inline void SetMinPauseBetweenCheckpoints(long long value) { m_minPauseBetweenCheckpointsHasBeenSet = true; m_minPauseBetweenCheckpoints = value; }
113 private:
114
116 bool m_configurationTypeHasBeenSet = false;
117
118 bool m_checkpointingEnabled{false};
119 bool m_checkpointingEnabledHasBeenSet = false;
120
121 long long m_checkpointInterval{0};
122 bool m_checkpointIntervalHasBeenSet = false;
123
124 long long m_minPauseBetweenCheckpoints{0};
125 bool m_minPauseBetweenCheckpointsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace KinesisAnalyticsV2
130} // 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