# Copyright (c) 2012-2025, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags


class Dimensions(AWSProperty):
    """
    `Dimensions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billing-billingview-dimensions.html>`__
    """

    props: PropsDictType = {
        "Key": (str, False),
        "Values": ([str], False),
    }


class TimeRange(AWSProperty):
    """
    `TimeRange <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billing-billingview-timerange.html>`__
    """

    props: PropsDictType = {
        "BeginDateInclusive": (str, False),
        "EndDateInclusive": (str, False),
    }


class DataFilterExpression(AWSProperty):
    """
    `DataFilterExpression <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billing-billingview-datafilterexpression.html>`__
    """

    props: PropsDictType = {
        "Dimensions": (Dimensions, False),
        "Tags": (Tags, False),
        "TimeRange": (TimeRange, False),
    }


class BillingView(AWSObject):
    """
    `BillingView <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billing-billingview.html>`__
    """

    resource_type = "AWS::Billing::BillingView"

    props: PropsDictType = {
        "DataFilterExpression": (DataFilterExpression, False),
        "Description": (str, False),
        "Name": (str, True),
        "SourceViews": ([str], True),
        "Tags": (Tags, False),
    }


class Tags(AWSProperty):
    """
    `Tags <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billing-billingview-tags.html>`__
    """

    props: PropsDictType = {
        "Key": (str, False),
        "Values": ([str], False),
    }
