/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The charge details of a custom line item. It should contain only one of
* Flat
or Percentage
.See Also:
AWS
* API Reference
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemFlatChargeDetails
that describes the charge
* details of a flat custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
A CustomLineItemPercentageChargeDetails
that describes the
* charge details of a percentage custom line item.
The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline const CustomLineItemType& GetType() const{ return m_type; } /** *The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline void SetType(const CustomLineItemType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline void SetType(CustomLineItemType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline CustomLineItemChargeDetails& WithType(const CustomLineItemType& value) { SetType(value); return *this;} /** *The type of the custom line item that indicates whether the charge is a fee * or credit.
*/ inline CustomLineItemChargeDetails& WithType(CustomLineItemType&& value) { SetType(std::move(value)); return *this;} private: CustomLineItemFlatChargeDetails m_flat; bool m_flatHasBeenSet = false; CustomLineItemPercentageChargeDetails m_percentage; bool m_percentageHasBeenSet = false; CustomLineItemType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace BillingConductor } // namespace Aws