AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ParallelismConfigurationDescription.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 ParallelismConfigurationDescription() = default;
33 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
41 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
43 m_configurationTypeHasBeenSet = true;
44 m_configurationType = value;
45 }
48 return *this;
49 }
51
53
65 inline int GetParallelism() const { return m_parallelism; }
66 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
67 inline void SetParallelism(int value) {
68 m_parallelismHasBeenSet = true;
69 m_parallelism = value;
70 }
72 SetParallelism(value);
73 return *this;
74 }
76
78
83 inline int GetParallelismPerKPU() const { return m_parallelismPerKPU; }
84 inline bool ParallelismPerKPUHasBeenSet() const { return m_parallelismPerKPUHasBeenSet; }
85 inline void SetParallelismPerKPU(int value) {
86 m_parallelismPerKPUHasBeenSet = true;
87 m_parallelismPerKPU = value;
88 }
91 return *this;
92 }
94
96
107 inline int GetCurrentParallelism() const { return m_currentParallelism; }
108 inline bool CurrentParallelismHasBeenSet() const { return m_currentParallelismHasBeenSet; }
109 inline void SetCurrentParallelism(int value) {
110 m_currentParallelismHasBeenSet = true;
111 m_currentParallelism = value;
112 }
115 return *this;
116 }
118
120
124 inline bool GetAutoScalingEnabled() const { return m_autoScalingEnabled; }
125 inline bool AutoScalingEnabledHasBeenSet() const { return m_autoScalingEnabledHasBeenSet; }
126 inline void SetAutoScalingEnabled(bool value) {
127 m_autoScalingEnabledHasBeenSet = true;
128 m_autoScalingEnabled = value;
129 }
132 return *this;
133 }
135 private:
137
138 int m_parallelism{0};
139
140 int m_parallelismPerKPU{0};
141
142 int m_currentParallelism{0};
143
144 bool m_autoScalingEnabled{false};
145 bool m_configurationTypeHasBeenSet = false;
146 bool m_parallelismHasBeenSet = false;
147 bool m_parallelismPerKPUHasBeenSet = false;
148 bool m_currentParallelismHasBeenSet = false;
149 bool m_autoScalingEnabledHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace KinesisAnalyticsV2
154} // namespace Aws
AWS_KINESISANALYTICSV2_API ParallelismConfigurationDescription()=default
ParallelismConfigurationDescription & WithConfigurationType(ConfigurationType value)
AWS_KINESISANALYTICSV2_API ParallelismConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API ParallelismConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue