/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The default capacity provider strategy for the cluster. The default capacity
* provider strategy is used when services or tasks are run without a specified
* launch type or capacity provider strategy.See Also:
AWS
* API Reference
The minimum number of tasks to run on the specified capacity provider.
*/ inline int GetBase() const{ return m_base; } /** *The minimum number of tasks to run on the specified capacity provider.
*/ inline bool BaseHasBeenSet() const { return m_baseHasBeenSet; } /** *The minimum number of tasks to run on the specified capacity provider.
*/ inline void SetBase(int value) { m_baseHasBeenSet = true; m_base = value; } /** *The minimum number of tasks to run on the specified capacity provider.
*/ inline AwsEcsClusterDefaultCapacityProviderStrategyDetails& WithBase(int value) { SetBase(value); return *this;} /** *The name of the capacity provider.
*/ inline const Aws::String& GetCapacityProvider() const{ return m_capacityProvider; } /** *The name of the capacity provider.
*/ inline bool CapacityProviderHasBeenSet() const { return m_capacityProviderHasBeenSet; } /** *The name of the capacity provider.
*/ inline void SetCapacityProvider(const Aws::String& value) { m_capacityProviderHasBeenSet = true; m_capacityProvider = value; } /** *The name of the capacity provider.
*/ inline void SetCapacityProvider(Aws::String&& value) { m_capacityProviderHasBeenSet = true; m_capacityProvider = std::move(value); } /** *The name of the capacity provider.
*/ inline void SetCapacityProvider(const char* value) { m_capacityProviderHasBeenSet = true; m_capacityProvider.assign(value); } /** *The name of the capacity provider.
*/ inline AwsEcsClusterDefaultCapacityProviderStrategyDetails& WithCapacityProvider(const Aws::String& value) { SetCapacityProvider(value); return *this;} /** *The name of the capacity provider.
*/ inline AwsEcsClusterDefaultCapacityProviderStrategyDetails& WithCapacityProvider(Aws::String&& value) { SetCapacityProvider(std::move(value)); return *this;} /** *The name of the capacity provider.
*/ inline AwsEcsClusterDefaultCapacityProviderStrategyDetails& WithCapacityProvider(const char* value) { SetCapacityProvider(value); return *this;} /** *The relative percentage of the total number of tasks launched that should use * the capacity provider.
*/ inline int GetWeight() const{ return m_weight; } /** *The relative percentage of the total number of tasks launched that should use * the capacity provider.
*/ inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; } /** *The relative percentage of the total number of tasks launched that should use * the capacity provider.
*/ inline void SetWeight(int value) { m_weightHasBeenSet = true; m_weight = value; } /** *The relative percentage of the total number of tasks launched that should use * the capacity provider.
*/ inline AwsEcsClusterDefaultCapacityProviderStrategyDetails& WithWeight(int value) { SetWeight(value); return *this;} private: int m_base; bool m_baseHasBeenSet = false; Aws::String m_capacityProvider; bool m_capacityProviderHasBeenSet = false; int m_weight; bool m_weightHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws