If the vaccine you received is authorized or approved by either the World Health Organization (WHO) or the US Food & Drug Administration, yes.  If you aren’t sure, please check the following resources:
COVID-19 Vaccines Advice | WHO
COVID-19 Vaccines | FDA