Why The 45 Degree Line Of Aggregate Supply

If labor receives a large wage increase, would this mean it affects the aggregate supply or the aggregate demand of the nation or both because an increase in wages could mean an increase in disposable income, leading to more consumption, which then again makes the aggregate demand curve shift to.