AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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
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
29 public:
30 AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription() = default;
33 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
46 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
48 m_configurationTypeHasBeenSet = true;
49 m_configurationType = value;
50 }
53 return *this;
54 }
56
58
66 inline bool GetCheckpointingEnabled() const { return m_checkpointingEnabled; }
67 inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
68 inline void SetCheckpointingEnabled(bool value) {
69 m_checkpointingEnabledHasBeenSet = true;
70 m_checkpointingEnabled = value;
71 }
74 return *this;
75 }
77
79
86 inline long long GetCheckpointInterval() const { return m_checkpointInterval; }
87 inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
88 inline void SetCheckpointInterval(long long value) {
89 m_checkpointIntervalHasBeenSet = true;
90 m_checkpointInterval = value;
91 }
94 return *this;
95 }
97
99
107 inline long long GetMinPauseBetweenCheckpoints() const { return m_minPauseBetweenCheckpoints; }
108 inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
109 inline void SetMinPauseBetweenCheckpoints(long long value) {
110 m_minPauseBetweenCheckpointsHasBeenSet = true;
111 m_minPauseBetweenCheckpoints = value;
112 }
115 return *this;
116 }
118 private:
120
121 bool m_checkpointingEnabled{false};
122
123 long long m_checkpointInterval{0};
124
125 long long m_minPauseBetweenCheckpoints{0};
126 bool m_configurationTypeHasBeenSet = false;
127 bool m_checkpointingEnabledHasBeenSet = false;
128 bool m_checkpointIntervalHasBeenSet = false;
129 bool m_minPauseBetweenCheckpointsHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace KinesisAnalyticsV2
134} // 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