AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
ParallelismConfigurationUpdate.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 ParallelismConfigurationUpdate() = default;
31 AWS_KINESISANALYTICSV2_API ParallelismConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline ConfigurationType GetConfigurationTypeUpdate() const { return m_configurationTypeUpdate; }
44 inline bool ConfigurationTypeUpdateHasBeenSet() const { return m_configurationTypeUpdateHasBeenSet; }
46 m_configurationTypeUpdateHasBeenSet = true;
47 m_configurationTypeUpdate = value;
48 }
51 return *this;
52 }
54
56
68 inline int GetParallelismUpdate() const { return m_parallelismUpdate; }
69 inline bool ParallelismUpdateHasBeenSet() const { return m_parallelismUpdateHasBeenSet; }
70 inline void SetParallelismUpdate(int value) {
71 m_parallelismUpdateHasBeenSet = true;
72 m_parallelismUpdate = value;
73 }
76 return *this;
77 }
79
81
85 inline int GetParallelismPerKPUUpdate() const { return m_parallelismPerKPUUpdate; }
86 inline bool ParallelismPerKPUUpdateHasBeenSet() const { return m_parallelismPerKPUUpdateHasBeenSet; }
87 inline void SetParallelismPerKPUUpdate(int value) {
88 m_parallelismPerKPUUpdateHasBeenSet = true;
89 m_parallelismPerKPUUpdate = value;
90 }
93 return *this;
94 }
96
98
103 inline bool GetAutoScalingEnabledUpdate() const { return m_autoScalingEnabledUpdate; }
104 inline bool AutoScalingEnabledUpdateHasBeenSet() const { return m_autoScalingEnabledUpdateHasBeenSet; }
105 inline void SetAutoScalingEnabledUpdate(bool value) {
106 m_autoScalingEnabledUpdateHasBeenSet = true;
107 m_autoScalingEnabledUpdate = value;
108 }
111 return *this;
112 }
114 private:
115 ConfigurationType m_configurationTypeUpdate{ConfigurationType::NOT_SET};
116
117 int m_parallelismUpdate{0};
118
119 int m_parallelismPerKPUUpdate{0};
120
121 bool m_autoScalingEnabledUpdate{false};
122 bool m_configurationTypeUpdateHasBeenSet = false;
123 bool m_parallelismUpdateHasBeenSet = false;
124 bool m_parallelismPerKPUUpdateHasBeenSet = false;
125 bool m_autoScalingEnabledUpdateHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace KinesisAnalyticsV2
130} // namespace Aws
AWS_KINESISANALYTICSV2_API ParallelismConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ParallelismConfigurationUpdate & WithConfigurationTypeUpdate(ConfigurationType value)
AWS_KINESISANALYTICSV2_API ParallelismConfigurationUpdate()=default
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API ParallelismConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue