AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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
33 {
34 public:
35 AWS_KINESISANALYTICSV2_API ParallelismConfigurationDescription();
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
47 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
48 inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
49 inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
53
55
67 inline int GetParallelism() const{ return m_parallelism; }
68 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
69 inline void SetParallelism(int value) { m_parallelismHasBeenSet = true; m_parallelism = value; }
70 inline ParallelismConfigurationDescription& WithParallelism(int value) { SetParallelism(value); return *this;}
72
74
79 inline int GetParallelismPerKPU() const{ return m_parallelismPerKPU; }
80 inline bool ParallelismPerKPUHasBeenSet() const { return m_parallelismPerKPUHasBeenSet; }
81 inline void SetParallelismPerKPU(int value) { m_parallelismPerKPUHasBeenSet = true; m_parallelismPerKPU = value; }
84
86
97 inline int GetCurrentParallelism() const{ return m_currentParallelism; }
98 inline bool CurrentParallelismHasBeenSet() const { return m_currentParallelismHasBeenSet; }
99 inline void SetCurrentParallelism(int value) { m_currentParallelismHasBeenSet = true; m_currentParallelism = value; }
102
104
108 inline bool GetAutoScalingEnabled() const{ return m_autoScalingEnabled; }
109 inline bool AutoScalingEnabledHasBeenSet() const { return m_autoScalingEnabledHasBeenSet; }
110 inline void SetAutoScalingEnabled(bool value) { m_autoScalingEnabledHasBeenSet = true; m_autoScalingEnabled = value; }
113 private:
114
115 ConfigurationType m_configurationType;
116 bool m_configurationTypeHasBeenSet = false;
117
118 int m_parallelism;
119 bool m_parallelismHasBeenSet = false;
120
121 int m_parallelismPerKPU;
122 bool m_parallelismPerKPUHasBeenSet = false;
123
124 int m_currentParallelism;
125 bool m_currentParallelismHasBeenSet = false;
126
127 bool m_autoScalingEnabled;
128 bool m_autoScalingEnabledHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace KinesisAnalyticsV2
133} // namespace Aws
ParallelismConfigurationDescription & WithConfigurationType(ConfigurationType &&value)
ParallelismConfigurationDescription & WithConfigurationType(const 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