/** * 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 new charge details that are associated with a flat * custom line item.

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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