AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
59 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
60 inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
61 inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
63 inline CheckpointConfiguration& WithConfigurationType(ConfigurationType&& value) { SetConfigurationType(std::move(value)); return *this;}
65
67
75 inline bool GetCheckpointingEnabled() const{ return m_checkpointingEnabled; }
76 inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
77 inline void SetCheckpointingEnabled(bool value) { m_checkpointingEnabledHasBeenSet = true; m_checkpointingEnabled = value; }
80
82
89 inline long long GetCheckpointInterval() const{ return m_checkpointInterval; }
90 inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
91 inline void SetCheckpointInterval(long long value) { m_checkpointIntervalHasBeenSet = true; m_checkpointInterval = value; }
92 inline CheckpointConfiguration& WithCheckpointInterval(long long value) { SetCheckpointInterval(value); return *this;}
94
96
110 inline long long GetMinPauseBetweenCheckpoints() const{ return m_minPauseBetweenCheckpoints; }
111 inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
112 inline void SetMinPauseBetweenCheckpoints(long long value) { m_minPauseBetweenCheckpointsHasBeenSet = true; m_minPauseBetweenCheckpoints = value; }
115 private:
116
117 ConfigurationType m_configurationType;
118 bool m_configurationTypeHasBeenSet = false;
119
120 bool m_checkpointingEnabled;
121 bool m_checkpointingEnabledHasBeenSet = false;
122
123 long long m_checkpointInterval;
124 bool m_checkpointIntervalHasBeenSet = false;
125
126 long long m_minPauseBetweenCheckpoints;
127 bool m_minPauseBetweenCheckpointsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace KinesisAnalyticsV2
132} // namespace Aws
AWS_KINESISANALYTICSV2_API CheckpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfiguration & WithCheckpointInterval(long long value)
CheckpointConfiguration & WithConfigurationType(ConfigurationType &&value)
CheckpointConfiguration & WithMinPauseBetweenCheckpoints(long long value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CheckpointConfiguration & WithConfigurationType(const ConfigurationType &value)
CheckpointConfiguration & WithCheckpointingEnabled(bool value)
AWS_KINESISANALYTICSV2_API CheckpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue