7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetCoordinatorDpuSize(
int value) { m_coordinatorDpuSizeHasBeenSet =
true; m_coordinatorDpuSize = value; }
60 inline void SetMaxConcurrentDpus(
int value) { m_maxConcurrentDpusHasBeenSet =
true; m_maxConcurrentDpus = value; }
87 template<
typename AdditionalConfigsT = Aws::Map<Aws::String, Aws::String>>
88 void SetAdditionalConfigs(AdditionalConfigsT&& value) { m_additionalConfigsHasBeenSet =
true; m_additionalConfigs = std::forward<AdditionalConfigsT>(value); }
89 template<
typename AdditionalConfigsT = Aws::Map<Aws::String, Aws::String>>
91 template<
typename AdditionalConfigsKeyT = Aws::String,
typename AdditionalConfigsValueT = Aws::String>
93 m_additionalConfigsHasBeenSet =
true; m_additionalConfigs.emplace(std::forward<AdditionalConfigsKeyT>(key), std::forward<AdditionalConfigsValueT>(value));
return *
this;
104 template<
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
105 void SetSparkProperties(SparkPropertiesT&& value) { m_sparkPropertiesHasBeenSet =
true; m_sparkProperties = std::forward<SparkPropertiesT>(value); }
106 template<
typename SparkPropertiesT = Aws::Map<Aws::String, Aws::String>>
108 template<
typename SparkPropertiesKeyT = Aws::String,
typename SparkPropertiesValueT = Aws::String>
110 m_sparkPropertiesHasBeenSet =
true; m_sparkProperties.emplace(std::forward<SparkPropertiesKeyT>(key), std::forward<SparkPropertiesValueT>(value));
return *
this;
115 int m_coordinatorDpuSize{0};
116 bool m_coordinatorDpuSizeHasBeenSet =
false;
118 int m_maxConcurrentDpus{0};
119 bool m_maxConcurrentDpusHasBeenSet =
false;
121 int m_defaultExecutorDpuSize{0};
122 bool m_defaultExecutorDpuSizeHasBeenSet =
false;
125 bool m_additionalConfigsHasBeenSet =
false;
128 bool m_sparkPropertiesHasBeenSet =
false;
EngineConfiguration & WithMaxConcurrentDpus(int value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalConfigs() const
void SetCoordinatorDpuSize(int value)
bool CoordinatorDpuSizeHasBeenSet() const
bool AdditionalConfigsHasBeenSet() const
bool DefaultExecutorDpuSizeHasBeenSet() const
EngineConfiguration & AddAdditionalConfigs(AdditionalConfigsKeyT &&key, AdditionalConfigsValueT &&value)
EngineConfiguration & WithAdditionalConfigs(AdditionalConfigsT &&value)
void SetMaxConcurrentDpus(int value)
AWS_ATHENA_API EngineConfiguration(Aws::Utils::Json::JsonView jsonValue)
EngineConfiguration & WithDefaultExecutorDpuSize(int value)
void SetAdditionalConfigs(AdditionalConfigsT &&value)
int GetDefaultExecutorDpuSize() const
EngineConfiguration & WithCoordinatorDpuSize(int value)
AWS_ATHENA_API EngineConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API EngineConfiguration()=default
void SetSparkProperties(SparkPropertiesT &&value)
bool MaxConcurrentDpusHasBeenSet() const
EngineConfiguration & AddSparkProperties(SparkPropertiesKeyT &&key, SparkPropertiesValueT &&value)
int GetCoordinatorDpuSize() const
bool SparkPropertiesHasBeenSet() const
EngineConfiguration & WithSparkProperties(SparkPropertiesT &&value)
void SetDefaultExecutorDpuSize(int value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetSparkProperties() const
int GetMaxConcurrentDpus() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue