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

The set of tiering configurations for the pricing rule.

See * Also:

AWS * API Reference

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

The possible Amazon Web Services Free Tier configurations.

*/ inline const FreeTierConfig& GetFreeTier() const{ return m_freeTier; } /** *

The possible Amazon Web Services Free Tier configurations.

*/ inline bool FreeTierHasBeenSet() const { return m_freeTierHasBeenSet; } /** *

The possible Amazon Web Services Free Tier configurations.

*/ inline void SetFreeTier(const FreeTierConfig& value) { m_freeTierHasBeenSet = true; m_freeTier = value; } /** *

The possible Amazon Web Services Free Tier configurations.

*/ inline void SetFreeTier(FreeTierConfig&& value) { m_freeTierHasBeenSet = true; m_freeTier = std::move(value); } /** *

The possible Amazon Web Services Free Tier configurations.

*/ inline Tiering& WithFreeTier(const FreeTierConfig& value) { SetFreeTier(value); return *this;} /** *

The possible Amazon Web Services Free Tier configurations.

*/ inline Tiering& WithFreeTier(FreeTierConfig&& value) { SetFreeTier(std::move(value)); return *this;} private: FreeTierConfig m_freeTier; bool m_freeTierHasBeenSet = false; }; } // namespace Model } // namespace BillingConductor } // namespace Aws