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

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

See Also:

AWS * API Reference

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

Enables the application to automatically start on job submission. Defaults to * true.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Enables the application to automatically start on job submission. Defaults to * true.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Enables the application to automatically start on job submission. Defaults to * true.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Enables the application to automatically start on job submission. Defaults to * true.

*/ inline AutoStartConfig& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws