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

The execute command configuration for the cluster.

See Also:

* AWS * API Reference

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

The details of the execute command configuration.

*/ inline const ExecuteCommandConfiguration& GetExecuteCommandConfiguration() const{ return m_executeCommandConfiguration; } /** *

The details of the execute command configuration.

*/ inline bool ExecuteCommandConfigurationHasBeenSet() const { return m_executeCommandConfigurationHasBeenSet; } /** *

The details of the execute command configuration.

*/ inline void SetExecuteCommandConfiguration(const ExecuteCommandConfiguration& value) { m_executeCommandConfigurationHasBeenSet = true; m_executeCommandConfiguration = value; } /** *

The details of the execute command configuration.

*/ inline void SetExecuteCommandConfiguration(ExecuteCommandConfiguration&& value) { m_executeCommandConfigurationHasBeenSet = true; m_executeCommandConfiguration = std::move(value); } /** *

The details of the execute command configuration.

*/ inline ClusterConfiguration& WithExecuteCommandConfiguration(const ExecuteCommandConfiguration& value) { SetExecuteCommandConfiguration(value); return *this;} /** *

The details of the execute command configuration.

*/ inline ClusterConfiguration& WithExecuteCommandConfiguration(ExecuteCommandConfiguration&& value) { SetExecuteCommandConfiguration(std::move(value)); return *this;} private: ExecuteCommandConfiguration m_executeCommandConfiguration; bool m_executeCommandConfigurationHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws