AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CheckpointConfigurationDescription.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
33 {
34 public:
35 AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription() = default;
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
52 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
53 inline void SetConfigurationType(ConfigurationType value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
56
58
66 inline bool GetCheckpointingEnabled() const { return m_checkpointingEnabled; }
67 inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
68 inline void SetCheckpointingEnabled(bool value) { m_checkpointingEnabledHasBeenSet = true; m_checkpointingEnabled = value; }
71
73
80 inline long long GetCheckpointInterval() const { return m_checkpointInterval; }
81 inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
82 inline void SetCheckpointInterval(long long value) { m_checkpointIntervalHasBeenSet = true; m_checkpointInterval = value; }
85
87
95 inline long long GetMinPauseBetweenCheckpoints() const { return m_minPauseBetweenCheckpoints; }
96 inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
97 inline void SetMinPauseBetweenCheckpoints(long long value) { m_minPauseBetweenCheckpointsHasBeenSet = true; m_minPauseBetweenCheckpoints = value; }
100 private:
101
103 bool m_configurationTypeHasBeenSet = false;
104
105 bool m_checkpointingEnabled{false};
106 bool m_checkpointingEnabledHasBeenSet = false;
107
108 long long m_checkpointInterval{0};
109 bool m_checkpointIntervalHasBeenSet = false;
110
111 long long m_minPauseBetweenCheckpoints{0};
112 bool m_minPauseBetweenCheckpointsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace KinesisAnalyticsV2
117} // namespace Aws
CheckpointConfigurationDescription & WithConfigurationType(ConfigurationType value)
CheckpointConfigurationDescription & WithMinPauseBetweenCheckpoints(long long value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription()=default
AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfigurationDescription & WithCheckpointInterval(long long value)
AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue