/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace EMRServerless { namespace Model { /** */ class CreateApplicationRequest : public EMRServerlessRequest { public: AWS_EMRSERVERLESS_API CreateApplicationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateApplication"; } AWS_EMRSERVERLESS_API Aws::String SerializePayload() const override; /** *

The name of the application.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the application.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the application.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the application.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the application.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the application.

*/ inline CreateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the application.

*/ inline CreateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the application.

*/ inline CreateApplicationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon EMR release associated with the application.

*/ inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; } /** *

The Amazon EMR release associated with the application.

*/ inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; } /** *

The Amazon EMR release associated with the application.

*/ inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; } /** *

The Amazon EMR release associated with the application.

*/ inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); } /** *

The Amazon EMR release associated with the application.

*/ inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); } /** *

The Amazon EMR release associated with the application.

*/ inline CreateApplicationRequest& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;} /** *

The Amazon EMR release associated with the application.

*/ inline CreateApplicationRequest& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;} /** *

The Amazon EMR release associated with the application.

*/ inline CreateApplicationRequest& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;} /** *

The type of application you want to start, such as Spark or Hive.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of application you want to start, such as Spark or Hive.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of application you want to start, such as Spark or Hive.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of application you want to start, such as Spark or Hive.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of application you want to start, such as Spark or Hive.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The type of application you want to start, such as Spark or Hive.

*/ inline CreateApplicationRequest& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of application you want to start, such as Spark or Hive.

*/ inline CreateApplicationRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of application you want to start, such as Spark or Hive.

*/ inline CreateApplicationRequest& WithType(const char* value) { SetType(value); return *this;} /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline CreateApplicationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline CreateApplicationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The client idempotency token of the application to create. Its value must be * unique for each request.

*/ inline CreateApplicationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The capacity to initialize when the application is created.

*/ inline const Aws::Map& GetInitialCapacity() const{ return m_initialCapacity; } /** *

The capacity to initialize when the application is created.

*/ inline bool InitialCapacityHasBeenSet() const { return m_initialCapacityHasBeenSet; } /** *

The capacity to initialize when the application is created.

*/ inline void SetInitialCapacity(const Aws::Map& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity = value; } /** *

The capacity to initialize when the application is created.

*/ inline void SetInitialCapacity(Aws::Map&& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity = std::move(value); } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& WithInitialCapacity(const Aws::Map& value) { SetInitialCapacity(value); return *this;} /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& WithInitialCapacity(Aws::Map&& value) { SetInitialCapacity(std::move(value)); return *this;} /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(const Aws::String& key, const InitialCapacityConfig& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(key, value); return *this; } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(Aws::String&& key, const InitialCapacityConfig& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(std::move(key), value); return *this; } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(const Aws::String& key, InitialCapacityConfig&& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(key, std::move(value)); return *this; } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(Aws::String&& key, InitialCapacityConfig&& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(std::move(key), std::move(value)); return *this; } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(const char* key, InitialCapacityConfig&& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(key, std::move(value)); return *this; } /** *

The capacity to initialize when the application is created.

*/ inline CreateApplicationRequest& AddInitialCapacity(const char* key, const InitialCapacityConfig& value) { m_initialCapacityHasBeenSet = true; m_initialCapacity.emplace(key, value); return *this; } /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline const MaximumAllowedResources& GetMaximumCapacity() const{ return m_maximumCapacity; } /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline bool MaximumCapacityHasBeenSet() const { return m_maximumCapacityHasBeenSet; } /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline void SetMaximumCapacity(const MaximumAllowedResources& value) { m_maximumCapacityHasBeenSet = true; m_maximumCapacity = value; } /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline void SetMaximumCapacity(MaximumAllowedResources&& value) { m_maximumCapacityHasBeenSet = true; m_maximumCapacity = std::move(value); } /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline CreateApplicationRequest& WithMaximumCapacity(const MaximumAllowedResources& value) { SetMaximumCapacity(value); return *this;} /** *

The maximum capacity to allocate when the application is created. This is * cumulative across all workers at any given point in time, not just when an * application is created. No new resources will be created once any one of the * defined limits is hit.

*/ inline CreateApplicationRequest& WithMaximumCapacity(MaximumAllowedResources&& value) { SetMaximumCapacity(std::move(value)); return *this;} /** *

The tags assigned to the application.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags assigned to the application.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the application.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the application.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the application.

*/ inline CreateApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The configuration for an application to automatically start on job * submission.

*/ inline const AutoStartConfig& GetAutoStartConfiguration() const{ return m_autoStartConfiguration; } /** *

The configuration for an application to automatically start on job * submission.

*/ inline bool AutoStartConfigurationHasBeenSet() const { return m_autoStartConfigurationHasBeenSet; } /** *

The configuration for an application to automatically start on job * submission.

*/ inline void SetAutoStartConfiguration(const AutoStartConfig& value) { m_autoStartConfigurationHasBeenSet = true; m_autoStartConfiguration = value; } /** *

The configuration for an application to automatically start on job * submission.

*/ inline void SetAutoStartConfiguration(AutoStartConfig&& value) { m_autoStartConfigurationHasBeenSet = true; m_autoStartConfiguration = std::move(value); } /** *

The configuration for an application to automatically start on job * submission.

*/ inline CreateApplicationRequest& WithAutoStartConfiguration(const AutoStartConfig& value) { SetAutoStartConfiguration(value); return *this;} /** *

The configuration for an application to automatically start on job * submission.

*/ inline CreateApplicationRequest& WithAutoStartConfiguration(AutoStartConfig&& value) { SetAutoStartConfiguration(std::move(value)); return *this;} /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline const AutoStopConfig& GetAutoStopConfiguration() const{ return m_autoStopConfiguration; } /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline bool AutoStopConfigurationHasBeenSet() const { return m_autoStopConfigurationHasBeenSet; } /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline void SetAutoStopConfiguration(const AutoStopConfig& value) { m_autoStopConfigurationHasBeenSet = true; m_autoStopConfiguration = value; } /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline void SetAutoStopConfiguration(AutoStopConfig&& value) { m_autoStopConfigurationHasBeenSet = true; m_autoStopConfiguration = std::move(value); } /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline CreateApplicationRequest& WithAutoStopConfiguration(const AutoStopConfig& value) { SetAutoStopConfiguration(value); return *this;} /** *

The configuration for an application to automatically stop after a certain * amount of time being idle.

*/ inline CreateApplicationRequest& WithAutoStopConfiguration(AutoStopConfig&& value) { SetAutoStopConfiguration(std::move(value)); return *this;} /** *

The network configuration for customer VPC connectivity.

*/ inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; } /** *

The network configuration for customer VPC connectivity.

*/ inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; } /** *

The network configuration for customer VPC connectivity.

*/ inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; } /** *

The network configuration for customer VPC connectivity.

*/ inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); } /** *

The network configuration for customer VPC connectivity.

*/ inline CreateApplicationRequest& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;} /** *

The network configuration for customer VPC connectivity.

*/ inline CreateApplicationRequest& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;} /** *

The CPU architecture of an application.

*/ inline const Architecture& GetArchitecture() const{ return m_architecture; } /** *

The CPU architecture of an application.

*/ inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } /** *

The CPU architecture of an application.

*/ inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; } /** *

The CPU architecture of an application.

*/ inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); } /** *

The CPU architecture of an application.

*/ inline CreateApplicationRequest& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;} /** *

The CPU architecture of an application.

*/ inline CreateApplicationRequest& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;} /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline const ImageConfigurationInput& GetImageConfiguration() const{ return m_imageConfiguration; } /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline bool ImageConfigurationHasBeenSet() const { return m_imageConfigurationHasBeenSet; } /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline void SetImageConfiguration(const ImageConfigurationInput& value) { m_imageConfigurationHasBeenSet = true; m_imageConfiguration = value; } /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline void SetImageConfiguration(ImageConfigurationInput&& value) { m_imageConfigurationHasBeenSet = true; m_imageConfiguration = std::move(value); } /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline CreateApplicationRequest& WithImageConfiguration(const ImageConfigurationInput& value) { SetImageConfiguration(value); return *this;} /** *

The image configuration for all worker types. You can either set this * parameter or imageConfiguration for each worker type in * workerTypeSpecifications.

*/ inline CreateApplicationRequest& WithImageConfiguration(ImageConfigurationInput&& value) { SetImageConfiguration(std::move(value)); return *this;} /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline const Aws::Map& GetWorkerTypeSpecifications() const{ return m_workerTypeSpecifications; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline bool WorkerTypeSpecificationsHasBeenSet() const { return m_workerTypeSpecificationsHasBeenSet; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline void SetWorkerTypeSpecifications(const Aws::Map& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications = value; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline void SetWorkerTypeSpecifications(Aws::Map&& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications = std::move(value); } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& WithWorkerTypeSpecifications(const Aws::Map& value) { SetWorkerTypeSpecifications(value); return *this;} /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& WithWorkerTypeSpecifications(Aws::Map&& value) { SetWorkerTypeSpecifications(std::move(value)); return *this;} /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(const Aws::String& key, const WorkerTypeSpecificationInput& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(key, value); return *this; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(Aws::String&& key, const WorkerTypeSpecificationInput& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(std::move(key), value); return *this; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(const Aws::String& key, WorkerTypeSpecificationInput&& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(key, std::move(value)); return *this; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(Aws::String&& key, WorkerTypeSpecificationInput&& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(std::move(key), std::move(value)); return *this; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(const char* key, WorkerTypeSpecificationInput&& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(key, std::move(value)); return *this; } /** *

The key-value pairs that specify worker type to * WorkerTypeSpecificationInput. This parameter must contain all valid * worker types for a Spark or Hive application. Valid worker types include * Driver and Executor for Spark applications and * HiveDriver and TezTask for Hive applications. You can * either set image details in this parameter for each worker type, or in * imageConfiguration for all worker types.

*/ inline CreateApplicationRequest& AddWorkerTypeSpecifications(const char* key, const WorkerTypeSpecificationInput& value) { m_workerTypeSpecificationsHasBeenSet = true; m_workerTypeSpecifications.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_releaseLabel; bool m_releaseLabelHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Map m_initialCapacity; bool m_initialCapacityHasBeenSet = false; MaximumAllowedResources m_maximumCapacity; bool m_maximumCapacityHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; AutoStartConfig m_autoStartConfiguration; bool m_autoStartConfigurationHasBeenSet = false; AutoStopConfig m_autoStopConfiguration; bool m_autoStopConfigurationHasBeenSet = false; NetworkConfiguration m_networkConfiguration; bool m_networkConfigurationHasBeenSet = false; Architecture m_architecture; bool m_architectureHasBeenSet = false; ImageConfigurationInput m_imageConfiguration; bool m_imageConfigurationHasBeenSet = false; Aws::Map m_workerTypeSpecifications; bool m_workerTypeSpecificationsHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws