AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CheckpointConfigurationUpdate.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 CheckpointConfigurationUpdate() = default;
31 AWS_KINESISANALYTICSV2_API CheckpointConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
47 inline ConfigurationType GetConfigurationTypeUpdate() const { return m_configurationTypeUpdate; }
48 inline bool ConfigurationTypeUpdateHasBeenSet() const { return m_configurationTypeUpdateHasBeenSet; }
50 m_configurationTypeUpdateHasBeenSet = true;
51 m_configurationTypeUpdate = value;
52 }
55 return *this;
56 }
58
60
67 inline bool GetCheckpointingEnabledUpdate() const { return m_checkpointingEnabledUpdate; }
68 inline bool CheckpointingEnabledUpdateHasBeenSet() const { return m_checkpointingEnabledUpdateHasBeenSet; }
69 inline void SetCheckpointingEnabledUpdate(bool value) {
70 m_checkpointingEnabledUpdateHasBeenSet = true;
71 m_checkpointingEnabledUpdate = value;
72 }
75 return *this;
76 }
78
80
88 inline long long GetCheckpointIntervalUpdate() const { return m_checkpointIntervalUpdate; }
89 inline bool CheckpointIntervalUpdateHasBeenSet() const { return m_checkpointIntervalUpdateHasBeenSet; }
90 inline void SetCheckpointIntervalUpdate(long long value) {
91 m_checkpointIntervalUpdateHasBeenSet = true;
92 m_checkpointIntervalUpdate = value;
93 }
96 return *this;
97 }
99
101
109 inline long long GetMinPauseBetweenCheckpointsUpdate() const { return m_minPauseBetweenCheckpointsUpdate; }
110 inline bool MinPauseBetweenCheckpointsUpdateHasBeenSet() const { return m_minPauseBetweenCheckpointsUpdateHasBeenSet; }
111 inline void SetMinPauseBetweenCheckpointsUpdate(long long value) {
112 m_minPauseBetweenCheckpointsUpdateHasBeenSet = true;
113 m_minPauseBetweenCheckpointsUpdate = value;
114 }
117 return *this;
118 }
120 private:
121 ConfigurationType m_configurationTypeUpdate{ConfigurationType::NOT_SET};
122
123 bool m_checkpointingEnabledUpdate{false};
124
125 long long m_checkpointIntervalUpdate{0};
126
127 long long m_minPauseBetweenCheckpointsUpdate{0};
128 bool m_configurationTypeUpdateHasBeenSet = false;
129 bool m_checkpointingEnabledUpdateHasBeenSet = false;
130 bool m_checkpointIntervalUpdateHasBeenSet = false;
131 bool m_minPauseBetweenCheckpointsUpdateHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace KinesisAnalyticsV2
136} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CheckpointConfigurationUpdate & WithCheckpointIntervalUpdate(long long value)
AWS_KINESISANALYTICSV2_API CheckpointConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfigurationUpdate & WithMinPauseBetweenCheckpointsUpdate(long long value)
CheckpointConfigurationUpdate & WithCheckpointingEnabledUpdate(bool value)
AWS_KINESISANALYTICSV2_API CheckpointConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfigurationUpdate & WithConfigurationTypeUpdate(ConfigurationType value)
AWS_KINESISANALYTICSV2_API CheckpointConfigurationUpdate()=default
Aws::Utils::Json::JsonValue JsonValue