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

The job driver for job type.

See Also:

AWS * API Reference

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The SQL file to be executed.

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

The Spark parameters to be included in the Spark SQL command.

*/ inline const Aws::String& GetSparkSqlParameters() const{ return m_sparkSqlParameters; } /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline bool SparkSqlParametersHasBeenSet() const { return m_sparkSqlParametersHasBeenSet; } /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline void SetSparkSqlParameters(const Aws::String& value) { m_sparkSqlParametersHasBeenSet = true; m_sparkSqlParameters = value; } /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline void SetSparkSqlParameters(Aws::String&& value) { m_sparkSqlParametersHasBeenSet = true; m_sparkSqlParameters = std::move(value); } /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline void SetSparkSqlParameters(const char* value) { m_sparkSqlParametersHasBeenSet = true; m_sparkSqlParameters.assign(value); } /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline SparkSqlJobDriver& WithSparkSqlParameters(const Aws::String& value) { SetSparkSqlParameters(value); return *this;} /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline SparkSqlJobDriver& WithSparkSqlParameters(Aws::String&& value) { SetSparkSqlParameters(std::move(value)); return *this;} /** *

The Spark parameters to be included in the Spark SQL command.

*/ inline SparkSqlJobDriver& WithSparkSqlParameters(const char* value) { SetSparkSqlParameters(value); return *this;} private: Aws::String m_entryPoint; bool m_entryPointHasBeenSet = false; Aws::String m_sparkSqlParameters; bool m_sparkSqlParametersHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws