AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParallelismConfiguration.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
38 {
39 public:
40 AWS_KINESISANALYTICSV2_API ParallelismConfiguration();
41 AWS_KINESISANALYTICSV2_API ParallelismConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API ParallelismConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
54 inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
55 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
56 inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
57 inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
59 inline ParallelismConfiguration& WithConfigurationType(ConfigurationType&& value) { SetConfigurationType(std::move(value)); return *this;}
61
63
75 inline int GetParallelism() const{ return m_parallelism; }
76 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
77 inline void SetParallelism(int value) { m_parallelismHasBeenSet = true; m_parallelism = value; }
78 inline ParallelismConfiguration& WithParallelism(int value) { SetParallelism(value); return *this;}
80
82
89 inline int GetParallelismPerKPU() const{ return m_parallelismPerKPU; }
90 inline bool ParallelismPerKPUHasBeenSet() const { return m_parallelismPerKPUHasBeenSet; }
91 inline void SetParallelismPerKPU(int value) { m_parallelismPerKPUHasBeenSet = true; m_parallelismPerKPU = value; }
92 inline ParallelismConfiguration& WithParallelismPerKPU(int value) { SetParallelismPerKPU(value); return *this;}
94
96
100 inline bool GetAutoScalingEnabled() const{ return m_autoScalingEnabled; }
101 inline bool AutoScalingEnabledHasBeenSet() const { return m_autoScalingEnabledHasBeenSet; }
102 inline void SetAutoScalingEnabled(bool value) { m_autoScalingEnabledHasBeenSet = true; m_autoScalingEnabled = value; }
103 inline ParallelismConfiguration& WithAutoScalingEnabled(bool value) { SetAutoScalingEnabled(value); return *this;}
105 private:
106
107 ConfigurationType m_configurationType;
108 bool m_configurationTypeHasBeenSet = false;
109
110 int m_parallelism;
111 bool m_parallelismHasBeenSet = false;
112
113 int m_parallelismPerKPU;
114 bool m_parallelismPerKPUHasBeenSet = false;
115
116 bool m_autoScalingEnabled;
117 bool m_autoScalingEnabledHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace KinesisAnalyticsV2
122} // namespace Aws
AWS_KINESISANALYTICSV2_API ParallelismConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API ParallelismConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ParallelismConfiguration & WithConfigurationType(const ConfigurationType &value)
ParallelismConfiguration & WithConfigurationType(ConfigurationType &&value)
Aws::Utils::Json::JsonValue JsonValue