/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace EMRServerless { namespace Model { /** *

The configurations for the Spark submit job driver.

See Also:

* AWS * API Reference

*/ class SparkSubmit { public: AWS_EMRSERVERLESS_API SparkSubmit(); AWS_EMRSERVERLESS_API SparkSubmit(Aws::Utils::Json::JsonView jsonValue); AWS_EMRSERVERLESS_API SparkSubmit& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The entry point for the Spark submit job run.

*/ inline const Aws::String& GetEntryPoint() const{ return m_entryPoint; } /** *

The entry point for the Spark submit job run.

*/ inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; } /** *

The entry point for the Spark submit job run.

*/ inline void SetEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; } /** *

The entry point for the Spark submit job run.

*/ inline void SetEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); } /** *

The entry point for the Spark submit job run.

*/ inline void SetEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.assign(value); } /** *

The entry point for the Spark submit job run.

*/ inline SparkSubmit& WithEntryPoint(const Aws::String& value) { SetEntryPoint(value); return *this;} /** *

The entry point for the Spark submit job run.

*/ inline SparkSubmit& WithEntryPoint(Aws::String&& value) { SetEntryPoint(std::move(value)); return *this;} /** *

The entry point for the Spark submit job run.

*/ inline SparkSubmit& WithEntryPoint(const char* value) { SetEntryPoint(value); return *this;} /** *

The arguments for the Spark submit job run.

*/ inline const Aws::Vector& GetEntryPointArguments() const{ return m_entryPointArguments; } /** *

The arguments for the Spark submit job run.

*/ inline bool EntryPointArgumentsHasBeenSet() const { return m_entryPointArgumentsHasBeenSet; } /** *

The arguments for the Spark submit job run.

*/ inline void SetEntryPointArguments(const Aws::Vector& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments = value; } /** *

The arguments for the Spark submit job run.

*/ inline void SetEntryPointArguments(Aws::Vector&& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments = std::move(value); } /** *

The arguments for the Spark submit job run.

*/ inline SparkSubmit& WithEntryPointArguments(const Aws::Vector& value) { SetEntryPointArguments(value); return *this;} /** *

The arguments for the Spark submit job run.

*/ inline SparkSubmit& WithEntryPointArguments(Aws::Vector&& value) { SetEntryPointArguments(std::move(value)); return *this;} /** *

The arguments for the Spark submit job run.

*/ inline SparkSubmit& AddEntryPointArguments(const Aws::String& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(value); return *this; } /** *

The arguments for the Spark submit job run.

*/ inline SparkSubmit& AddEntryPointArguments(Aws::String&& value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(std::move(value)); return *this; } /** *

The arguments for the Spark submit job run.

*/ inline SparkSubmit& AddEntryPointArguments(const char* value) { m_entryPointArgumentsHasBeenSet = true; m_entryPointArguments.push_back(value); return *this; } /** *

The parameters for the Spark submit job run.

*/ inline const Aws::String& GetSparkSubmitParameters() const{ return m_sparkSubmitParameters; } /** *

The parameters for the Spark submit job run.

*/ inline bool SparkSubmitParametersHasBeenSet() const { return m_sparkSubmitParametersHasBeenSet; } /** *

The parameters for the Spark submit job run.

*/ inline void SetSparkSubmitParameters(const Aws::String& value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters = value; } /** *

The parameters for the Spark submit job run.

*/ inline void SetSparkSubmitParameters(Aws::String&& value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters = std::move(value); } /** *

The parameters for the Spark submit job run.

*/ inline void SetSparkSubmitParameters(const char* value) { m_sparkSubmitParametersHasBeenSet = true; m_sparkSubmitParameters.assign(value); } /** *

The parameters for the Spark submit job run.

*/ inline SparkSubmit& WithSparkSubmitParameters(const Aws::String& value) { SetSparkSubmitParameters(value); return *this;} /** *

The parameters for the Spark submit job run.

*/ inline SparkSubmit& WithSparkSubmitParameters(Aws::String&& value) { SetSparkSubmitParameters(std::move(value)); return *this;} /** *

The parameters for the Spark submit job run.

*/ inline SparkSubmit& WithSparkSubmitParameters(const char* value) { SetSparkSubmitParameters(value); return *this;} private: Aws::String m_entryPoint; bool m_entryPointHasBeenSet = false; Aws::Vector m_entryPointArguments; bool m_entryPointArgumentsHasBeenSet = false; Aws::String m_sparkSubmitParameters; bool m_sparkSubmitParametersHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws