// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsConnectHoursOfOperationConfigEndTime extends cdktf.ComplexComputedList {
    // hours - computed: true, optional: false, required: false
    get hours() {
        return this.getNumberAttribute('hours');
    }
    // minutes - computed: true, optional: false, required: false
    get minutes() {
        return this.getNumberAttribute('minutes');
    }
}
export class DataAwsConnectHoursOfOperationConfigStartTime extends cdktf.ComplexComputedList {
    // hours - computed: true, optional: false, required: false
    get hours() {
        return this.getNumberAttribute('hours');
    }
    // minutes - computed: true, optional: false, required: false
    get minutes() {
        return this.getNumberAttribute('minutes');
    }
}
export class DataAwsConnectHoursOfOperationConfigA extends cdktf.ComplexComputedList {
    // day - computed: true, optional: false, required: false
    get day() {
        return this.getStringAttribute('day');
    }
    // end_time - computed: true, optional: false, required: false
    get endTime() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('end_time');
    }
    // start_time - computed: true, optional: false, required: false
    get startTime() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('start_time');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/connect_hours_of_operation aws_connect_hours_of_operation}
*/
export class DataAwsConnectHoursOfOperation extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_connect_hours_of_operation";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/connect_hours_of_operation aws_connect_hours_of_operation} Data Source
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options DataAwsConnectHoursOfOperationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_connect_hours_of_operation',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._hoursOfOperationId = config.hoursOfOperationId;
        this._instanceId = config.instanceId;
        this._name = config.name;
        this._tags = config.tags;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // config - computed: true, optional: false, required: false
    config(index) {
        return new DataAwsConnectHoursOfOperationConfigA(this, 'config', index, true);
    }
    // description - computed: true, optional: false, required: false
    get description() {
        return this.getStringAttribute('description');
    }
    // hours_of_operation_arn - computed: true, optional: false, required: false
    get hoursOfOperationArn() {
        return this.getStringAttribute('hours_of_operation_arn');
    }
    // hours_of_operation_id - computed: true, optional: true, required: false
    _hoursOfOperationId;
    get hoursOfOperationId() {
        return this.getStringAttribute('hours_of_operation_id');
    }
    set hoursOfOperationId(value) {
        this._hoursOfOperationId = value;
    }
    resetHoursOfOperationId() {
        this._hoursOfOperationId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get hoursOfOperationIdInput() {
        return this._hoursOfOperationId;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // instance_id - computed: false, optional: false, required: true
    _instanceId;
    get instanceId() {
        return this.getStringAttribute('instance_id');
    }
    set instanceId(value) {
        this._instanceId = value;
    }
    // Temporarily expose input value. Use with caution.
    get instanceIdInput() {
        return this._instanceId;
    }
    // name - computed: true, optional: true, required: false
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    resetName() {
        this._name = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // tags - computed: true, optional: true, required: false
    _tags;
    get tags() {
        return this.getStringMapAttribute('tags');
    }
    set tags(value) {
        this._tags = value;
    }
    resetTags() {
        this._tags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsInput() {
        return this._tags;
    }
    // time_zone - computed: true, optional: false, required: false
    get timeZone() {
        return this.getStringAttribute('time_zone');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            hours_of_operation_id: cdktf.stringToTerraform(this._hoursOfOperationId),
            instance_id: cdktf.stringToTerraform(this._instanceId),
            name: cdktf.stringToTerraform(this._name),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
        };
    }
}
//# sourceMappingURL=data-aws-connect-hours-of-operation.js.map