/** * 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 preferences and settings that will be used to compute the Amazon Web * Services charges for a billing group.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline const Aws::String& GetPricingPlanArn() const{ return m_pricingPlanArn; } /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline bool PricingPlanArnHasBeenSet() const { return m_pricingPlanArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline void SetPricingPlanArn(const Aws::String& value) { m_pricingPlanArnHasBeenSet = true; m_pricingPlanArn = value; } /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline void SetPricingPlanArn(Aws::String&& value) { m_pricingPlanArnHasBeenSet = true; m_pricingPlanArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline void SetPricingPlanArn(const char* value) { m_pricingPlanArnHasBeenSet = true; m_pricingPlanArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline ComputationPreference& WithPricingPlanArn(const Aws::String& value) { SetPricingPlanArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline ComputationPreference& WithPricingPlanArn(Aws::String&& value) { SetPricingPlanArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the pricing plan that's used to compute * the Amazon Web Services charges for a billing group.

*/ inline ComputationPreference& WithPricingPlanArn(const char* value) { SetPricingPlanArn(value); return *this;} private: Aws::String m_pricingPlanArn; bool m_pricingPlanArnHasBeenSet = false; }; } // namespace Model } // namespace BillingConductor } // namespace Aws