"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DsCostCategory = exports.SplitChargeRule = exports.Parameter = exports.Rule = exports.InheritedValue = exports.RuleRule = exports.And = exports.Or = exports.Not = exports.Tags = exports.CostCategoryBlk = exports.Dimension = void 0;
const core = __importStar(require("@terrascript/core"));
class Dimension extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Dimension.prototype, "key", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "values", void 0);
exports.Dimension = Dimension;
class CostCategoryBlk extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "key", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "values", void 0);
exports.CostCategoryBlk = CostCategoryBlk;
class Tags extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Tags.prototype, "key", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Tags.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Tags.prototype, "values", void 0);
exports.Tags = Tags;
class Not extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Not.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Not.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Not.prototype, "tags", void 0);
exports.Not = Not;
class Or extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Or.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Or.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Or.prototype, "tags", void 0);
exports.Or = Or;
class And extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], And.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], And.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], And.prototype, "tags", void 0);
exports.And = And;
class RuleRule extends core.Schema {
}
__decorate([
    core.attr(And, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "and", void 0);
__decorate([
    core.attr(CostCategoryBlk, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "dimension", void 0);
__decorate([
    core.attr(Not, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "not", void 0);
__decorate([
    core.attr(Or, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "or", void 0);
__decorate([
    core.attr(Tags, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "tags", void 0);
exports.RuleRule = RuleRule;
class InheritedValue extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InheritedValue.prototype, "dimensionKey", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], InheritedValue.prototype, "dimensionName", void 0);
exports.InheritedValue = InheritedValue;
class Rule extends core.Schema {
}
__decorate([
    core.attr(InheritedValue, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "inheritedValue", void 0);
__decorate([
    core.attr(RuleRule, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "rule", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Rule.prototype, "type", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Rule.prototype, "value", void 0);
exports.Rule = Rule;
class Parameter extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Parameter.prototype, "type", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Parameter.prototype, "values", void 0);
exports.Parameter = Parameter;
class SplitChargeRule extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "method", void 0);
__decorate([
    core.attr(Parameter, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "parameter", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "source", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "targets", void 0);
exports.SplitChargeRule = SplitChargeRule;
class DsCostCategory extends core.Data {
    constructor(name, args) {
        super(name, "aws_ce_cost_category", args);
    }
    getNamespace() {
        return "aws_ce";
    }
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "costCategoryArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "effectiveEnd", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "effectiveStart", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "name", void 0);
__decorate([
    core.attr(Rule, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "rule", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "ruleVersion", void 0);
__decorate([
    core.attr(SplitChargeRule, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "splitChargeRule", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], DsCostCategory.prototype, "tags", void 0);
exports.DsCostCategory = DsCostCategory;
//# sourceMappingURL=ds_cost_category.js.map