"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.DsTags = exports.Filter = exports.Or = exports.Not = exports.And = exports.Dimension = exports.CostCategory = exports.TagsBlk = exports.TimePeriod = exports.SortBy = void 0;
const core = __importStar(require("@terrascript/core"));
class SortBy extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SortBy.prototype, "key", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SortBy.prototype, "sortOrder", void 0);
exports.SortBy = SortBy;
class TimePeriod extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TimePeriod.prototype, "end", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TimePeriod.prototype, "start", void 0);
exports.TimePeriod = TimePeriod;
class TagsBlk extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TagsBlk.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], TagsBlk.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], TagsBlk.prototype, "values", void 0);
exports.TagsBlk = TagsBlk;
class CostCategory extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CostCategory.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "values", void 0);
exports.CostCategory = CostCategory;
class Dimension extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Dimension.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "values", void 0);
exports.Dimension = Dimension;
class And extends core.Schema {
}
__decorate([
    core.attr(CostCategory),
    __metadata("design:type", CostCategory)
], And.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], And.prototype, "dimension", void 0);
__decorate([
    core.attr(TagsBlk),
    __metadata("design:type", TagsBlk)
], And.prototype, "tags", void 0);
exports.And = And;
class Not extends core.Schema {
}
__decorate([
    core.attr(CostCategory),
    __metadata("design:type", CostCategory)
], Not.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], Not.prototype, "dimension", void 0);
__decorate([
    core.attr(TagsBlk),
    __metadata("design:type", TagsBlk)
], Not.prototype, "tags", void 0);
exports.Not = Not;
class Or extends core.Schema {
}
__decorate([
    core.attr(CostCategory),
    __metadata("design:type", CostCategory)
], Or.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], Or.prototype, "dimension", void 0);
__decorate([
    core.attr(TagsBlk),
    __metadata("design:type", TagsBlk)
], Or.prototype, "tags", void 0);
exports.Or = Or;
class Filter extends core.Schema {
}
__decorate([
    core.attr(And, { kind: "array" }),
    __metadata("design:type", Object)
], Filter.prototype, "and", void 0);
__decorate([
    core.attr(CostCategory),
    __metadata("design:type", CostCategory)
], Filter.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], Filter.prototype, "dimension", void 0);
__decorate([
    core.attr(Not),
    __metadata("design:type", Not)
], Filter.prototype, "not", void 0);
__decorate([
    core.attr(Or, { kind: "array" }),
    __metadata("design:type", Object)
], Filter.prototype, "or", void 0);
__decorate([
    core.attr(TagsBlk),
    __metadata("design:type", TagsBlk)
], Filter.prototype, "tags", void 0);
exports.Filter = Filter;
class DsTags extends core.Data {
    constructor(name, args) {
        super(name, "aws_ce_tags", args);
    }
    getNamespace() {
        return "aws_ce";
    }
}
__decorate([
    core.attr(Filter),
    __metadata("design:type", Filter)
], DsTags.prototype, "filter", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsTags.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTags.prototype, "searchString", void 0);
__decorate([
    core.attr(SortBy, { kind: "array" }),
    __metadata("design:type", Object)
], DsTags.prototype, "sortBy", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTags.prototype, "tagKey", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsTags.prototype, "tags", void 0);
__decorate([
    core.attr(TimePeriod),
    __metadata("design:type", TimePeriod)
], DsTags.prototype, "timePeriod", void 0);
exports.DsTags = DsTags;
//# sourceMappingURL=ds_tags.js.map