/** * 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 EMR { namespace Model { /** *

Reports the configuration of a bootstrap action in a cluster (job * flow).

See Also:

AWS * API Reference

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

A description of the bootstrap action.

*/ inline const BootstrapActionConfig& GetBootstrapActionConfig() const{ return m_bootstrapActionConfig; } /** *

A description of the bootstrap action.

*/ inline bool BootstrapActionConfigHasBeenSet() const { return m_bootstrapActionConfigHasBeenSet; } /** *

A description of the bootstrap action.

*/ inline void SetBootstrapActionConfig(const BootstrapActionConfig& value) { m_bootstrapActionConfigHasBeenSet = true; m_bootstrapActionConfig = value; } /** *

A description of the bootstrap action.

*/ inline void SetBootstrapActionConfig(BootstrapActionConfig&& value) { m_bootstrapActionConfigHasBeenSet = true; m_bootstrapActionConfig = std::move(value); } /** *

A description of the bootstrap action.

*/ inline BootstrapActionDetail& WithBootstrapActionConfig(const BootstrapActionConfig& value) { SetBootstrapActionConfig(value); return *this;} /** *

A description of the bootstrap action.

*/ inline BootstrapActionDetail& WithBootstrapActionConfig(BootstrapActionConfig&& value) { SetBootstrapActionConfig(std::move(value)); return *this;} private: BootstrapActionConfig m_bootstrapActionConfig; bool m_bootstrapActionConfigHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws