/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The type of adjustment the automatic scaling activity makes when triggered,
* and the periodicity of the adjustment.See Also:
AWS
* API Reference
Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline const MarketType& GetMarket() const{ return m_market; } /** *Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline bool MarketHasBeenSet() const { return m_marketHasBeenSet; } /** *Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline void SetMarket(const MarketType& value) { m_marketHasBeenSet = true; m_market = value; } /** *Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline void SetMarket(MarketType&& value) { m_marketHasBeenSet = true; m_market = std::move(value); } /** *Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline ScalingAction& WithMarket(const MarketType& value) { SetMarket(value); return *this;} /** *Not available for instance groups. Instance groups use the market type * specified for the group.
*/ inline ScalingAction& WithMarket(MarketType&& value) { SetMarket(std::move(value)); return *this;} /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline const SimpleScalingPolicyConfiguration& GetSimpleScalingPolicyConfiguration() const{ return m_simpleScalingPolicyConfiguration; } /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline bool SimpleScalingPolicyConfigurationHasBeenSet() const { return m_simpleScalingPolicyConfigurationHasBeenSet; } /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline void SetSimpleScalingPolicyConfiguration(const SimpleScalingPolicyConfiguration& value) { m_simpleScalingPolicyConfigurationHasBeenSet = true; m_simpleScalingPolicyConfiguration = value; } /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline void SetSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration&& value) { m_simpleScalingPolicyConfigurationHasBeenSet = true; m_simpleScalingPolicyConfiguration = std::move(value); } /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline ScalingAction& WithSimpleScalingPolicyConfiguration(const SimpleScalingPolicyConfiguration& value) { SetSimpleScalingPolicyConfiguration(value); return *this;} /** *The type of adjustment the automatic scaling activity makes when triggered, * and the periodicity of the adjustment.
*/ inline ScalingAction& WithSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration&& value) { SetSimpleScalingPolicyConfiguration(std::move(value)); return *this;} private: MarketType m_market; bool m_marketHasBeenSet = false; SimpleScalingPolicyConfiguration m_simpleScalingPolicyConfiguration; bool m_simpleScalingPolicyConfigurationHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws