/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace BillingConductor { namespace Model { /** *

A representation of the charge details that are associated with a flat custom * line item.

See Also:

AWS * API Reference

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

The custom line item's fixed charge value in USD.

*/ inline double GetChargeValue() const{ return m_chargeValue; } /** *

The custom line item's fixed charge value in USD.

*/ inline bool ChargeValueHasBeenSet() const { return m_chargeValueHasBeenSet; } /** *

The custom line item's fixed charge value in USD.

*/ inline void SetChargeValue(double value) { m_chargeValueHasBeenSet = true; m_chargeValue = value; } /** *

The custom line item's fixed charge value in USD.

*/ inline CustomLineItemFlatChargeDetails& WithChargeValue(double value) { SetChargeValue(value); return *this;} private: double m_chargeValue; bool m_chargeValueHasBeenSet = false; }; } // namespace Model } // namespace BillingConductor } // namespace Aws