AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
47 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
48 inline void SetConfigurationType(ConfigurationType value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
51
53
65 inline int GetParallelism() const { return m_parallelism; }
66 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
67 inline void SetParallelism(int value) { m_parallelismHasBeenSet = true; m_parallelism = value; }
68 inline ParallelismConfigurationDescription& WithParallelism(int value) { SetParallelism(value); return *this;}
70
72
77 inline int GetParallelismPerKPU() const { return m_parallelismPerKPU; }
78 inline bool ParallelismPerKPUHasBeenSet() const { return m_parallelismPerKPUHasBeenSet; }
79 inline void SetParallelismPerKPU(int value) { m_parallelismPerKPUHasBeenSet = true; m_parallelismPerKPU = value; }
82
84
95 inline int GetCurrentParallelism() const { return m_currentParallelism; }
96 inline bool CurrentParallelismHasBeenSet() const { return m_currentParallelismHasBeenSet; }
97 inline void SetCurrentParallelism(int value) { m_currentParallelismHasBeenSet = true; m_currentParallelism = value; }
100
102
106 inline bool GetAutoScalingEnabled() const { return m_autoScalingEnabled; }
107 inline bool AutoScalingEnabledHasBeenSet() const { return m_autoScalingEnabledHasBeenSet; }
108 inline void SetAutoScalingEnabled(bool value) { m_autoScalingEnabledHasBeenSet = true; m_autoScalingEnabled = value; }
111 private:
112
114 bool m_configurationTypeHasBeenSet = false;
115
116 int m_parallelism{0};
117 bool m_parallelismHasBeenSet = false;
118
119 int m_parallelismPerKPU{0};
120 bool m_parallelismPerKPUHasBeenSet = false;
121
122 int m_currentParallelism{0};
123 bool m_currentParallelismHasBeenSet = false;
124
125 bool m_autoScalingEnabled{false};
126 bool m_autoScalingEnabledHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace KinesisAnalyticsV2
131} // 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